I have successfully set up spamassassin on my Red Hat 8 box but I
thought I'd try to install a new version so I could use the Bayesian
filters.
****************
Old version:
After installing the rpm, all I needed was a .forward file:
"| /usr/bin/spamassassin || exit 75"
and I also needed to add a sym link to spamassassin in the /etc/smrsh
directory. It worked fine.
****************
New version 2.44 and 2.55 (I got the 2.44 from Red Hat 9, I got the
2.55 from the spamassassin web site):
My email just disappears, but there are some words about needing to
use procmail to invoke spamassassin. So, I changed my .forward:
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran"
And, I added a .procmailrc:
:0fw: spamassassin.lock
| /usr/bin/spamassassin
I added /usr/bin/procmail symlink to /etc/smrsh.
I get messages in /var/log/maillog like this:
Jul 7 13:24:10 pent584 smrsh: uid 21245: attempt to use "IFS=' ' &&
exec /usr/bin/procmail -f- || exit 75 #bcurran" (stat failed)
Jul 7 13:24:10 pent584 sendmail[22616]: h67HO9OM022615: to="|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran",
ctladdr=<bcurran(a)pent584.us.dg.com> (21245/111), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30518, dsn=5.0.0, stat=Service unavailable
Jul 7 13:24:10 pent584 sendmail[22616]: h67HO9OM022615: h67HOAOM022616: DSN: Service unavailable
Jul 7 13:24:10 pent584 smrsh: uid 21245: attempt to use "IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran" (stat failed)
Jul 7 13:24:10 pent584 sendmail[22616]: h67HOAOM022616: to="|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran", ctladdr=<bcurran(a)pent584.us.dg.com> (21245/111), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=31542, dsn=5.0.0, stat=Service unavailable
Jul 7 13:24:10 pent584 sendmail[22616]: h67HOAOM022616: h67HOAON022616: return to sender: Service unavailable
Jul 7 13:24:10 pent584 smrsh: uid 21245: attempt to use "IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran" (stat failed)
Jul 7 13:24:10 pent584 sendmail[22616]: h67HOAON022616: to="|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran", ctladdr=bcurran (21245/111), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=32566, dsn=5.0.0, stat=Service unavailable
****************
My best guess is that the .forward file isn't right, and I'm haven't
been a procmail user, so I'm not at all sure what it needs. I got the
.forward contents from the spamassassin docs.
Any ideas what I need to do?
TIA,
Bill