Hi, I'm trying to configure SpamAssassin to run on my RH7.0 server. Procmail was installed with the inital setup. I've added the following line to my .forward file: "|IFS=' ' && exec /etc/smrsh/procmail -f- || exit 75 #test" I've also tried: "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #test" The user I'm trying this out on is "test". There is a .procmailrc file in /home/test/ just like what's described in the SpamAssassin INSTALL file. I've added a sym link for procmail in /etc/smrsh to /usr/bin/procmail. My sendmail.mc file has the following line: FEATURE(`smrsh',`/usr/sbin/smrsh')dnl When I send mail to test, it bounces back with this error: ----- The following addresses had permanent fatal errors ----- "|IFS=' ' && exec /etc/smrsh/procmail -f- || exit 75 #test" (reason: 550 Unsafe for mailing to programs) (expanded from: <test@fiero.net>) I've scoured the net for info on setting this up properly and have tried everything that's been suggested. I'm at a loss what else is causing this problem. Any insight would be appreciated. Thanks! jim
On Thu, Sep 26, 2002 at 01:50:50PM -0400, Jim Lund wrote:
I'm trying to configure SpamAssassin to run on my RH7.0 server. Procmail was installed with the inital setup. I've added the following line to my .forward file:
"|IFS=' ' && exec /etc/smrsh/procmail -f- || exit 75 #test"
I've also tried: "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #test"
Well, procmail is the default local delivery agent on RedHat (and all Linux distros I believe), so you don't need that .forward thing. To double check though, do this: $ grep ^Mlocal /etc/mail/sendmail.cf Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, If you get that line back with procmail get rid of the .forward stuff and your .procmailrc should just work. -- Randomly Generated Tagline: "As a general rule, don't solve puzzles that open portals to Hell." - Unknown
participants (2)
-
Jim Lund
-
Theo Van Dinter