Postfix-class Contents

Source: Internet
Author: User
Tags tld

/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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.