Skip to main content

Postfix con Procmail para llevar

1. Asegúrese de que procmail tenga los bits SUID, debe verse de la siguiente manera:

# ls -l /usr/bin/procmail
-rwsr-sr-x 1 root mail /usr/bin/procmail

2. Si procmail no se ve como en el ejemplo anterior, ejecute entonces:

# chown root /usr/bin/procmail
# chmod 4755 /usr/bin/procmail

3. Agregue la siguiente línea al archivo de configuración de Postfix (/etc/postfix/main.cf):

mailbox_command = /usr/bin/procmail

4. Reinicie el servicio de Postfix:

/etc/init.d/postfix reload

5. Agregue sus opciones personales de filtrado a Procmail.

 

::[REFERENCIAS]::

http://www.postfix.org

http://www.jennings.homelinux.net/mailserver_config.html

http://www.freesoftwaremagazine.com/free_issues/issue_02/focus_spam_dspam/index_p3.html