Wladimir Mutel' <[EMAIL PROTECTED]> wrote:
>       Dear people,
> 
>       Could you please kindly advise me what is the recommended way to
>       implement greylisting in Courier ? I would prefer something
>       simple and easy, like Postgrey to Postfix. Are there any
>       analogues ?

Well, I can't say that it's the "recommended" way, but what I did
was to use the Maildrop "rcptfilter" hook, and run a simple
greylisting script written in Perl.  The script implements a
greylist using a DBM database, with a per-sender-address holdoff
period and post-holdoff authorization period (global settings for
both are in the script file).

The greylist script is run as one of the last elements of
the Maildrop rcptfilter script, after the blacklist and whitelist
checks, DNSBL checks, reverse-DNS check, SPF validation, and so forth.

This seems to work pretty well.  The only quirk is probably inherent
to greylisting - if I try to send an email to someone off-site, and
their SMTP server implements an SMTP-time sender-address-verification
(i.e. their server connects back to my MX and uses "RCPT TO" to verify
my address), the outbound mail ends up being delayed.  My server
responds with a 4xx greylist message, and their server decides that it
can't verify my address on my outgoing email and passes the 4xx back
along.  As long as my message delivery is retried during my greylist
script's post-holdoff permission period, the mail does get delivered
eventually.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to