Last active
August 29, 2015 13:57
-
-
Save HoffmannP/9714512 to your computer and use it in GitHub Desktop.
Configuration of postfix for relay
This file contains 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
===================================================================/etc/postfix/main.cf========== | |
# See /usr/share/postfix/main.cf.dist for a commented, more complete version | |
append_dot_mydomain = no | |
command_directory = /usr/sbin | |
config_directory = /etc/postfix | |
daemon_directory = /usr/lib/postfix | |
data_directory = /var/lib/postfix | |
inet_interfaces = localhost | |
mydomain = ********************** | |
myhostname = ********************** | |
mynetworks = 127.0.0.0/8 | |
myorigin = $mydomain | |
relayhost = smtp.********.**:587 | |
smtp_sasl_auth_enable = yes | |
smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd | |
smtp_sasl_security_options = noanonymous | |
smtp_use_tls = no | |
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) | |
smtpd_sasl_auth_enable = yes | |
unknown_local_recipient_reject_code = 550 | |
broken_sasl_auth_clients = yes | |
sender_canonical_maps = hash:/etc/postfix/sender_canonical | |
===================================================================/etc/postfix/sasl_passwd========== | |
smtp.********.** ******:******** | |
===================================================================/etc/postfix/sender_canonical========== | |
root ******@***** | |
*** ******@***** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment