Davide Marchi:
If I shut down the primary server, the MX backup receive the mail
correctly and mail goes into mailbox 'INBOX'.

Il 2017-08-27 14:49 wie...@porcupine.org ha scritto:
Well that is the mistake. This server should not deliver to mailbox.

On 27.08.17 22:35, Davide Marchi wrote:
Good, this is interesting, but a little bit more suggestion? :-)

as Viktor said: Do not list the mx-backup domain in "mydestination".

You need to have such domains in relay_domains instead, so postfix accepts
mail for them and it stays in queue while postfix attempts to deliver them
(to the primary MX, or according to transport_maps).

Once you deliver the mail into a mailbox, it will be removed from the queue. postfix will not pull mail from a queue to deliver to primary MX server.
"Configuring Postfix as primary or backup MX host for a remote site"
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup

        Wietse

I followed these documentation but surely something I must have missed.. Is there a command to check where the queue is headed and possibly its relative parameter?

since the mail is already not in the queue, this question does not make
sense.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #99999: Out of error messages.

Reply via email to