Created
March 5, 2012 10:22
-
-
Save finger-berlin/1977765 to your computer and use it in GitHub Desktop.
osx postfix relay email config hints...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vim /etc/postfix/main.cf | |
myhostname = local.yourdomain.tld | |
mydomain = yourdomain.tld | |
myorigin = $mydomain | |
relayhost = [smtp.your-isp.tld]:587 | |
smtp_sasl_auth_enable = yes | |
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | |
smtp_sasl_security_options = noanonymous | |
smtp_sasl_mechanism_filter = plain | |
smtp_use_tls = yes | |
smtp_tls_security_level = may | |
$ sudo vim /etc/postfix/sasl_passwd | |
[smtp.your-isp.tld]:587 USERNAME@DOMAIN:PASSWORD | |
$ sudo postmap /etc/postfix/sasl_passwd | |
$ sudo rm /etc/postfix/sasl_passwd | |
$ sudo launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist | |
$ sudo launchctl load -w /System/Library/LaunchDaemons/org.postfix.master.plist | |
check /var/log/mail.log if you encounter any problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment