Postfix: Difference between revisions

From DWIKI
Line 15: Line 15:
*http://souptonuts.sourceforge.net/postfix_tutorial.html
*http://souptonuts.sourceforge.net/postfix_tutorial.html
*[http://macnugget.org/projects/postfixrelaymaps/ Setting up automatic relay_recipient_maps in postfix]
*[http://macnugget.org/projects/postfixrelaymaps/ Setting up automatic relay_recipient_maps in postfix]
*http://wiki.kartbuilding.net/index.php/Postfix_SMTP#Blocking_Spam_with_spamhaus_and_Postfix
*[[Postfix on Debian]]
*[[Postfix on Debian]]
*http://www.postfix.org/VIRTUAL_README.html
*http://www.postfix.org/VIRTUAL_README.html

Revision as of 20:14, 27 February 2009

Docs

Postfix and LDAP

Spam filtering


ldap and aliases



man ldap_table
man maildirquota

Notes

  • postconf
  • postsuper

FAQ

queue

Clean the postfix queue

mailq | grep ^[A-F0-9]| awk '{ print $1 }'|  while read i;do postsuper -d  ${i};done

View message in queue

postcat

Delete message from queue

postsuper -d 

Postfix as secondary MX

relay_domains = foo.com, bar.com
relay_recipient_maps =
          hash:/etc/postfix/relay_recipients