Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Removal of autowhitelist by another program or milter

Removal of autowhitelist by another program or milter

2009-05-14 by Delahunty, Mark

Hi, I'm new to the list. I just installed milter-greylist to test it out
and it looks like a brilliant way to reduce the amount of rubbish
flooding our mail servers.

Here's my setup:

sendmail with 2 milters:

Milter #1: milter-greylist with an acl like this:

      # greylist if IP is listed in RBL, else whitelist
	racl greylist list "grey users" dnsrbl "FIRSTDNSBL" delay 2h
	racl greylist list "grey users" dnsrbl "OTHERDNSBL" delay 2h
	racl whitelist default

Milter #2: mimedefang (scans mail using clamav and spamassassin)


What I'm thinking of doing is this: If a mail gets past milter-greylist
and then spamassassin finds the mail has a virus, or a high spam score,
remove its autowhitelist entry in milter-greylist. Does doing this sound
reasonable and is there a way to do it? 

If it helps, I think mimedefang can be set up to use spamd rather than
the perl version of Spamassassin.

Thanks and apologies it this is a silly newbie question.

Mark

Re: [milter-greylist] Removal of autowhitelist by another program or milter

2009-05-14 by Petar Bogdanovic

On Thu, May 14, 2009 at 09:26:24AM +0100, Delahunty, Mark wrote:
> Hi, I'm new to the list. I just installed milter-greylist to test it out
> and it looks like a brilliant way to reduce the amount of rubbish
> flooding our mail servers.
> 
> Here's my setup:
> 
> sendmail with 2 milters:
> 
> Milter #1: milter-greylist with an acl like this:
> 
>       # greylist if IP is listed in RBL, else whitelist
> 	racl greylist list "grey users" dnsrbl "FIRSTDNSBL" delay 2h
> 	racl greylist list "grey users" dnsrbl "OTHERDNSBL" delay 2h
> 	racl whitelist default
> 
> Milter #2: mimedefang (scans mail using clamav and spamassassin)
> 
> 
> What I'm thinking of doing is this: If a mail gets past milter-greylist
> and then spamassassin finds the mail has a virus, or a high spam score,
> remove its autowhitelist entry in milter-greylist. Does doing this sound
> reasonable and is there a way to do it? 

Move the spamd-check into milter-greylist (man greylist.conf -> spamd) and
you won't have this problem.  Then you'll also be able to block obvious
spam before it even gets accepted by the MTA (reject after DATA).



   Petar Bogdanovic

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.