Difference between revisions of "Postfix"

From KeegansWiki
Jump to navigation Jump to search
 
Line 6: Line 6:
 
==Relay from other hosts==
 
==Relay from other hosts==
 
* To let bounces come back from another server like a smart relay) change inet_interfaces to all.
 
* To let bounces come back from another server like a smart relay) change inet_interfaces to all.
 +
To let users@localhost receive mail:
 +
* myhostname = server.domain.com
 +
* mydomain = domain.com
 +
 
==Aliases==
 
==Aliases==
 
* Uses system default, /etc/aliases
 
* Uses system default, /etc/aliases

Latest revision as of 10:18, 3 April 2014

Make sure the fqdn is in /etc/sysconfig/network.

Configs

Smart Relay

  • /etc/postfix/main.cf
  • relayhost = [servermail.dominionenterprises.com]

Relay from other hosts

  • To let bounces come back from another server like a smart relay) change inet_interfaces to all.

To let users@localhost receive mail:

  • myhostname = server.domain.com
  • mydomain = domain.com

Aliases

  • Uses system default, /etc/aliases