Postfix: Difference between revisions

From DWIKI
Line 51: Line 51:


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


==View message in queue===
===View message in queue===
  postcat
  postcat
===Delete message from queue===
postsuper -d


==Postfix as secondary MX==
==Postfix as secondary MX==

Revision as of 17:46, 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