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@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@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
I only have the .procmailrc file in use. I'm using the example .procmailrc file from the example and the .spamassassin/user_prefs from the docs in /usr/share/spamassassin/ from my redhat and spamassassin.org rpm install. I'm not using the .forward try removing that and see what happens. On Mon, 7 Jul 2003, Bill Mills-Curran wrote:
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@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@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
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø Karl Hiramoto <karl@hiramoto.org> Work: 978-425-2090 ext 25 Cell: 508-517-4819 http://karl.hiramoto.org/ AOL IM ID = KarlH420 Yahoo_IM = karl_hiramoto ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø You are wise, witty, and wonderful, but you spend too much time reading this sort of trash.
On Mon, Jul 07, 2003 at 02:21:40PM -0400, Bill Mills-Curran wrote:
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.
Mmmmm, Bayesian filter ...
After installing the rpm, all I needed was a .forward file:
"| /usr/bin/spamassassin || exit 75"
You used SA for delivery which wasn't suggested. That functionality was removed a while ago (2.40?)
My email just disappears, but there are some words about needing to
Yeah, SA doesn't deliver mail anymore. There were big warnings in the INSTALL and/or README doc about it.
use procmail to invoke spamassassin. So, I changed my .forward:
You don't need procmail if you're going to use it site-wide (ie: via MTA), but most people use procmail. FYI.
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #bcurran"
Just get rid of the .forward. The default in Linux (and definately in RH) is to have procmail be the local delivery agent (LDA). So procmail ought to already be in /etc/smrsh, and you can just use a .procmailrc and it'll automatically be read during delivery. If you had to make the symlink and such, you'll want to check your setup to see if you're doing something custom.
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.
Some platforms need that, some don't. We should probably change that section of the docs to be more clear about things. -- Randomly Generated Tagline: "The way of the warrior is one of peace interrupted by an occasional unavoidable ass-kicking." - unknown
Theo, Thanks for straightening me out about spamassassin. It's working like a champ now. Thanks, Bill
participants (3)
-
Bill Mills-Curran
-
Karl Hiramoto
-
Theo Van Dinter