postfix-users April 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: selective greylisting with a long delay

Re: selective greylisting with a long delay

From: Kouhei Sutou <kou_at_nospam>
Date: Sat Apr 16 2011 - 02:02:45 GMT
To: postfix-users@postfix.org

Hi,

In <003D9CFDC4BC4D809B6802958A7E1EC7@vxcxc6cd28d6a9>
  "selective greylisting with a long delay" on Sun, 10 Apr 2011 23:33:22 -0400,
  "pf at alt-ctrl-del.org" <pf@alt-ctrl-del.org> wrote:

> Has anyone implemented or experimented with selectively
> greylisting specific networks, with a long delay? Let's say
> 4 hours...

milter-greylist(*) may help you.

(*) http://hcpnet.free.fr/milter-greylist/

Here are sample configurations:

  main.cf:
    smtpd_mitlers = unix:/var/milter-greylist/milter-greylist.sock

  greylist.conf:
    socket "/var/milter-greylist/milter-greylist.sock" 666

    list "black network" { 192.168.1.0/24 }
    list "white addresses in black network" { 192.168.1.240/28 }

    racl whitelist list "white addresses in black network"
    racl greylist list "black network" delay 4h
    racl greylist default delay 5m

See also README for more configurations:
  http://hcpnet.free.fr/milter-greylist/README

Thanks,
-- kou