Re: [SLUG] spamassassin vs pine

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Jan 18 2006 - 17:53:11 EST


On Wed, 18 Jan 2006, Mike Branda wrote:

> On Wed, 2006-01-18 at 11:41 -0500, Eben King wrote:
> > On Wed, 18 Jan 2006, Mike Branda wrote:
> >
> > > Send yourself the GTUBE test message:
> > >
> > > http://spamassassin.apache.org/gtube/
> > >
> > > and see if it gets caught and dropped in your spam folder.
> > >
> > > Alternatively, or if that doesn't show up anywhere, I'd bump up the
> > > logging on SA and procmail.
> >
> > OK, I went to that page, but I don't see any way to send mail from it. I'm
> > using FF 1.5 on XP now; normally Opera 7.5 on Linux.
>
> You can send it to yourself. Newer versions of SA allow this as it
> doesn't pollute the auto-whitelist as it used to. Copy the string on
> that page into the body of an e-mail with no spaces using your normal
> e-mail client. Just don't train SA on it after it catches it. Use mutt
> or another to delete the message from the alternate spam mbox.

Did that, fetchmail got it ("reading message 1 of 1 (1382 octets) .
flushed"), never saw it. I put "| spamassassin -D" in .procmailrc, and
the message disappeared. I see this in /var/log/maillog:

Jan 18 15:21:26 pc sendmail[5122]: k0IKLQZm005122: from=<eben1@tampabay.rr.com>, size=1475, class=0, nrcpts=1, msgid=<Pine.LNX.4.44.0601181520450.29125-100000@pc.tampabay.rr.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 18 15:21:27 pc sendmail[5123]: k0IKLQZm005122: to=<eben@localhost>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31660, dsn=2.0.0, stat=Sent
                   ^^^^^^^^
That isn't SA.

When I use "| spamassassin -D 255", the message appears in my Inbox, free of
any signs that Spamassassin had examined it. I guess SA barfed on the
illegal syntax. Nothing is logged, except lines similar to those above.
"| spamassassin -D rulesrun=255" makes it vanish.

I commented out my additions to /etc/mail/spamassassin/local.cf
("required_score 0" and "include scores.2006-01-15"), same effect.

> http://wiki.apache.org/spamassassin/TestingInstallation

OK, that says feed spamassassin a file in /usr/share/spamassassin/doc .
That directory doesn't exist. What have you used to replace that file?

> > Bump up the logging?
>
> spamassassin -D ? I know it logs errors to syslog but at a very quiet
> level.

>From spamassassin(1):

,--
| -D [area=n,...], --debug [area=n,...]
| Produce diagnostic output. The level of diagnostic output can be set
| for each area separately; area is the area of the code to instrument,
| and n is a positive or negative number indicating the debug level or
| bitmask for that area of code. For example, to produce diagnostic
| output on all rules that hit, use:
|
| spamassassin -D rulesrun=255
'--

Doesn't say what the available areas _are_. It does indicate the area is
optional...

See above for results.

> Also found this:
>
> http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Logger.html

See that. Do I need to load that module (how?), or just use the functions
(in local.cf?)?

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
Are you confident that you appear to be professional in your electronic
communication?  Consider this: A: No
                               Q: Can I top post? from nick@xx.co.uk

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:45:43 EDT