[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sa-exim: What user does spamassassin run as?

On Wed, Oct 15, 2003 at 01:21:58AM -0700, Paul Johnson wrote:
| Does sa-exim suid to the user recieving the mail when it runs?

No, this is not feasible -- consider multi-recipient messages.

You can, however, point sa-exim to a wrapper command around spamc to
tell spamc what user to do the scanning as (since the spamd daemon is
root and can setuid() to the requested user).  Note that sa-exim still
only scans each message once regardless of the number of recipients.

The other method I've documented for integrating sa with exim performs
the processing after the message is accepted and on the queue and
scans the message once per recipient.


Q:      What's the difference between a computer salesman and a used
        car salesman?
A:      A used car salesman knows when he's lying.

Attachment: pgpmmnL62UfRQ.pgp
Description: PGP signature

Reply to: