Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread Sidney Markowitz
On Tue, 2002-03-19 at 14:29, AHA Lists wrote: > > Here is what I have in my procmailrc file, what is the syntax error? > > :0fw > | spamc > /home/Mail-SpamAssassin-2.11/rules I'm guessing that the rules file is supposed to be an argument to spamc of a file that contains your custom rules, you h

Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread Bart Schaefer
On Tue, 19 Mar 2002, AHA Lists wrote: > Here is what I have in my procmailrc file, what is the syntax error? > > :0fw > | spamc > /home/Mail-SpamAssassin-2.11/rules What is "/home/Mail-SpamAssassin-2.11/rules" doing there on a line by itself? That's the syntax error. What is it that you inten

Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread Theo Van Dinter
On Tue, Mar 19, 2002 at 04:29:00PM -0600, AHA Lists wrote: > :0fw > | spamc > /home/Mail-SpamAssassin-2.11/rules What are you trying to do? If spamc returns "it's spam", save to the rules file? Try something like: :0fw | spamc -f :0e EXITCODE=$? :0 * ^X-Spam-Flag: YES /home/Mail-SpamAssassin

Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread AHA Lists
on 3/19/02 4:14 PM, Bart Schaefer at [EMAIL PROTECTED] wrote: > On Tue, 19 Mar 2002, AHA Lists wrote: > >> Why am I getting the errors; >> Still running as root: user not specified, not found, or set to root. Fall >> back to nobody. >> >> And why does the procmail log say >> procmail: Skipped

Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread Bart Schaefer
On Tue, 19 Mar 2002, AHA Lists wrote: > Why am I getting the errors; > Still running as root: user not specified, not found, or set to root. Fall > back to nobody. > > And why does the procmail log say > procmail: Skipped "/home/Mail-SpamAssassin-2.11/rules" Both of these indicate that you hav

Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread AHA Lists
If I want spamd to run as root do I still have to put -u root in the startup? My sendmail already runs as root so having spamd run as root is fine for me. Why am I getting the errors; Still running as root: user not specified, not found, or set to root. Fall back to nobody. And why does the pr

Re: [SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread Jeffrey Bacon
if you use the -u option on spamd when you start it you can specify the username it will run as. By default, it runs a root and does a setuid() call to the user who invokes spamc. I use Red Hat and the init script that comes with spamd to start it. I just added "-u mail" (mail is me sendmai

[SAtalk] Spamd, sendmail, and procmail on a raq3

2002-03-19 Thread AHA Lists
I got spamd running as root, I have spamc being called in procmail. No email is being tagged, I get these errors in my maillog Mar 19 14:08:16 www spamd[12541]: connection from localhost [ 127.0.0.1 ] at port 4346 Mar 19 14:08:16 www spamd[13624]: Still running as root: user not specified, not