Tom Ray wrote:
> 
> I'm trying to do the same thing that David is doing. I have spamd
> running with --config-virtual-dir=/mail/%d/mail/%l so it should expand
> to mail/detroitonline.com/mail/tom for any email being sent to me.
> 
> Within my directory I have a directory called ".spamassassin" and
> within that I have a user_prefs file. I have my score set to 2 while
> the global is set to 5.

I think this is your problem.  With the setting shown above, it will
look for your user_prefs file in the directory specified:

    /mail/detroitonline.com/mail/tom/user_prefs

Maybe you want this instead:

    --config-virtual-dir=/mail/%d/mail/%l/.spamassassin

> Within exim I have spamc set to run as "spamc -u
> [EMAIL PROTECTED]" which does expand to [EMAIL PROTECTED]
> However I can't find the logfile that David refers to. Spamd start up,
> stops, etc all display with in my syslog as to any -D messages. So I
> have a couple questions..

Right, everything should go to syslog.

> 1) Where do I find that entry at that David refers to?

Syslog.

> 2) Spam is being scanned but it's being scored out of 5 instead of 2
> which means it's reading the global file and not my user file.

Because it's looking in the wrong place for your user_prefs.  See
above.

> 3) It is my understanding that spamc needs to run as a user on the
> machine, but if these are virtual accounts and don't exist on the
> machine how will spamc run everything? In Exim the user exim runs
> everything and all mail files and directories have to be set with exim
> as the user and group.

Exactly.  If the user exim owns the directories, spamc should run as
that user.  You then use the -u option to determine where SA looks
for the user_prefs, Bayes, and AWL files.

> 4) Am I doing this right? I've laid out my specs before and asked that
> but no ones said yes or no.

Pretty close.  Just make the change shown above and you should be
fine.

-- 
Bowie

Reply via email to