Linux/Mailserver/Postfix Satellite: Difference between revisions
< Linux | Mailserver
Line 26: | Line 26: | ||
sender_canonical_maps = hash:/etc/postfix/canonical_senders | sender_canonical_maps = hash:/etc/postfix/canonical_senders | ||
smtp_use_tls=yes | |||
smtp_sasl_auth_enable = yes | smtp_sasl_auth_enable = yes | ||
smtp_sasl_security_options = noplaintext noanonymous | smtp_sasl_security_options = noplaintext noanonymous | ||
smtp_sasl_tls_security_options = noanonymous | |||
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password | smtp_sasl_password_maps = hash:/etc/postfix/sasl_password | ||
</pre> | </pre> |
Revision as of 16:48, 10 March 2013
Installation
- install postfix
apt-get install postfix
- postfix configuration (automatic during installation or "dpkg-reconfigure postfix")
- "Satellite System"
- "domain.de"
- "smtp.domain.de"
Configuration
- /etc/mailname
domain.de
- /etc/postfix/main.cf
recipient_canonical_maps = hash:/etc/postfix/canonical_recipients sender_canonical_maps = hash:/etc/postfix/canonical_senders smtp_use_tls=yes smtp_sasl_auth_enable = yes smtp_sasl_security_options = noplaintext noanonymous smtp_sasl_tls_security_options = noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
- /etc/postfix/canonical_recipients (+canonical_senders)
root user@domain.de postmaster user@domain.de webmaster user@domain.de
- /etc/postfix/sasl_password
touch /etc/postfix/sasl_password echo "smtp.domain.de username:password" > sasl_password chmod 600 sasl_password
Restart
- reload maps
postmap /etc/postfix/canonical_recipients postmap /etc/postfix/canonical_senders postmap hash:/etc/postfix/sasl_password
- restart address mapping
/etc/init.d/postfix restart