debian-bugs-dist.lists.debian.org
[Top] [All Lists]

Bug#273487: spamass-milter: user config is ignored

Subject: Bug#273487: spamass-milter: user config is ignored
From: Don Armstrong
Date: Thu, 30 Sep 2004 14:02:31 -0700
On Thu, 30 Sep 2004, Evgeny Stambulchik wrote:

> Don Armstrong wrote:
> >On Sun, 26 Sep 2004, Evgeny Stambulchik wrote:
> >
> >>I have OPTIONS="-u defaultuser" in /etc/default/spamass-milter, yet
> >>user config is ignored. Filtering by spamc via ~/.procmailrc works
> >>fine. May be this is because I use LDAP user database.
> >
> >
> >The -u option specifies the default user to choose when spamass-milter
> >can't figure out what user it should be run as. It doesn't do per-user 
> >filtering. 

Rrr... this is incorrect. I mean that per-user filtering is on by
default, not that the -u flag doesn't enable it.
 
> Then the default /etc/default/spamass-milter is confusing (and so
> the man page is). One sees this comment there:

 -u defaultuser

Pass the username part of the first recipient to spamc with the -u
flag.  This allows user preferences files to be used. If the message
is addressed to multiple recipients, the username defaultuser is
passed instead.

> # Default, use per user settings
> OPTIONS="-u defaultuser"

Yeah, that's right.
 
> >It doesn't do per-user filtering. [That's always on by default.]
> 
> Well, here, it is NOT.

Give me the pertinent output in /var/log/mail/mail.log [or
/var/log/mail.log]

You should see something like the following:

Sep 28 21:01:19 epsilon sm-mta[14138]: i8T41GMa014138: 
from=<anastasia.price_la@xxxxxxxxxxxxxxxxx>, size=672, class=0, nrcpts=1, 
msgid=<300801c4a613$f45fb844
$7a76e91d@xxxxxxxx>, proto=SMTP, daemon=MSA, relay=[210.97.185.28]
Sep 28 21:01:19 epsilon spamd[773]: connection from localhost [127.0.0.1] at 
port 35990
Sep 28 21:01:19 epsilon spamd[773]: info: setuid to don succeeded
Sep 28 21:01:19 epsilon spamd[773]: processing message 
<300801c4a613$f45fb844$7a76e91d@xxxxxxxx> for don:501.
Sep 28 21:01:24 epsilon spamd[773]: identified spam (31.5/5.0) for don:501 in 
5.2 seconds, 858 bytes.
Sep 28 21:01:24 epsilon spamd[773]: result: Y 31 - 
BAYES_99,DRUGS_ANXIETY,DRUGS_ANXIETY_OBFU,DRUGS_PAIN,DRUGS_PAIN_OBFU,HTML_40_50,HTML_MESSAGE,LINES_OF_YELL
ING,MIME_HTML_ONLY,MSGID_DOLLARS,RATWARE_ZERO_TZ,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DSBL,RCVD_IN_XBL,SUBJECT_DRUG_GAP_VIC,URIBL_AB_SURBL,URIBL_OB_SURBL,URIBL_SBL
,URIBL_SC_SURBL,URIBL_WS_SURBL 
scantime=5.2,size=858,mid=<300801c4a613$f45fb844$7a76e91d@xxxxxxxx>,bayes=0.999999326178197,autolearn=spam
Sep 28 21:01:24 epsilon sm-mta[14138]: i8T41GMa014138: Milter add: header: 
X-Spam-Flag: YES
Sep 28 21:01:24 epsilon sm-mta[14138]: i8T41GMa014138: Milter add: header: 
X-Spam-Status: Yes, score=31.5 required=5.0 
tests=BAYES_99,DRUGS_ANXIETY,\n\tDRUGS
_ANXIETY_OBFU,DRUGS_PAIN,DRUGS_PAIN_OBFU,HTML_40_50,HTML_MESSAGE,\n\tLINES_OF_YELLING,MIME_HTML_ONLY,MSGID_DOLLARS,RATWARE_ZERO_TZ,\n\tRCVD_IN_BL_SPAMCOP_NET
,RCVD_IN_DSBL,RCVD_IN_XBL,SUBJECT_DRUG_GAP_VIC,\n\tURIBL_AB_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL,URIBL_WS_SURBL
 \n\tautolearn=spam version=3.0.0-pre
4
Sep 28 21:01:24 epsilon sm-mta[14138]: i8T41GMa014138: Milter: data, reject=550 
5.7.1 Blocked by SpamAssassin
Sep 28 21:01:24 epsilon sm-mta[14138]: i8T41GMa014138: 
to=<don@xxxxxxxxxxxxxxxx>, delay=00:00:06, pri=30672, stat=Blocked by 
SpamAssassin



Don Armstrong

-- 
Those who begin coercive elimination of dissent soon find themselves
exterminating dissenters. Compulsory unification of opinion achieves
only the unanimity of the graveyard.
 -- Justice Roberts in 319 U.S. 624 (1943)

http://www.donarmstrong.com                                 rzlab.ucr.edu">http://rzlab.ucr.edu
<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy