Il 2017-09-01 22:57 Noel Jones ha scritto: [..]
On the backup MX: DO NOT list the domain in mydestination, virtual_alias_domains, or mailbox_domains parameters. These list domains for local delivery.
You mean: do not list the domain of the *primary server* in mydestination, virtual_alias_domains, or mailbox_domains parameters, confirm?
DO list the domain in relay_domains
Here I've the virtual domain list on mysql table (replicated/synced with the primary server), could I use a mysql query here? This query should exclude the primary sever domain from the list? And the query output could be the list of all domain one for each row?
DO NOT list the valid recipients in virtual_mailbox_maps, or virtual_alias_maps. These list local recipients.
here could I simply comment the above parameters (virtual_mailbox_maps, and virtual_alias_maps)?
DO list valid recipients in relay_recipient_maps
Here, as above, could I use a MySQL query for list the all valid recipients (included the alias), one for each row? The list contains addresses for the primary server domain. Do I also have to remove references to the primary server domain here?
http://www.postfix.org/ADDRESS_CLASS_README.html
ok!
On the other hand, most folks these days think a backup MX is more trouble than it's worth due to the way they are abused by spammers.
I think it's very important to manage the MX backup server autonomously and that is most important too, be careful to not turn the backup server into a backscatter mail server. For this reason I ask before acting.
Many thanks for the time you're dedicating me Jones!! Davide