======Applications - Mail Transfer Agents (MTAs) - Postfix - Notes======
=====Remove server FQDN from the From address of system mails=====
Add to /etc/postfix/main.cf:
smtp_generic_maps = hash:/etc/postfix/generic
Create /etc/postfix/generic with content:
@server.fqdn.tld @fqdn.tld
postmap /etc/postfix/generic
Sources:
* [[http://www.postfix.org/ADDRESS_REWRITING_README.html#generic|Postfix Address Rewriting - Generic mapping for outgoing SMTP mail]]
* [[http://stackoverflow.com/questions/17468109/postfix-unable-to-find-etc-postfix-virtual-file#17469340|Stack Overflow - Postfix unable to find /etc/postfix/virtual file]]
* [[http://www.postfix.org/DATABASE_README.html|Postfix Lookup Table Overview]]
// FIXME: Use [[http://www.postfix.org/ADDRESS_REWRITING_README.html|masquerade_domains]] instead? //
=====Force Postfix to use IPv4 only=====
Add to/change in main.cf:
inet_protocols = ipv4
Sources:
* [[http://www.postfix.org/IPV6_README.html|Postfix IPv6 Support]]
* [[https://www.24x7servermanagement.com/clients/knowledgebase.php?action=displayarticle&id=146|24x7 Server Management - Portal Home - Knowledgebase - Plesk Server - How to force Force postfix to use only IPv4 protocol?]]