Swapana Ghosh wrote:
>     I have installed the spamassassin 2.41 in my local
> server. My intention is to upgrade it to 2.55.
> So after installing the spamassassin then i am running
> the procmailrc [which i kept under /etc directory ] ,
> i have started *spamd* , the Option at spamd startup
> script i kept as follows:
> 
>  OPTIONS="-d -c -a "

... which runs spamd as a daemon which will auto-create user-prefs and
AWL files as necessary for each user.  Or should, anyway;  I've yet to
see it fail since ~2.3x (when I started using SA).

> While sending mail from one user to another locally, i
> am seeing the error in the log file as follows:

> Aug  6 00:07:29 datta spamd[31302]: Still running as
> root: user not specified, not found, or set to root.
> Fall back to nobody.

This is not an error, more of a warning.

> Aug  6 00:07:29 datta spamd[31302]: processing message
> <[EMAIL PROTECTED]>
> for root:99, expecting 717 bytes.
> Aug  6 00:07:34 datta spamd[31302]: clean message
> (1.6/5.0) for root:99 in   6 seconds, 717 bytes.

This is normal.  *Every* message passed through spamc/spamd should
generate such entries- unless you've got your syslog set up to ignore
mail.info logging.

> Now i set the optins at spamd as follows:
> 
>  OPTIONS="-d -c -a -u mail"

Which runs spamd as user mail, which BREAKS normal per-user setup.  This
should only be used for a site-wide setup that calls SA from the MTA
directly, rather than at delivery.

For a system-wide per-user setup, called from individual .procmailrc
files, you want the -u option to be on the spamc call in the
.procmailrc, NOT on spamd.  spamd MUST run as root in order to be able
to drop priviledges down to any particular user...

> No auto-whitelist file is being created anywhere...

You should have seen a .spamassassin directory created in the home
directory of an account receiving its first message processed by SA via
spamc/spamd.  Within that directory, you should (usually) see a
user_prefs file, and an auto_whitelist file.

-kgd
-- 
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to