0

I have my IIS6 SMTP server with default retry settings of 15 min, 30 min, etc. but under some circumstances it keeps retrying every minute (or less). How can I fix this?

I have seen it retry correctly (15 mins) after a

451+Temporary+Policy+Rejection+-+Please+try+later 0

But it looks like these puppies cause the problem:

2013-03-12 22:17:19 - - 451+Greylisted,+please+try+again+in+300+seconds 0

I did read somewhere that too-fast retries can be caused by DNS problems on the receiving end.

Excerpt from logs:

2013-03-12 22:17:19 RCPT - TO:<problem-email-address-obscured@x.x> 0
2013-03-12 22:17:19 - - 451+Greylisted,+please+try+again+in+300+seconds 0
...
2013-03-12 22:18:20 RCPT - TO:<problem-email-address-obscured@x.x> 0
2013-03-12 22:18:20 - - 451+Greylisted,+please+try+again+in+239+seconds 0
...
2013-03-12 22:18:47 RCPT - TO:<problem-email-address-obscured@x.x> 0
2013-03-12 22:18:47 - - 451+Greylisted,+please+try+again+in+211+seconds 0
...
2013-03-12 22:19:49 RCPT - TO:<problem-email-address-obscured@x.x> 0
2013-03-12 22:19:49 - - 451+Greylisted,+please+try+again+in+150+seconds 0
Michael Hampton
  • 252,907

1 Answers1

0

I may be giving a answer you don't want, but IIS SMTP is very simple and limited... you may be hitting a bug. I would smarthost all emails to a more complete SMTP server, like postfix or qmail (both linux based), where they are queued to deliver to the internet. The IIS SMTP would be used as a simple localhost relay, bypassing most of it problems.

As the your problem... are you sure that they are the same email? maybe there are several emails outgoing to the same email and generating that apparent bad retry pattern.

Either way, that 300s in the logs is just a user level comment, the SMTP will not read it, nor try to obey to it. Also, the receiving end have no influence whatever on the retry time of the sender, only the response code (451 in this case) can trigger different reactions on the sender side... but that reaction would be consistent always.

higuita
  • 1,321
  • 10
  • 13