Linux/Mailserver/Postfix Satellite: Difference between revisions

From Wiki
Line 38: Line 38:
postmaster user@domain.de
postmaster user@domain.de
webmaster user@domain.de
webmaster user@domain.de
</pre>
</blockquote>
* /etc/postfix/sasl_password
<blockquote>
<pre>
smtp.domain.de username:password
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 16:30, 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
smtp.domain.de username: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