Currently have the following setup:
Incoming Mail --SMTP--> Postfix --LMTP--> DSPAM --SMTP--> Mail server
Everything works fine, DSPAM is scanning mail, quarantining, and all
that good stuff. Was testing the reclassification and delivery of FP's,
and I'm getting the classic deleted from quarantine and reclassified in
history but failure on delivery. I was thinking the dspam client would
inject the message back into the daemon and then it would get delivered
via SMTP as usual, but there seems to be a failure and I can't nail it
down.
>From configure.pl :
$CONFIG{'DSPAM_ARGS'} = "--client --deliver=innocent --class=innocent
" .
"--source=error --user %CURRENT_USER% -d %u";
Default line with "--client" to utilize the daemon.
Now here's where it gets interesting.
With 'ClientHost' and 'ClientIdent' specified in dspam.conf, I get
nothing in dspam.debug, but I get this in my mail.log :
Aug 3 16:12:01 [dspam] signature retrieval for
'42f14712303921837837720' failed
Aug 3 16:12:01 [dspam] unable to find signature; bailing.
Aug 3 16:12:01 [dspam] process_message returned error -5. dropping
message.
With 'ClientHost' and 'ClientIdent' commented out I get the same lines
in mail.log, but I also get this in dspam.debug.
4353: [8/3/2005 16:10:12] DSPAM Instance Startup
4353: [8/3/2005 16:10:12] input args: /usr/local/bin/dspam --client
--deliver=innocent --class=innocent --source=error --user
user@example.com -d %u
4353: [8/3/2005 16:10:12] pass-thru args: -d %u
4353: [8/3/2005 16:10:12] processing user user@example.com
4353: [8/3/2005 16:10:12] uid = 81, euid = 81, gid = 81, egid = 442
4353: [8/3/2005 16:10:12] Loading preferences for user user@example.com
4353: [8/3/2005 16:10:12] Loading preferences for uid 1
4353: [8/3/2005 16:10:12] Loading preferences from dspam.conf
4353: [8/3/2005 16:10:12] Ignoring Disallowed Preference 'optIn'
4353: [8/3/2005 16:10:12] Ignoring Disallowed Preference 'optOut'
4353: [8/3/2005 16:10:12] Ignoring Disallowed Preference
'signatureLocation'
4353: [8/3/2005 16:10:12] using
/var/spool/dspam/opt-in/user@example.com.dspam as path
4353: [8/3/2005 16:10:12] using
/var/spool/dspam/opt-out/user@example.com.nodspam as path
4353: [8/3/2005 16:10:12] sedation level set to: 0
4353: [8/3/2005 16:10:12] mysql_fetch_row() failed in _ds_get_signature
4353: [8/3/2005 16:10:12] signature retrieval for
'42f14b42305671234720752' failed
4353: [8/3/2005 16:10:12] signature retrieval for
'42f14b42305671234720752' failed
4353: [8/3/2005 16:10:12] unable to find signature; bailing.
4353: [8/3/2005 16:10:12] unable to find signature; bailing.
4353: [8/3/2005 16:10:12] process_message returned error -5. dropping
message.
4353: [8/3/2005 16:10:12] process_message returned error -5. dropping
message.
4353: [8/3/2005 16:10:12] DSPAM Instance Shutdown. Exit Code: 0
So it looks like I have two problems. One being LMTP client is not
configured correctly, and two, signature retrieval is failing. Looking
for help on both these issues as I'm not seeing something here.
Relevant parts of dspam.conf:
ServerMode auto
ServerPass.Relay1 "password"
ServerParameters "--deliver=innocent -d %u"
ServerDomainSocketPath "/var/run/dspam/dspam.sock"
ClientHost /var/run/dspam/dspam.sock
ClientIdent "password@Relay1"
Configuration parameters: --disable-trusted-user-security --enable-debug
--enable-preferences-extension --enable-long-usernames
--enable-virtual-users --with-dspam-home=/var/spool/dspam
--with-dspam-home-owner=dspam --with-dspam-home-group=dspam
--with-dspam-owner=dspam --with-dspam-group=dspam
--with-logdir=/var/log/dspam --with-storage-driver=mysql_drv
--with-mysql-includes=/usr/include/mysql
--with-mysql-libraries=/usr/lib/mysql --enable-daemon
Apache is in the dspam group because I can't get suexec to work to save
my life :)
Received on Wed Aug 3 19:37:52 2005
This archive was generated by hypermail 2.1.8 : Thu Sep 29 2005 - 13:51:28 EDT