/ETC/POSTFIX/MAIN.CF configuration file
Set the host name, if there is DNS resolution, here can not set.
#myhostname = Host.domain.tld
#myhostname = Virtual.domain.tld
98 #myorigin = $myhostname
#myorigin = $mydomain
The host name and domain name can be spoofed when sending mail
113 #inet_interfaces = All
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = localhost
Port Monitoring What host
164 Mydestination = $myhostname, localhost. $mydomain, localhost
165 #mydestination = $myhostname, localhost. $mydomain, localhost, $mydomain
166 #mydestination = $myhostname, localhost. $mydomain, localhost, $mydomain,
Specify to accept messages sent to a host
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
265 #mynetworks = $config _directory/mynetworks
266 #mynetworks = hash:/etc/postfix/network_table
Relay to the host from which network segments
313 #relayhost = $mydomain
314 #relayhost = [Gateway.my.domain]
315 #relayhost = [Mailserver.isp.tld]
#relayhost = Uucphost
317 #relayhost = [an.ip.add.ress]
Who the mail is forwarded to
Postfix-class Contents