For ages I've been running my email through regular spamassassin... the 
appropriate bits of my maildroprc being:

import SENDER

if ($SENDER ne "")
{
        FROM=$SENDER
}
else
{
        FROM="unknown"
}

CLEAN_FROM=escape($FROM);

if ($SIZE < 65536)
{
        exception {
                xfilter "/usr/bin/spamassassin"
        }
}

Since the amound of spam I'm getting has been on the increase, I thought I 
would change to running spamassassin in spamd/spamc mode.

So... changed maildroprc to do xfilter "/usr/bin/spamc"

But now its going horribly wrong.


Jan 17 16:49:15 caslon courieresmtpd: started,ip=[64.4.35.19]
Jan 17 16:49:16 caslon courierd: newmsg,id=0022905E.43CD11FC.00002371: dns; 
hotmail.com (bay12-f19.bay12.hotmail.com [64.4.35.19])
Jan 17 16:49:16 caslon courierd: 
started,id=0022905E.43CD11FC.00002371,from=<[EMAIL 
PROTECTED]>,module=local,[EMAIL 
PROTECTED]/home/mail/XXX.com/dsomers!!,addr=<[EMAIL PROTECTED]>
Jan 17 16:49:16 caslon courierd: Waiting.  shutdown time=none, wakeup 
time=none, queuedelivering=1, inprogress=1
Jan 17 16:49:16 caslon courierlocal: 
id=0022905E.43CD11FC.00002371,from=<[EMAIL PROTECTED]>,addr=<[EMAIL 
PROTECTED]>: 
getpwuid() failed: Success
Jan 17 16:49:16 caslon courierlocal: 
id=0022905E.43CD11FC.00002371,from=<[EMAIL PROTECTED]>,addr=<[EMAIL 
PROTECTED]>: 
maildrop: error writing to filter.
Jan 17 16:49:16 caslon courierlocal: 
id=0022905E.43CD11FC.00002371,from=<[EMAIL PROTECTED]>,addr=<[EMAIL 
PROTECTED]>,size=1710,success: 
Message delivered.
Jan 17 16:49:16 caslon courierd: completed,id=0022905E.43CD11FC.00002371


Its strange that getpwuid is failing in courierlocal, since in the previous 
line, courier correctly knows the location (yep: I'm doing virtual hosting 
here).

I assume that this is because I've somehow got the configuration wrong 
somewhere. Any solutions welcome!

Cheers,
David


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to