Configuring the Hostname in Postfix Several Postfix parameters affect the name of the Postfix server computer or the hostname that appears in mail headers. The most common of these options are summarized in Table 9.4. In a simple configuration, you needn’t adjust anything; Postfix acquires its hostname automatically and builds everything else from there. You can override the configuration if necessary, though—f or example, if your computer has multiple hostnames and you want to use the one that Postfix doesn’t auto- detect on the mail server, or if obtaining your domain name requires stripping more than one component from the hostname. The masquerade_ domains option requires special explanation: This option strips away hostname components if and only if they’l l match the specified reduced name. For instance, consider a case in which you’ve set masquerade_domains = pangaea.edu . If the server is told to send mail with an address of sue@trex.pangaea.edu , it will reduce this address to sue@pangaea.edu . If the system is told to send mail with an address of sue@example.com , it won’t change the address.
đang được dịch, vui lòng đợi..
