[EMAIL PROTECTED] wrote:
> The continuing saga of trying to get MySQLUIDInSignature to work. No go. 
> It's like Dspam just totally ignores the user id in the signature. 2 is 
> the correct user id. 
> 

I've been having similar problems getting it to work in 3.8.0 - dspam
exits without error and without doing anything.

> to=<[EMAIL PROTECTED]>, relay=local, delay=3.4, 
> delays=0.61/0.09/0/2.7, dsn=2.0.0, status=sent (delivered to command: 
> /usr/local/bin/dspam --user globaluser --class=innocent --source=error)
> 
> I'm pretty sure I read that dspam is being run as nobody when called 
> through a Postfix alias. nobody is a trusted user for dspam. 
> 
> My postfix aliases:
> 
> train-spam:     "|/usr/local/bin/dspam --user globaluser --class=spam 
> --source=error"
> train-ham:      "|/usr/local/bin/dspam --user globaluser --class=innocent 
> --source=error"

I'm using a postfix delivery agent to do it:

dspam-add     unix      -       n       n       -       10      pipe
   flags=Rhu user=dspam argv=/usr/bin/dspam --source=error --class=spam
--user root

I don't have any logs - I haven't figured out how to get dspam to
generate any other than the user/system per-message logs.  If I try to
turn on debug support it just dies without doing anything (which seems
to be a common problem).  On gentoo debug support turns on both debug
and bnr-debug.  Perhaps I should enable syslog support, but I'm almost
afraid to since it tends to break so easily...  :)

Reply via email to