![]() ![]() In those cases you need to configure Postfix to deliver mail indirectly via a relay host.Įxample: (specify only one) /etc/postfix/main.cf: ![]() It may be connected via a provider who does not allow direct mail to the Internet. Mydestination = $myhostname localhost.$mydomain localhostīy default, Postfix tries to deliver mail directly to the Internet. IMPORTANT: If your machine is a mail server for its entire domain, you must list $mydomain as well. The default is to receive mail for the machine itself. ![]() The mydestination parameter specifies what domains this machine will deliver locally, instead of forwarding to another machine. Myorigin = $myhostname (default: send mail as = $mydomain (probably desirable: name to receive mail The myorigin parameter specifies the domain that appears in mail that is posted on this machine. Mydomain = virtual.domain (virtual interface) By default, it is derived from $ myhostname by stripping off the first part.Įxamples (specify only one of the following): /etc/postfix/main.cf: The mydomain parameter specifies the parent domain of $ myhostname. Myhostname = virtual.domain (virtual interface) $ myhostname appears as the default value in many other Postfix configuration parameters.Įxample:(Specify only one of the following) /etc/postfix/main.cf: The myhostname parameter specifies the fully-qualified domain name of the machine running the Postfix system. You need to execute the following command as root in order to refresh a running mail system: # postfix reload My Hostname Whenever you make a change to the main.cf or master.cf file. You can use $parameter before it is given a value. You specify a configuration parameter as: /etc/postfix/main.cf:Īnd you use it by putting a “$” character in front of its name: /etc/postfix/main.cf: In /etc/postfix/main.cf you will have to set up a minimal number of configuration parameters. If you are giving write permission it means giving root privileges to that person. You should not give write permission to main.cf or master.cf (or to their parent directories) to any other user. By default, these files are in /etc/postfix. The two most important files are main.cf and master.cf. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |