Showing posts with label mail. Show all posts
Showing posts with label mail. Show all posts

Tuesday, March 27, 2012

MDAEMON 554 Message is not RFC compliant; missing "Date" header

Here you can find the solution to this error in MDaemon mail server. It's a post from Jay Tolbert at lists.altn.com:
Go to Setup -> Default Domain & Servers, Servers, uncheck ...refuses
messages which are not RFC compliant. That will allow MDaemon to accept
the malformed messages.
To be RFC compliant a message requires a Date header, which you will get
if missing with the other switch you checked, and either a single From
or Sender header (see help for full requirements). If you want to make
sure messages have a From header, you can do it with a content filter
rule. Go to Security -> Content Filter, New Rule. Name it something
like 'Add missing From header'. Check 'If the FROM HEADER contains' on
the left. Click on 'contains specific strings' at the bottom, click on
'contains', change 'contains' to 'Does Not Exist', click OK, click OK.
On the right click 'ADD an extra HEADER 1 to message'. At the bottom
click on 'specify information'. Put in 'From' as the header name and
$Header:X-Envelope-From$ as the header value. Click OK. Click OK to
save the rule. The X-Envelope-From header is the from address given
during the SMTP transaction. Generally, it will match the From header
inside the message though there are several situations, like list
messages, where it may be different.

Monday, December 26, 2011

Check if your mail server IP is blacklisted


If your mail server is blacklisted it not be able to send mails. There are several web pages that allows you to check this from one single click:
http://www.blacklistalert.org/
http://www.anonmails.de/blacklist.php?language=en
image

Monday, April 4, 2011

Pasar correos desde OE en un XP a MS Outlook en un W7

Cuando intentas importar los antiguos correos de un XP que usaba Outlook Express en un equipo nuevo con Windows 7 y MS Outlook 2007 o 2010, tienes un problema porque MS Outlook sólo te importa correos desde Windows Mail, pero no te deja seleccionar un directorio de almacenamiento en el que tengas los antiguos correos de Outlook Express.

Por eso tienes que importar primero los correos a Windows Mail y luego importarlos desde MS Outlook.

Pero además Windows Mail ya no funciona en Windows 7 (en windows Vista sí que lo podías ejecutar). Para solucionar éste problema te puedes descargar de ésta página http://www.juntosblog.info/2010/12/13/instalar-windows-mail-el-susesor-de-outlook-express-en-windows-7/ un programa para poder activar Windows Mail en Windows 7, hay 2 versiones diferentes, una para x86 y otra para 64bit

La libreta de direcciones también debes pasarla primero a Windows Mail, usando el programa:
64bit: C:\Program Files\Windows Mail\Wabmig.exe
x86: C:\Program Files (x86)\Windows Mail\Wabmig.exe

Recuerda que primero debes importar tanto la libreta de direcciones como los correos a Windows Mail y luego importar desde MS Outlook.

Wednesday, January 19, 2011

Sending Mails from command line in DOS

Here you cand find a free tool for sending mails from a DOS command line: http://www.smtpinfo.com/index.php

SMTP Mailer
This product makes it extremely simple to send an email from a command line. You can specify the sender and multiple recipients including CC and BCC. It also supports multiple attachemnts and server authentication. Some options only work on the purchased edition (not free).

Tuesday, December 22, 2009

Compactar correos en Mac OS X

He encontrado este artículo de la universidad de Indiana: http://kb.iu.edu/data/ajnk.html


In Mac OS X, how do I get the Mail application to remove messages I delete?
Mac OS X Mail has two methods of handling deleted messages: it can either mark them and hide them in the message index, or it can move them to a designated deleted items folder. By default, Mail uses the latter method, but it doesn't work correctly unless you have a folder called Deleted Items. To correctly configure this setting, see the instructions below:

Hiding deleted messages within the same mailbox
To configure OS X Mail to hide deleted messages within the same mailbox, follow the appropriate steps below:

OS X 10.2.x and later
1.From the Mail menu, select Preferences... .


2.In the Mail preferences window, click Accounts.


3.Select the account you wish to modify. In OS X 10.2.x, then click Edit.


4.Click the Mailbox Behaviors or Special Mailboxes tab, and uncheck the box next to Move deleted messages to the Trash mailbox.
OS X 10.1.x and earlier
1.From the Mail menu, select Preferences... .


2.In the Mail preferences window, click Viewing.


3.Uncheck the checkbox next to Move deleted mail to a folder named: .
Once you have made these changes, when you delete a message, Mail assigns a flag that removes it from the message index. It's still there, just not visible. If you press Command-l (the letter l), Mail will show all the messages you have deleted since the last time you compacted your mailbox. To hide the deleted messages again, press Command-l .

Removing deleted messages
To completely remove those messages you have deleted, press Command-k or, from the Mailbox menu, select Erase Deleted Messages (10.2.x and later) or Compact Mailbox (10.1.x and earlier). You can configure Mail to automatically compact your IMAP mailboxes when you exit the program by making the following configuration change:

OS X 10.2.x and later
1.From the Mail menu, select Preferences... .


2.In the Mail preferences window, select Accounts.


3.Select the account you want to modify. In 10.2.x, then click Edit.
Note: If you have multiple accounts, you will need to make these changes for each one.

4.Click the Advanced tab, and check the box next to Compact mailboxes automatically or Compact messages automatically.


5.In 10.3 and later, close the Mail preferences window, and when prompted, click OK. In 10.2.x, click OK, then close the Mail preferences window.
OS X 10.1.x
1.From the Mail menu, select Preferences... .


2.In the Mail Preferences window, click Accounts.


3.Under "Description", click the account you want to modify, and then click Edit.

Note: If you have multiple accounts, you will need to make these changes for each one.


4.In the sheet that appears, click the Account Options tab.


5.Check the checkbox next to Compact mailboxes when closing.


6.Click OK, then close the Mail Preferences window.
Moving deleted messages to a folder
To configure OS X Mail to move deleted messages to a folder, follow the appropriate steps below:

OS X 10.2 and later
1.From the Mail menu, select Preferences... .


2.In the preferences window, click Accounts.


3.Click the name of the account for which you want to set a deleted messages folder. In 10.2.x, then click Edit.


4.Click the Mailbox Behaviors or Special Mailboxes tab, and in the Trash section, make sure that Move deleted messages to the Trash mailbox and Store deleted messages on the server are checked.


5.In the pop-up menu underneath "Permanently erase deleted messages when:", select how often Mail will empty your deleted mail folder.


6.In 10.3 and later, close the preferences window and click Save if prompted. In 10.2.x, click OK, then close the preferences window.


7.Click the folder you want to use as a deleted messages folder. From the Mailbox menu, select Use This Mailbox For or Use Selected Mailbox For and then choose Trash.
OS X 10.1.x
1.From the Mail menu, select Preferences... .


2.In the Mail Preferences window, click Viewing.


3.Check the checkbox next to Move deleted mail to a folder named: .


4.In the pop-up menu to the right of "Move deleted mail to a folder named:", select the name of the folder to which you want Mail to move deleted messages.


5.In the pop-up menu underneath "Move deleted mail to a folder named:", select how often Mail will empty your deleted mail folder.


6.Close the Mail Preferences window.
If you want to manually empty your deleted mail folder, from the Mailbox menu, select Empty Trash, or press Command-k .

This is document ajnk in domain all.
Last modified on November 24, 2009.

Wednesday, June 24, 2009

Cómo enviar correos desde SCO Unixware

En teoría habría que configurarlo desde scoadmin mail, pero en la versión 7.1.4 con maintenace pack 4 la versión de sendmail no funciona desde scoadmin y hay que ejecutar a mano el comando /etc/mail/manage_sendmail

La configuración que tenemos que obtener es la siguiente:

Sendmail configuration information...
Machine name: hostname.domain.local

DOMAIN name: domain.local
UUCP connections: NOT SET
Alternate names: hostname hostname.domain.local
Is there a UUCP gateway on the net? n
Is there a smart mailhost on the net? n
Masquerade as a different host? newdomain.com
Use NIS aliases with sendmail? NOT SET

Lo que nos generará el fichero /etc/mail/cf/cf/sco.uw714.mc con el siguiente contenido:

divert(-1)
#
# This is a generic configuration file for SCO OpenServer 6.
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#
divert(0)dnl
VERSIONID(`@(#)opensrc:src/sendmail/patches/cf/cf/sco.uw714.mc /main/uw714mp/2')dnl
OSTYPE(sco.uw714)dnl
DOMAIN(generic)dnl
define(`confDONT_BLAME_SENDMAIL',`groupwritabledirpathsafe,linkedaliasfileinwritabledir')dnl
FEATURE(`access_db',`hash -T -o /etc/mail/access.db')dnl
FEATURE(`use_cw_file')dnl
define(`confDOMAIN_NAME',`domain.local')dnl
define(`LOCAL_NAME',`hostname.domain.local')dnl
FEATURE(`masquerade_entire_domain')dnl
MASQUERADE_DOMAIN(`hostname.domain.local')dnl
FEATURE(`masquerade_envelope')dnl
MASQUERADE_AS(`newdomain.com')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl


Después de generar el fichero /etc/mail/sendmail.cf hay que editarlo y comentar la línea en la que pone C{E}root y dejarla así:

#C{E}root

Además hay que reinicar el servicio de sendmail:

/etc/init.d/sendmail stop/etc/init.d/sendmail start
Y para mandar un correo igual que con Openserver:

mail -s "Asunto" usuario@dominio.com

Donde el fichero aparece en el cuerpo del mensaje.


Thursday, May 7, 2009

Cómo enviar correos desde SCO Openserver

SCO Openserver utiliza mmdf para gestionar el sistema de correo.

En primer lugar hay que preparar la configuración de mmdf, ya que por defecto no envía correos a dominios externos, para ello sigue los siguientes pasos:
  1. Ejecuta el comando: mkdev mmdf
  2. Asegurate que el hostname es correcto y de que mmdf está configurado para usar TCP/IP.
  3. Cambia el formato para las direcciones locales de correo a user@midominio.com, ya que por defecto aparece user@host.midominio.com.
  4. En Select nameserver look up method selecciona la opción Look up all mail hosts.
  5. Reconstruye las bases de datos de mmdf con el comando: /usr/mmdf/table/dbmbuild -vn
  6. Y a continuación reinicia el servicio mmdf con /etc/init.d/mmdf stop; /etc/init.d/mmdf start
Ahora para enviar un correo se puede usar la siguiente sintaxis:
mail -s "Asunto" usuario@dominio.com < fichero
Donde el fichero aparece en el cuerpo del mensaje.

Thursday, March 12, 2009

No aparece "enviar a:" desde documentos de Office.

Para corregir este error hay que editar el archivo win.ini y si falta alguna de las siguientes líneas, entonces añadirla.

[Mail]
MAPI=1
CMC=1
CMCDLLNAME=mapi.dll
CMCDLLNAME32=mapi32.dll
MAPIX=1
MAPIXVER=1.0.0.1
OLEMessaging=1

Friday, January 16, 2009

Eliminar el mensaje ¿compactar carpetas? al salir de Outlook Express.

Desde no se qué parche de windows, aparece un mensaje al salir de outlook express que nos pregunta si queremos compactar las carpetas. Y es que Microsoft ha añadido un contador en el registro de windows que cuenta las veces que usas outlook express y cuando llega a 100 empieza a protestar.

Este mensaje, bastante molesto, se puede eliminar poniendo a cero en el registro de windows el valor de Compact Check Count que se encuentra en: HKEY_CURRENT_USER\Identities\{ ...... }\Software\Microsoft\Outlook Express\5.0 y donde { ...... } es un churro del tipo {C8617501-C0B3-459B-BA1F-8DAA356737D5} y diferente para cada usuario.

Hay varias formas de poner este valor a cero, existe un script en http://www.kellys-korner-xp.com/regs_edits/compactcheck.vbs que puede hacer esta labor, modificándolo un poco para que no muestre los mensajes que te llevan a la página web del autor y diciéndole al antivirus de turno que el script es de fiar podrás hacer que funcione sin problemas.

También puedes exportar desde regedit un archivo .reg (de nombre por ejemplo resetOEcount.reg) modificado para que sólo contenga el valor de Compact Check Count puesto a cero:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Identities\{C8617501-C0B3-459B-BA1F-8DAA356737D5}\Software\Microsoft\Outlook Express\5.0]
"Compact Check Count"=dword:00000000

Y lo único que queda por hacer es un archivo .bat que ejecute el comando:

regedit /s resetOEcount.reg

Y poner un acceso directo en la carpeta de inicio del usuario. De esta forma el mensaje sólo le aparecerá si abre y cierra más de 100 veces el outlook express sin cerrar la sesión de windows.

PD: Ten en cuenta que el churro {C8617501-C0B3-459B-BA1F-8DAA356737D5} es diferente en cada caso, por lo que tendrás que buscar en el registro de windows el que te corresponde para que este método te funcione.