Linux/Mailserver/Postfix Satellite: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 26: Line 26:
</blockquote>
</blockquote>


* /etc/postfix/canonical
* /etc/postfix/canonical_recipients (+canonical_senders)
<blockquote>
<blockquote>
<pre>
<pre>
Line 38: Line 38:
<blockquote>
<blockquote>
<pre>
<pre>
postmap /etc/postfix/canonical
postmap /etc/postfix/canonical_recipients
postmap /etc/postfix/canonical_senders
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 16:17, 10 March 2013

  • install postfix
apt-get install postfix
  • postfix configuration (automatic during installation or "dpkg-reconfigure postfix")
    • "Satellite System"
    • "domain.de"
    • "smtp.domain.de"
  • /etc/mailname
domain.de
  • /etc/postfix/main.cf
recipient_canonical_maps = hash:/etc/postfix/canonical_recipients
sender_canonical_maps = hash:/etc/postfix/canonical_senders
  • /etc/postfix/canonical_recipients (+canonical_senders)
root user@domain.de
postmaster user@domain.de
webmaster user@domain.de
  • reload address mapping
postmap /etc/postfix/canonical_recipients
postmap /etc/postfix/canonical_senders
  • restart address mapping
/etc/init.d/postfix restart