Linux/Mailserver/Postfix Satellite: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 1: Line 1:
== Installation ==
* install postfix
* install postfix
<blockquote>
<blockquote>
Line 11: Line 12:
** "smtp.domain.de"
** "smtp.domain.de"


== Configuration ==
* /etc/mailname
* /etc/mailname
<blockquote>
<blockquote>
Line 35: Line 37:
</blockquote>
</blockquote>


* reload address mapping
== Restart ==
* reload maps
<blockquote>
<blockquote>
<pre>
<pre>
postmap /etc/postfix/canonical_recipients
postmap /etc/postfix/canonical_recipients
postmap /etc/postfix/canonical_senders
postmap /etc/postfix/canonical_senders
postmap hash:/etc/postfix/sasl_password
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 16:29, 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
  • /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