From: random troll on
I would like to write something that responds to all messages
that return a 451 error with the message 'Recipient address rejected;
please try sending again.' within a minute by re-sending the message
in question. How would I go about this? Is this a milter or can I
write a rule? What documentation would best address this?
Thanks for your attention.


From: Grant Taylor on
On 05/03/08 22:13, random troll wrote:
> An organization that works with my organization has begun to use
> MailWise to filter incoming email. MailWise has a 'sender
> authentication layer' that rejects all messages with a 451 error,
> 'Recipient address rejected; please try sending again.' An email
> from a MailWise-person says that they do this to all messages from
> new domains. When a domain resends the same message within a minute
> of the first rejection all emails get through that filter. How do I
> make sendmail work with this?

Sendmail should automatically queue the message for subsequent delivery.
There is nothing you need to do to cause Sendmail to re-try sending
the message later.

You may want to adjust your queue cycle if the default (of your
configuration) is not to your liking.



Grant. . . .

From: random troll on
Quoth Grant Taylor:

'Sendmail should automatically queue the message for subsequent
delivery.
There is nothing you need to do to cause Sendmail to re-try sending
the message later.
'You may want to adjust your queue cycle if the default (of your
configuration) is not to your liking.'

I use the default queue timeout, 4 hours. I don't want to
shorten it.
I would like to hook greylist replies and respond to them either
immediately
or at the time suggested in the reply. The greylist milters I see
seem to
implement greylisting on mail received, not on mail sent. Have I
missed
something? It seems like it would be easy to do. I guess I need to
fetch
the docs and write one.
From: Grant Taylor on
On 5/6/2008 10:50 PM, random troll wrote:
> I use the default queue timeout, 4 hours. I don't want to shorten
> it. I would like to hook greylist replies and respond to them either
> immediately or at the time suggested in the reply. The greylist
> milters I see seem to implement greylisting on mail received, not on
> mail sent. Have I missed something? It seems like it would be easy
> to do. I guess I need to fetch the docs and write one.

One main problem I see with what you are wanting to do is the lack of a
way to identify when a 4xy error is because of gray listing verses when
there is something else that caused the system to not be able to service
your request.

Rather than trying to identify gray listing (however you go about it)
would be to have a back out in your queue retry times. I.e retry 15
minutes, 30 minutes, 1 hour, 2 hours, and finally 4 hours after the
failed delivery attempts. This type of back out in retry attempts will
help make sure that you don't delay for shorter gray listings while
allowing you to still not retry very frequently for messages that have
not been deliverable recently.



Grant. . . .