John Fleming wrote:
> I guess I'm running spamc/spamd as root as judged by other entries in
> the mail log.  However, I've always done it this way, and on my
> previous Fedora distro (now Debian), my sa-stats user breakdown
> always worked as expected.  Thus I don't know if the present problem
> is related to running spamc/spamd as root or something else.

How are you calling spamc?  You may have to change your setup a little
to include explicit reference to the real destination user:

  spamc -u {user}

where {user} is a variable of some kind filled in by the caller.

Where you get the information, and how you fill it in, depends on your
specific setup.

> Jul  7 15:03:53 Luke spamd[9239]: info: setuid to root succeeded
> Jul  7 15:03:53 Luke spamd[9239]: Still running as root: user not
> specified with -u, not found, or set to root.  Fall back to nobody.

These two entries are the critical ones.  spamd isn't properly dropping
permissions to the appropriate user for some reason.

So far as spamd is concerned, the message is destined for root.

-kgd
-- 
"Sendmail administration is not black magic.  There are legitimate
technical reasons why it requires the sacrificing of a live chicken."
   - Unknown

Reply via email to