Linux/Mailserver/Postfix Satellite: Difference between revisions
< Linux | Mailserver
Line 44: | Line 44: | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
smtp.domain.de username:password | touch /etc/postfix/sasl_password | ||
echo "smtp.domain.de username:password" > sasl_password | |||
chmod 600 sasl_password | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 16:31, 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_sasl_auth_enable = yes smtp_sasl_security_options = noplaintext 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