[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mail relay question
From: |
Michael Grant |
Subject: |
Re: mail relay question |
Date: |
Wed, 2 Mar 2005 18:37:04 +0100 |
On Wed, 2 Mar 2005 17:04:11 +0100, Michael Grant
<address@hidden> wrote:
> On Wed, 2 Mar 2005 15:53:37 -0000, Giles Coochey
> <address@hidden> wrote:
> > > -----Original Message-----
> > > From:
> > > address@hidden
> > ongnu.org [mailto:spamass-milt-list->
> > address@hidden On
> > > Behalf Of Michael Grant
> > > Sent: 02 March 2005 15:36
> > > To: address@hidden
> > > Subject: mail relay question
> > >
> > >
> > > Someone can correct me if I'm wrong but when spamass-milter sends mail
> > > to spamd, spamassassin runs as the user who is the recipient of the
> > > mail.
> > >
> > Correct me if I'm wrong but spamd runs as the user which you specify
> > with the "-u" flag to spamd, when run without the "-c" flag for no
> > per-user configuration files. If "-c" is specified I believe the user
> > specified with "-u" is used for every user anyway.
>
> I used to run spamd via procmail and procmail was my delivery method
> in sendmail. (i.e. sendmail called procmail to append a message to a
> user's mailbox). Using this, procmail runs as the user mail is being
> delievered to.
>
> How do you get spamass-milter to do the same thing?
The man page says that if you DON'T specify the -u flag, spamd setuids
to the userid of spamc.
spamass-milter calls spamc, therefore, I think I need the -u flag in
spamass-milter. But does this make spamass-milter set the uid for all
incoming mail or just mail that isn't to someone on my server?
What I want is only relay mail to use the default user and all other
mail to use the real user's preferences file. Is this possible?
> > > If my server is a relay for another server, who does spamassassin run
> > > as and where do I configure things like it's white/black list? And is
> > > there a way to do the autowhitelist?
> > >
> >
> > I have this type of configuration, and use system wide settings for
> > whitelist, blacklist and global bayes db:
> >
> > bayes_file_mode 0770
> > bayes_path /etc/mail/spamassassin/bayes
> >
> >
>
> Is this in /etc/mail/spamassassin/local.cf?
>
This doesn't seem to work for me. I get nothing in the bayes directory.