No - when I ran the command, it gave me no error, and exited with 0, but the 
message was not delivered.

Well, I ran a couple more test messages and even with text in the body and 
subject, there are no tokens...
the header (with tokens configured to be displayed in the header) shows me:

X-DSPAM-Result: Virus
X-DSPAM-Processed: Fri Apr 16 09:56:34 2010
X-DSPAM-Confidence: 1.0000
X-DSPAM-Improbability: 1 in 98689407 chance of being ham
X-DSPAM-Probability: 1.0000
X-DSPAM-Signature: 1,4bc896c2201651763413809


The id's you requested:
uid=8(mail) gid=12(mail) groups=12(mail)
uid=48(apache) gid=548 groups=548
uid=551(dspam) gid=105(monit) groups=105(monit),12(mail),51(smmsp)






________________________________
From: Stevan Bajić <ste...@bajic.ch>
To: dspam-user@lists.sourceforge.net
Sent: Fri, April 16, 2010 6:13:52 PM
Subject: Re: [Dspam-user] clamav / quarantine

On Fri, 16 Apr 2010 09:06:40 -0700 (PDT)
john espiro <john_esp...@yahoo.com> wrote:

> 1.) There are no errors returned when running the command.
> 2.) Debug log is at the end of the message
> 3.)  stat on /usr/bin/dspam
>   File: `/usr/bin/dspam'
>   Size: 134841          Blocks: 272        IO Block: 4096   regular file
> Device: 95h/149d        Inode: 66554704    Links: 1
> Access: (2510/-r-x--s---)  Uid: (    0/    root)   Gid: (   12/    mail)
> Access: 2010-04-11 06:35:55.000000000 -0700
> Modify: 2010-04-11 06:35:55.000000000 -0700
> Change: 2010-04-11 06:35:57.000000000 -0700
> 
> 
> Debug.log
> 
> No QuarantineAgent option found. Using standard quarantine.
> DSPAM Instance Startup
> input args: dspam --deliver=innocent --debug --class=innocent --source=error 
> --user john_es -d %u
> pass-thru args: /usr/bin/procmail -d %u
> processing user john_es
> uid = 0, euid = 0, gid = 0, egid = 12
> loading preferences for user john_es
> _mysql_drv_getpwnam: successful returning struct for name: john_es
> Loading preferences for uid 1
> Loading preferences for uid 0
> loaded default preferences externally
> using /var/dspam/opt-in/john_es.dspam as path
> using /var/dspam/opt-out/john_es.nodspam as path
> adding user to merged group global
> sedation level set to: 0
> _mysql_drv_getpwnam: successful returning struct for name: john_es
> _mysql_drv_getpwnam: successful returning struct for name: global
> found signature '1,4bc8889a133341338634443'
> _mysql_drv_getpwnam: successful returning struct for name: john_es
> _mysql_drv_getpwnam returning cached name john_es.
> _mysql_drv_getpwnam: successful returning struct for name: john_es
> _mysql_drv_getpwnam: successful returning struct for name: global
> loading preferences for user john_es
> _mysql_drv_getpwnam: successful returning struct for name: john_es
> Loading preferences for uid 1
> Loading preferences for uid 0
> loaded default preferences externally
> processing signature.  length: 8
> reversing 0 tokens
> reclassifying iteration 1 result: 0
> _mysql_drv_getpwnam: successful returning struct for name: global
> Loading 1 BNR patterns
> _mysql_drv_getpwnam returning cached name global.
> no tokens found in message
>
Okay. No tokens. Is the mail only having the attachment in it or other stuff as 
well?


> _mysql_drv_getpwnam: successful returning struct for name: john_es
> DSPAM Instance Shutdown.  Exit Code: 0
> 
Exit code 0. So no error when running as root. Did you got the message after 
you have runned the above command?


Could you post the output of:
# id mail
# id apache

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user



      
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to