Re: [exim] Delaying messages for 5 minutes?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: W B Hacker
Date:  
À: exim users
Sujet: Re: [exim] Delaying messages for 5 minutes?
Marc Perkel wrote:
> 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.
>
> #! /bin/bash
>
> md /delay
> cat /delay/9/*|exim -bS
> rm -R /delay/9
> mv /delay/8 /delay/9
> mv /delay/7 /delay/8
> mv /delay/6 /delay/7
> mv /delay/5 /delay/6
> mv /delay/4 /delay/5
> mv /delay/3 /delay/4
> mv /delay/2 /delay/3
> mv /delay/1 /delay/2
> mv /delay/0 /delay/1
>
> mkdir /delay/0
>
> 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.
>
>


Hopefully some new uses for old tricks and even a few new techniques
will eventually come of this.

It DOES seem that there is a growing need in that several waves of
'something' infectious have caused both long-since reformed and recently
reputable major ISP'en to transmit garbage they'e not done for years,
and even appear at least sporadically on well-regarded blacklists.

I've even had to LWL specific members of some of those to insure they
can reach 'us'.

Given these worthies history of good screening, that HAS to be some form
of UID:PWD hijacking.

While it is extremely unlikely to bite *here* [1], I'd like to not have
to LWL 'incoming' AOL, Yahoo, MSN/Hotmail users one-at-a-time, so hope
it all leads to several good solutions, and that the solutions propagate
faster than the problem.

'Carry on the good work'

Bill

[1] 'BFBI'. No Windows clients save a couple of test accounts used
about once every second or third year.