Quoting Olivier Nicole <[EMAIL PROTECTED]>:

> > when I run spamc < sample-spam.txt > spam.out
> > spamc seems to work; however, when I receive an incoming mail message, I
> get
> 
> Does it work or not? Do you get a SA header in the output?

Running spamc < sample-spam.txt > spam.out
as a non-root user works fine.  I see the SA header in the output.
I also see a message in the maillog file indicating the message was spam.
However, when procmail calls spamc, things do not work, and I get the messages 
in my maillog file that I posted earlier.
 
> > the same error in the maillog:
> > 
> >  Mar 27 16:55:05 mail spamd[2590]: connection from sandman.realtyroad.com
> [
> >  127.0.0.1 ] at port 2017
> >  Mar 27 16:55:05 mail spamd[6207]: Still running as root: user not
> >  specified, not found, or set to root.  Fall back to nobody.
> > 
> > 
> > And no, the mail is not being sent to (or from) the root user.  Why would
> > running spamc (as non root) work; yet, when receiving an e-mail not work?
> 
> Means that spamc hands the message out to spamd.  And that spamd is
> running as root (well you did not change spamd to run as non-root). So
> both messages are not errors.
> 
> Now how do you call spamc from procmail?

:0fw
| spamc

as stated in the www.spamassassin.org/sitewide.html file.
 
> Olivier
> 
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> 


Gene Ruebsamen
Sales Associate
ERA Champion R/E, Inc.
(714) 534-4425

-------------------------------------------------
This mail sent through ERA Champion R/E, Inc.
This private communication is intended for the 
recipient only.
http://www.erachampion.com

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to