Is there a possibility to make Postfix stop trying (for a period of time) to send emails to a domain from which it received a deferred response?
Currently my Postfix goes through each address
in the queue.
Please see
the below example. At 09:48:32
the status=deferred appears. After this Postfix should stop trying to send stuff to
the yahoo.com domain.
Jun 6 09:48:20 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37163, delays=36519/638/1.2/4.9, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:20 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37163, delays=36519/638/1.2/4.9, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:20 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37163, delays=36519/638/1.2/4.9, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:30 mailer postfix/smtp[8643]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[63.250.192.46]:25, delay=37173, delays=36519/645/1.4/7.4, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:30 mailer postfix/smtp[8643]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[63.250.192.46]:25, delay=37173, delays=36519/645/1.4/7.4, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:30 mailer postfix/smtp[8643]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[63.250.192.46]:25, delay=37173, delays=36519/645/1.4/7.4, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:30 mailer postfix/smtp[8643]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[63.250.192.46]:25, delay=37173, delays=36519/645/1.4/7.4, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:30 mailer postfix/smtp[8643]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[63.250.192.46]:25, delay=37173, delays=36519/645/1.4/7.4, dsn=2.0.0, status=sent (250 ok dirdel 5/0)
Jun 6 09:48:32 mailer postfix/smtp[8644]: C779A233C0: host mta6.am0.yahoodns.net[98.138.112.38] said: 421 4.7.0 [TS01] Messages from x.x.x.250 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html (in reply to MAIL FROM command)
Jun 6 09:48:32 mailer postfix/smtp[8644]: C779A233C0:
lost connection with mta6.am0.yahoodns.net[98.138.112.38] while sending RCPT TO
Jun 6 09:48:33 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37176, delays=36519/655/2.5/0.18, dsn=4.7.0, status=deferred (host mta7.am0.yahoodns.net[98.138.112.35] said: 421 4.7.0 [TS01] Messages from x.x.x.250 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html (in reply to MAIL FROM command))
Jun 6 09:48:33 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37176, delays=36519/655/2.5/0.18, dsn=4.7.0, status=deferred (host mta7.am0.yahoodns.net[98.138.112.35] said: 421 4.7.0 [TS01] Messages from x.x.x.250 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html (in reply to MAIL FROM command))
Jun 6 09:48:34 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37176, delays=36519/655/2.5/0.18, dsn=4.7.0, status=deferred (host mta7.am0.yahoodns.net[98.138.112.35] said: 421 4.7.0 [TS01] Messages from x.x.x.250 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html (in reply to MAIL FROM command))
Jun 6 09:48:34 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37176, delays=36519/655/2.5/0.18, dsn=4.7.0, status=deferred (host mta7.am0.yahoodns.net[98.138.112.35] said: 421 4.7.0 [TS01] Messages from x.x.x.250 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html (in reply to MAIL FROM command))
Jun 6 09:48:34 mailer postfix/smtp[8644]: C779A233C0: to=<
[email protected]>, relay=mta7.am0.yahoodns.net[98.138.112.35]:25, delay=37176, delays=36519/655/2.5/0.18, dsn=4.7.0, status=deferred (host mta7.am0.yahoodns.net[98.138.112.35] said: 421 4.7.0 [TS01] Messages from x.x.x.250 temporarily deferred due to user complaints - 4.16.55.1; see http://postmaster.yahoo.com/421-ts01.html (in reply to MAIL FROM command))
Jun 6 09:48:34 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37177, delays=36519/658/0/0.07, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:34 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37177, delays=36519/658/0/0.18, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:34 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37177, delays=36519/658/0/0.35, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:34 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37177, delays=36519/658/0/0.4, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:34 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37177, delays=36519/658/0/0.46, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:35 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37179, delays=36519/660/0/0.16, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:35 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37179, delays=36519/660/0/0.22, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:36 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37179, delays=36519/660/0/0.31, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)
Jun 6 09:48:36 mailer postfix/error[8661]: C779A233C0: to=<
[email protected]>, relay=none, delay=37179, delays=36519/660/0/0.36, dsn=4.4.2, status=deferred (delivery temporarily suspended:
lost connection with mta7.am0.yahoodns.net[98.138.112.35] while sending RCPT TO)