Szerző: Marc Perkel Dátum: Címzett: exim-users Tárgy: Re: [exim] Delaying messages for 5 minutes?
After looking at the idea of freezing it in the queue I came up with
hopefully a better solution. This code creates a 10 minute delay.
Delayed messages are written to /delay/0. This script is run once a
minute. When it gets to 9 the email is resent.
The file name is the sender's email address. The idea here, that I'm
about to implement, is that I'm going to generate an outgoing senders
blacklist of email addresses based on things like the number of failed
recipients. (counting on spammers having bad lists) so when the messages
make it to /delay/9 I delete all the files matching my blacklist and
send the rest.
Hopefully I will be able to tell the difference between a legit list and
a spammer after 10 minutes. If not - I'll have to add some more numbers
to the rotation.