Yahoo Groups archive

Milter-greylist

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

Message

Re: Odd Behavior with dacl in version 4.2b1

2009-03-14 by Jim Hermann

--- In milter-greylist@yahoogroups.com, Petar Bogdanovic <petar@...> wrote:
>
> On Fri, Mar 13, 2009 at 09:58:57AM -0500, Jim Hermann - UUN Hostmaster wrote:
> > 
> > Also, the spamd > 5 only blocks messages with a score above 5.5.  I can't
> > put 5.0 in the dacl line.
> 
> Would you mind pasting some logs? (incl. spamassassin/spamd output)

Actually, it appears that the problem is with spamd scores between 5.00 and 5.05.

Mar 10 07:20:18 host sm-acceptingconnections[16729]: n2ACK3Zk016729: from=<info@...>, size=2541, class=0, nrcpts=1, msgid=<20090306140313.M58348@lawfirm.com>, proto=ESMTP, daemon=MTA, relay=server.arinsa.com.pe [161.132.180.62]
Mar 10 07:20:18 host spamd[16591]: spamd: connection from localhost.localdomain [127.0.0.1] at port 45863
Mar 10 07:20:18 host spamd[16591]: spamd: checking message <20090306140313.M58348@...> for (unknown):98
Mar 10 07:20:19 host spamd[16591]: spamd: identified spam (5.0/5.0) for (unknown):98 in 0.8 seconds, 3006 bytes.
Mar 10 07:20:19 host spamd[16591]: spamd: result: Y 5 - ADVANCE_FEE_2,BAYES_50,SUBJ_ALL_CAPS scantime=0.8,size=3006,user=(unknown),uid=98,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=45863,mid=<20090306140313.M58348@lawfirm.com>,bayes
=0.430686,autolearn=no
Mar 10 07:20:19 host sm-acceptingconnections[16729]: n2ACK3Zk016729: Milter add: header: X-Greylist: ....
Mar 10 07:20:19 host sm-acceptingconnections[16729]: n2ACK3Zk016729: to=<xxxxx@...>, delay=00:00:02, mailer=virthostmail, pri=32541, stat=queued

spamd also will report non-spam messages with the same score report:

Mar 11 15:50:01 host spamd[23462]: spamd: clean message (5.0/5.0) for (unknown):98 in 2.1 seconds, 4701 bytes.

I tried using just spamd without the > score and it did not work.  Of course, I wanted to differentiate between high-scoring spam and regular spam, so I'd like for the score to work.

dacl blacklist rcpt /.*@.*/ spamd > 10 msg "Your message is considered high-scoring spam by SpamAssassin."
dacl blacklist rcpt /.*@.*/ spamd > 5 msg "Your message is considered spam by SpamAssassin.  Contact support@uuism.net if this is an error."

Jim

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.