Hello,

I am trying to use DSPAM as a Postfix deliver proxy as outlined in /usr/share/doc/dspam-doc/postfix.txt.gz. I followed the directions almost exactly. Since my PostFix is chrooted, I set the socket to be in the chroot jail in /var/spool/postfix/tmp/dspam.sock.

DSPAM seems to run fine and messages arrive in my inbox. I see messages in dspam.messages log file. However, there are no DSPAM headers at all in the e-mails. Also, dspam_stats returns nothing. There are no rows at all in my mysql database....nothing is happening?! How do I tell if anything is happening!?!

In my mail.log, I see Postfix relaying the mail to dspam:

Aug 30 04:35:38 porttown postfix/lmtp[16919]: 7549AC81FC: to=<[EMAIL PROTECTED]>, relay=/tmp/dspam.sock[/tmp/dspam.sock], delay=0, status=sent (250 2.6.0 <[EMAIL PROTECTED]> Message accepted for delivery)

Heres some debug output from "dspam --debug --daemon":

16484: [08/30/2007 04:35:38] DSPAM Instance Startup
16484: [08/30/2007 04:35:38] input args: dspam --deliver=innocent
16484: [08/30/2007 04:35:38] pass-thru args:
16484: [08/30/2007 04:35:38] processing user [EMAIL PROTECTED]
16484: [08/30/2007 04:35:38] uid = 0, euid = 0, gid = 0, egid = 113
16484: [08/30/2007 04:35:38] loading preferences for user [EMAIL PROTECTED]
16484: [08/30/2007 04:35:38] _ds_pref_load: unable to _mysql_drv_getpwnam([EMAIL PROTECTED])
16484: [08/30/2007 04:35:38] Loading preferences for uid 0
16484: [08/30/2007 04:35:38] Loading preferences for uid 0
16484: [08/30/2007 04:35:38] default preferences empty. reverting to dspam.conf preferences.
16484: [08/30/2007 04:35:38] Loading preferences from dspam.conf
16484: [08/30/2007 04:35:38] using /var/spool/dspam/opt-in/fhobia.org/brian.dspam as path 16484: [08/30/2007 04:35:38] using /var/spool/dspam/opt-out/fhobia.org/brian.nodspam as path
16484: [08/30/2007 04:35:38] Establishing connection to 127.0.0.1:10026
16484: [08/30/2007 04:35:38] Connection established
16484: [08/30/2007 04:35:38] No QuarantineAgent option found. Using standard quarantine.
16484: [08/30/2007 04:35:38] using database handle id 2
16484: [08/30/2007 04:35:38] handle locked
16484: [08/30/2007 04:35:38] DSPAM Instance Startup
16484: [08/30/2007 04:35:38] input args: dspam --deliver=innocent
16484: [08/30/2007 04:35:38] pass-thru args:
16484: [08/30/2007 04:35:38] processing user [EMAIL PROTECTED]
16484: [08/30/2007 04:35:38] uid = 0, euid = 0, gid = 0, egid = 113
16484: [08/30/2007 04:35:38] loading preferences for user [EMAIL PROTECTED]
16484: [08/30/2007 04:35:38] _ds_pref_load: unable to _mysql_drv_getpwnam([EMAIL PROTECTED])
16484: [08/30/2007 04:35:38] Loading preferences for uid 0
16484: [08/30/2007 04:35:38] Loading preferences for uid 0
16484: [08/30/2007 04:35:38] default preferences empty. reverting to dspam.conf preferences.
16484: [08/30/2007 04:35:38] Loading preferences from dspam.conf
16484: [08/30/2007 04:35:38] using /var/spool/dspam/opt-in/fhobia.org/brian.dspam as path 16484: [08/30/2007 04:35:38] using /var/spool/dspam/opt-out/fhobia.org/brian.nodspam as path
16484: [08/30/2007 04:35:38] Establishing connection to 127.0.0.1:10026
16484: [08/30/2007 04:35:38] Connection established
16484: [08/30/2007 04:35:38] DSPAM Instance Shutdown.  Exit Code: 0

Any ideas as to what is happening? The only error I notice is that mysql_drv_getpwnam. Other people have talked about compiling with enable-virtual-users, and I've done that...but no luck.

Thank you,
-Brian

Reply via email to