procmail
[Top] [All Lists]

Re: procmail doesn't want to run spamassassin

2003-11-28 02:44:34
On 28/11/03, at  09:49 +0100, Peter Rosa <prosa(_at_)pro(_dot_)sk>  babbled:

Check if you have at least exec/read permissions to the whole path
/usr/bin/spamasassin

-------------------------------------------------------------------
(didierbe(_at_)sps:didierbe)$ ls -al /usr/bin/spamassassin 
-rwxr-xr-x    1 root     root        16487 Jun 11  2002
/usr/bin/spamassassin

(didierbe(_at_)sps:didierbe)$ ls -al /usr/bin/locate 
-rwxr-xr-x    1 root     root         8768 Jun  2  2001 /usr/bin/locate

(didierbe(_at_)sps:didierbe)$ ls -al /usr/bin/lynx   
-rwxr-xr-x    1 root     root      1091272 Dec 11  2002 /usr/bin/lynx

--------------------------------------------------------------------

Everything in the /usr/bin folder is chmoded 755 with root ownership. I
can easily access all of them. I can even execute spamassassin in a
shell. The only problem is with procmail!

With kind regards,  

Didier.



Peter

----- Original Message -----
From: "Didier Casse" <didierbe(_at_)sps(_dot_)nus(_dot_)edu(_dot_)sg>
To: <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Friday, November 28, 2003 8:29 AM
Subject: procmail doesn't want to run spamassassin


Hi all,
        I just installed spamassassin and wrote the usual procmail code

--------------------------------
:0fw: spamassassin.lock
| /usr/bin/spamassassin

:0:
* ^X-Spam-Status: Yes
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
${MAILDIR}/SPAM_DUMPSTER
----------------------------------
(Note: this is the selected portion of my ~/.procmailrc)

and im my procmail.log I got this:

---------------------------------------------------------------------
--- Logging /home/stu99/didierbe/mail/procmail.log for didierbe,
/usr/bin/spamassassin:

/usr/bin/spamassassin: No such file or directory
procmail: Error while writing to "/usr/bin/spamassassin"
procmail: Rescue of unfiltered data succeeded
----------------------------------------------------------------------

It seems that procmail can't trigger spamassassin, which btw is really
found in /usr/bin directory! I looked through Google but I couldn't find a
straightforward answer to this. Can anybody help me? Thanks a a lot.

With kind regards,

Didier.

---
PhD student

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg \or\
didierbe at sps dot nus dot edu dot sg
Website: http://ssls.nus.edu.sg





_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>