Author: rgl
Date: 28-08-06 23:08
Nice article, thanks for publishing it!
I have a minor suggestion to add, instead of having to define the lists domains in both the relay_hosts variable and in the transport file, eg:
# in main.cf:
relay_domains = lists.freebsddiary.org, lists.freshports.org
transport_maps = hash:/usr/local/etc/postfix-config/transport
# in transport:
lists.freebsddiary.org mailman:
lists.freshports.org mailman:
I usualy just define the domains inside the transport file, and also use that file in the relay_domains variable, eg:
# in main.cf:
relay_domains = hash:/usr/local/etc/postfix-config/transport
transport_maps = hash:/usr/local/etc/postfix-config/transport
# in transport:
lists.freebsddiary.org mailman:
lists.freshports.org mailman:
This works because we take advantage on the fact that relay_hosts is a list, and Postfix only looks at the left side of lists; this is described under the "Postfix lists versus tables" section at http://www.postfix.org/DATABASE_README.html.
-- Rui Lopes
|
|