Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] blacklisting from uribl

2009-01-15 by Petar Bogdanovic

On Thu, Jan 15, 2009 at 11:49:16AM +1100, Michael Mansour wrote:
> Hi Dan,
> 
> > > Hi,
> > > 
> > > I use uribl to score emails in SA. What I'd like to do is just drop any emails
> > > that exist in URIBL_BLACK (the blacklist category of uribl).
> > > 
> > > I'm looking for a way to do this and am wondering if milter-greylist can
> do it?
> > > 
> > > I don't think it can because a message needs to be accepted first, scanned to
> > > query the URI in it against multi.dnsbl.com and then perform an appropriate
> > > action.
> > 
> > You used the word drop.  Drop is easy.  REJECT is hard.
> 
> Hmm.. ok, how would I just drop these emails? 
> 
> I'm currently looking in SpamAssassin but it's basically a message filter and
> scorer, no drops. Checking SA 3rd party plugins also don't show any which drop.

Add these lines to greylist.conf (milter-greylist >= 4.1.6):

   spamdsock unix "/path/to/spamd.sock"
   dacl blacklist spamd > 10 msg "Your message is considered spam."


and this line to local.cf:

   score URIBL_BLACK 1000


That will get you a REJECT after the data-stage. Which is better then
DISCARD (Claim successful delivery and silently discard the message.),
IMHO.



   Petar Bogdanovic

Attachments

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.