[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] Issues with greylisting - NEW IMPLEMENTATION
From:       Alain Williams <addw () phcomp ! co ! uk>
Date:       2010-01-30 16:36:17
Message-ID: 20100130163616.GF28363 () phcomp ! co ! uk
[Download RAW message or body]

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>

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic