[Top][All Lists]

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

spamass-milter identifies all recipients as 'root'

From: Arjen de Korte
Subject: spamass-milter identifies all recipients as 'root'
Date: Tue, 21 Jan 2003 21:20:11 +0100
User-agent: KMail/1.4.3

Something in the operation of spamass-milter puzzles me. I have the following 
setup over here:

        sendmail 8.12.6
        spamassassin 2.50-cvs
        spamass-milter 0.1.3a

When spamd is called through spamass-milter, for one reason or the other it 
thinks all messages are for 'root' (setuid to 'root'):

Jan 21 20:51:00 linux spamd[11127]: connection from localhost [] at 
port 33560
Jan 21 20:51:00 linux spamd[11163]: info: setuid to root succeeded
Jan 21 20:51:00 linux spamd[11163]: Still running as root: user not specified 
with -u, not found, or set to root.  Fall back to nobody.
Jan 21 20:51:00 linux spamd[11163]: processing
Jan 21 20:51:01 linux spamd[11163]: clean message (0.3/5.0) for root:65534 in 
1.5 seconds, 2340 bytes.
Jan 21 20:51:01 linux sendmail[11160]: h0LJp0Ne011160: Milter add: header: 
X-Spam-Status: No, hits=0.3 required=5.0\n\ttests=MAILMAN_CONFIRM,N
Jan 21 20:51:01 linux sendmail[11168]: h0LJp0Ne011160: 
to=<address@hidden>, delay=00:00:01, xdelay=00:00:00, mailer=local, 
pri=140595,dsn=2.0.0, stat=Sent

When spamd (still running) is called by spamc, spamd correctly identifies the 
recipient as 'arjen' (setuid to 'arjen'):

Jan 21 20:56:57 linux sendmail[11311]: h0LJuv7G011306: 
to=<address@hidden>, delay=00:00:00, xdelay=00:00:00, mailer=local, 
pri=30938, dsn=2.0.0, stat=Sent
Jan 21 20:57:00 linux spamd[11127]: connection from localhost [] at 
port 33563
Jan 21 20:57:00 linux spamd[11316]: info: setuid to arjen succeeded
Jan 21 20:57:02 linux spamd[11316]: processing
Jan 21 20:57:03 linux spamd[11316]: clean message (-2.2/5.0) for arjen:500 in 
2.9 seconds, 973 bytes.

In both cases X-Spam-Status: headers are correctly inserted in the mail.

Why can't spamd correctly identify the recipient and setuid to user 'arjen' 
when it is called through spamass-milter? Why does it think the messages 
(without exception) are for root? Is this because I'm running the 
spamassassin-2.50-cvs, is it in the configuration of spamd or did I miss 
something important in the configuration of spamass-milter?

51 N 25' 05.1" - 05 E 29' 13.3"
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57

reply via email to

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