Differences
This shows you the differences between two versions of the page.
tech:linux:postfix_important_settings [2014/11/15 09:13] |
tech:linux:postfix_important_settings [2014/11/15 09:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Important Postfix Settings ====== | ||
+ | ===== When using as SMTP relay for other servers on LAN ===== | ||
+ | Make sure to set ''inet_interfaces = all'' | ||
+ | |||
+ | Sometimes this is set to localhost and will not allow relays | ||
+ | |||
+ | Make sure to set ''mynetworks = 127.0.0.0/8 192.168.0/28'' | ||
+ | |||
+ | So the Local LAN is covered | ||
+ | |||
+ | ===== As SMTP Server ===== | ||
+ | Set mydomain & myhostname | ||
+ | <code> | ||
+ | mydomain = mail.dev06.example.org | ||
+ | myhostname = mail.dev06.example.org | ||
+ | myorigin = $mydomain | ||
+ | append_dot_mydomain = no | ||
+ | relayhost = | ||
+ | </code> | ||