Linux/Mailserver/Postfix Satellite

From Wiki

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

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