Differences
This shows you the differences between two versions of the page.
tech:others:postfix [2014/11/15 09:13] |
tech:others:postfix [2014/11/15 09:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Resources ====== | ||
+ | |||
+ | ===== Stuff ===== | ||
+ | [[https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto|PostfixCompleteVirtualMailSystemHowto - Community Ubuntu Documentation]]\\ | ||
+ | [[http://www.postfix.org/postconf.5.html|Postfix Configuration Parameters main.cf]]\\ | ||
+ | [[http://www.postfix.org/VIRTUAL_README.html|Postfix Virtual Domain Hosting Howto]]\\ | ||
+ | http://www.postcastserver.com/help/Blocking_Open_Relays.aspx \\ | ||
+ | http://www.no-ip.com/services/managed_mail/inbound_port_25_unblock.html \\ | ||
+ | http://www.checkor.com/ \\ | ||
+ | [[http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix|Spam in Postfix]]\\ | ||
+ | [[http://www.symantec.com/connect/articles/filtering-e-mail-postfix-and-procmail-part-one|Filtering email with postfix and procmail]]\\ | ||
+ | [[http://www.tuxradar.com/practicalphp/15/6/2|Reading message information with PHP]]\\ | ||
+ | [[https://workaround.org/ispmail/lenny/authenticated-smtp|Authenticated SMTP]]\\ | ||
+ | [[http://wiki2.dovecot.org/Pigeonhole|Dovecot Pigeonhole Sieve support]] | ||
+ | |||
+ | ===== Good postfix config with mysql ===== | ||
+ | http://wiki.cyprix.com.au/wiki/CyprixMailHowto \\ | ||
+ | |||
+ | ===== Ports! ===== | ||
+ | http://www.emailaddressmanager.com/tips/mail-servers.html \\ | ||
+ | |||
+ | ===== PostFix config ===== | ||
+ | http://www.postfix.org/postconf.5.htm \\ | ||
+ | http://flurdy.com/docs/postfix/ \\ | ||
+ | |||
+ | ====== Notes ====== | ||
+ | SASL did not work and the following was removed from main.cf \\ | ||
+ | Need to figure this out and put it back. | ||
+ | <code> | ||
+ | #SMTP Authentication | ||
+ | smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service | ||
+ | # modify the existing smtpd_sender_restrictions | ||
+ | smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit | ||
+ | # then add these | ||
+ | smtpd_sasl_auth_enable = yes | ||
+ | broken_sasl_auth_clients = yes | ||
+ | smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2 | ||
+ | smtpd_sasl_security_options = noanonymous | ||
+ | smtpd_sasl_local_domain = | ||
+ | </code> | ||
+ | [[http://www.postfix.org/SMTPD_POLICY_README.html|This]] might be useful in debugging! | ||
+ | |||
+ | To restart a bunch all at once! | ||
+ | <code> | ||
+ | etc/init.d/courier-authdaemon restart ; /etc/init.d/courier-imap restart; /etc/init.d/postfix restart | ||
+ | </code> | ||