spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Crosspost] Strange issues with user preferences and spamass-milter


From: Cassandra Lynette Brockett
Subject: [Crosspost] Strange issues with user preferences and spamass-milter
Date: Tue, 3 Jun 2003 16:34:11 -0700

I have seen many entries like this since configuring spamass-milter on my
site (usernames and hosts addresses that count hidden) :-

Jun  3 16:12:16 hotline sendmail[2444]: h53NCEH02444:
from=<address@hidden>, size=3600, class=-60, nrcpts=1,
msgid=<address@hidden>, proto=ESMTP,
daemon=MTA, relay=mailinglist.relay.com [<mailinglist_ip>]
Jun  3 16:12:16 hotline spamd[1366]: connection from localhost.localdomain
[127.0.0.1] at port 4770
Jun  3 16:12:16 hotline spamd[2446]: info: setuid to localuser succeeded
Jun  3 16:12:19 hotline spamd[2446]: processing message
<address@hidden> for localuser:503.
Jun  3 16:12:22 hotline spamd[2446]: clean message (-2.0/5.0) for
localuser:503 in 6.0 seconds, 3661 bytes.
Jun  3 16:12:24 hotline spamd[1366]: connection from localhost.localdomain
[127.0.0.1] at port 4773
Jun  3 16:12:24 hotline spamd[2457]: info: setuid to localuser succeeded
Jun  3 16:12:24 hotline spamd[2457]: processing message
<address@hidden> for localuser:503.
Jun  3 16:12:26 hotline spamd[2457]: clean message (-102.0/5.0) for
localuser:503 in 1.9 seconds, 4125 bytes.
Jun  3 16:12:26 hotline sendmail[2453]: h53NCEH02444:
to=<address@hidden>, delay=00:00:12, xdelay=00:00:04,
mailer=local, pri=139732, dsn=2.0.0, stat=Sent

Yes, spamd is being run twice for each message, this is because I don't want
spamass-milter to do anything but test the message and if it is higher than
a certain value - reject it.

On the first occassion spamd is being called (from what I can tell from
spamass-milter via "spamc -c localuser") and on the second occassion it is
from /etc/procmail as the running user.

All of my site-wide score modifications and user-preferences are in both the
local user_prefs file, and an sql database that is checked when spamd is
called (I patched my spamd process to handle both when called with -q as the
documentation suggests should happen).  As far as I can tell the sql lookup
is being done in both cases, but the system-wide and per-user settings are
not being used in the first instance...  The user in question has a
whitelist for every email originating from the mailinglist in their local
user_prefs file so it should be being tagged with -102.0.  I tried running
the debugging for spamd, but that just runs along as if everything is
working fine, but it still has problems with messages... it is as if
spamass-milter calling "spamc -c localuser" is only running some of the
spamassassing checks for preferences.  Is this a problem with using spamc
with the -c flag?  Also has anyone else noticed this happening for them at
all?

Oh, it's Spamassassin 2.55, spamass-milter 0.1.3a

Regards,
    Cassandra





reply via email to

[Prev in Thread] Current Thread [Next in Thread]