On Wed, 28 Nov 2018, Viktor Dukhovni wrote:

then "postfix reload" to refresh the queue manager.


Same result (it tried to deliver all the 7 address of the message
flushed for test).

# postconf |grep limitrec
limitrecip_destination_recipient_limit = 3

What are I missing?


Thanks for you patience ;-)
Hope I can replay as expected ...

   * Evidence that the queue manager was reloaded.

I did:   service postfix restart (and also postfix reload)

   * Evidence that the nexthop destination domain (not the MX host, but
     the envelope recipient domain) is routed to the "limitrecip" transport.

In transport file:

yahoo.com       limitrecip:
yahoo.it        limitrecip:
yahoodns.net    limitrecip:
mx-eu.mail.am0.yahoodns.net     limitrecip:

The destination addresses are *@yahoo.it
Added also yahoodns.net and mx-eu.mail.am0.yahoodns.net (suppose already included from the yahoodns.net key).

   * Evidence the the transport table has been rebuilt (show "postmap -q"
     output).

# postmap -q yahoo.it transport
limitrecip:
# postmap -q yahoo.com transport
limitrecip:
# postmap -q yahoodns.net transport
limitrecip:
# postmap -q mx-eu.mail.am0.yahoodns.net transport
limitrecip:


   * Evidence that nothing changed?  Show new logs.

From mailq output:


B9899396281A   234000 Tue Nov 27 15:07:53 users-boun...@list.rfx.it
(host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command))
                                         us...@yahoo.it
                                         us...@yahoo.it
                                         us...@yahoo.it
                                         us...@yahoo.it
                                         us...@yahoo.it
                                         us...@yahoo.it
                                         us...@yahoo.it


# postqueue -i  B9899396281A

In maillog:

Nov 29 02:25:47 ls postfix/qmgr[2280]: B9899396281A: from=<users-boun...@list.rfx.it>, size=234000, nrcpt=50 (queue active) Nov 29 02:25:48 ls postfix/smtp[2567]: B9899396281A: host mx-eu.mail.am0.yahoodns.net[188.125.73.87] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command) Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command)) Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command)) Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451
Message temporarily deferred - Abaca (in reply to end of DATA command))
Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command)) Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command)) Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command)) Nov 29 02:25:49 ls postfix/smtp[2567]: B9899396281A: to=<us...@yahoo.it>, relay=mx-eu.mail.am0.yahoodns.net[212.82.101.46]:25, delay=127075, delays=127074/0/0.67/0.39, dsn=4.0.0, status=deferred (host mx-eu.mail.am0.yahoodns.net[212.82.101.46] said: 451 Message temporarily deferred - Abaca (in reply to end of DATA command))


Since the Postfix queue manager unquestionably supports the parameter
in question, one of the steps in the configuration must not have
been carried out correctly.

I know I am doing something in the wrong way, but I can't understand if it is a simple configuration error or an approach/logical error.
Thanks for your patience an time.

Thanks, B.

Reply via email to