Re: [Exim] Saving rejected mail

Etusivu
Poista viesti
Vastaa
Lähettäjä: Greg Ward
Päiväys:  
Vastaanottaja: Exim users list
Aihe: Re: [Exim] Saving rejected mail
On 06 September 2002, Alan J. Flavell said:
> Yes. There's a minority of broken mailers, however, which treat a 5xx
> at DATA time as a temporary error, so you'll want to have some
> strategy (if only to keep an eye on the log and add the offenders to a
> blacklist) to break such standoffs.


One of the loopy ideas floating around in my head: when you reject a
message, increment a counter (eg. in a DBM file) keyed by
(sender_host_address, sender_address). When that counter reaches (say)
3, reject everything from that host/address at RCPT time.
Maintaining/updating the counter would have to be done in local_scan(),
and checking it by an Exim ACL, so I need to make sure my Python and my
Exim are using the same DB/DBM libraries!

        Greg
--
Greg Ward <gward@???>                         http://www.gerg.ca/
The NSA.  We care: we listen to our customers.