Re: [exim] Issues with greylisting - NEW IMPLEMENTATION

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Alain Williams
Dátum:  
Címzett: Keith Brazington
CC: exim-users
Tárgy: Re: [exim] Issues with greylisting - NEW IMPLEMENTATION
On Fri, Jan 29, 2010 at 01:48:45PM +0000, Keith Brazington wrote:
> We used to use some quite complex Greylisting controls, but over time we've
> simplified down to the following
>
> BATVKEY               = mysecretkey

>
> HASH                     =
> ${hmac{sha1}{BATVKEY}{${lc:$sender_address$sender_host_address$local_part@
> $domain}}}

>
> rcpt_acl:
>
> #Various tests which put content into acl_c_grey if the connection is
> perceived as poor. No Reverse DNS, invalid HELO/EHLO etc.
>
> defer   message        = Greylisted
>           condition      = ${if def:acl_c_grey}
>           !ratelimit     = 1 / 1w / strict / HASH
> accept

>
>
> Simple but it works well for us. As always with Exim many ways of doing the
> same thing, it is choosing the appropriate one for your own circumstances.
> For info, our /var/spool/exim/db folder is a Linux tmpfs, so it is quick
> too.


Thanks, I have added this to the bottom of my page.

--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>