When spamassissin gets invoked by procmail, I get the following in the procmail log file:

.
.
procmail: Locking "/home/footoo/spamassassin.lock"
procmail: Error while writing to "/usr/local/perl/bin/spamassassin"
procmail: Rescue of unfiltered data failed
procmail: Rescue of unfiltered data failed
procmail: Unlocking "/home/footoo/spamassassin.lock"
procmail: Assigning "EXITCODE=74"
.
.

The 'spamc' documentation says that exitcode of 74 is EX_IOERR, an input/output error. Is this the same for 'spamassassin'?

And more importantly, does anyone know why this is happenning?

Here are the details of my installation that I have figured out might be relevant.

1) using sendmail 8.12.9
2) using procmail to invoke spamassassin without a .forward file (sendmail filters using procmail if ~/.procmailrc exists)
3) the snippet of the procmailrc file which invokes spamassassin:
4) spamassassin doesn't look like it is being started at all since it never tries to create a .spamassassin directory (in the hopes that it was having problems creating one, I created one for the user but it still didn't help)


VERBOSE=on
LOGFILE=$HOME/proc.log
LOCKFILE=$HOME/.lockmail


:0fw: /home/footoo/spamassassin.lock * < 256000 | /usr/local/perl/bin/spamassassin

:0e
{
   EXITCODE=$?
}


I will be happy to provide any more information that anyone needs, so far this is all I have figured out is relevant. Also, I hate to do this, but does anyone know where exit code 74 is generated in the code, so that I can add some sort of additional error message based on the reason for input/output error -- it is such a broad error message!


Thanks to anyone who can help!

Sincerely,
Andrew

_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to