Postfix: Difference between revisions

From DWIKI
Line 20: Line 20:


==Postfix and smtp auth/sasl==
==Postfix and smtp auth/sasl==
*http://mirrors.loonybin.net/postfix_tls/doc/setup.html (this is a good one!)
*http://www.postfix.org/SASL_README.html
*http://www.postfix.org/SASL_README.html
*http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL?action=show&redirect=PostfixAndDovecotSASL
*http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL?action=show&redirect=PostfixAndDovecotSASL
Line 25: Line 26:
*http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html
*http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html
*http://forums.macosxhints.com/archive/index.php/t-96919.html
*http://forums.macosxhints.com/archive/index.php/t-96919.html
*http://mirrors.loonybin.net/postfix_tls/doc/setup.html
 
 
===Postfix and Network Solutions certificates===
#The private key, readable for root only!
smtpd_tls_key_file = privkey.pem
#the certificate you received from NS
smtpd_tls_cert_file = /etc/ssl/MY.HOST.COM.crt
#NetworkSolutions_CA.crt and UTNAddTrustServer_CA.crt combined in a single file
#
smtpd_tls_CAfile = /etc/postfix/intermediate.pem


==Postfix and LDAP==
==Postfix and LDAP==

Revision as of 09:38, 3 July 2009

Docs

Postfix and smtp auth/sasl


Postfix and Network Solutions certificates

#The private key, readable for root only!
smtpd_tls_key_file = privkey.pem
#the certificate you received from NS
smtpd_tls_cert_file = /etc/ssl/MY.HOST.COM.crt
#NetworkSolutions_CA.crt and UTNAddTrustServer_CA.crt combined in a single file
#
smtpd_tls_CAfile = /etc/postfix/intermediate.pem

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