Postfix Overview - Introduction - SCN Research
Postfix Overview - Introduction - SCN Research
Postfix Overview - Introduction - SCN Research
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Postfix</strong> Configuration - Basics<br />
Page 1 of 5<br />
<strong>Postfix</strong> Configuration - Basics<br />
Up one level | Basic Configuration | UCE Controls | Rate Controls | Resource Controls | Address Manipulation<br />
<strong>Introduction</strong><br />
<strong>Postfix</strong> has about 100 configuration parameters that are controlled via the main.cf file. Fortunately, they have<br />
sensible default values. In most cases, you need to configure only two or three parameters before you can use<br />
the <strong>Postfix</strong> mail system:<br />
• What domain to use in outbound mail<br />
• What domains to receive mail for<br />
• What clients to relay mail for<br />
The default values for many other configuration parameters are derived from just these two.<br />
The third parameter of interest controls the amount of mail sent to the local postmaster:<br />
• What trouble to report to the postmaster<br />
By the way, if you change parameters of a running <strong>Postfix</strong> system, don't forget to issue a postfix reload<br />
command.<br />
If you run <strong>Postfix</strong> on a virtual network interface, or if your machine runs other mailers on virtual interfaces,<br />
you'll have to look at the other parameters listed here as well:<br />
• My own hostname<br />
• My own domain name<br />
• My own networks<br />
• My own network addresses<br />
What domain to use in outbound mail<br />
The myorigin parameter specifies the domain that appears in mail that is posted on this machine. The default is<br />
to use the local machine name, $myhostname, which defaults to the name of the machine. Unless you are<br />
running a really small site, you probably want to change that into $mydomain, which defaults to the parent<br />
domain of the machine name.<br />
Examples:<br />
myorigin = $myhostname (default)<br />
myorigin = $mydomain (probably desirable)<br />
http://www.porcupine.org/postfix-mirror/basic.html<br />
6/26/01