I am setting up spam on a new server, centos 6, should be the same as other 
servers I have set spam up on, though, they were not Centos 6. 

I sent a test message via the command line mail command. I am running spam in 
verbose debug mode, and, no fork. I used: sudo -s dspam --debug --daemon 
--nofork but the same thing happens when using daemon mode as a real daemon. 
So, the end of the trail is here:

29718: [01/22/2012 15:31:33] _mysql_drv_getpwnam returning cached name test123.
29718: [01/22/2012 15:31:33] Control: [10 10] [10 11] Delta: [0 1]
29718: [01/22/2012 15:31:33] total processing time: 0.00484s
29718: [01/22/2012 15:31:33] match attribute 'Notifications' with value 'on'
29718: [01/22/2012 15:31:33] find attribute 'Notifications'
29718: [01/22/2012 15:31:33]  -> found attribute 'Notifications' with value 'on'
29718: [01/22/2012 15:31:33]  -> matched attribute 'Notifications' with value 
'on'
29718: [01/22/2012 15:31:33] read attribute 'Home'
29718: [01/22/2012 15:31:33] find attribute 'Home'
29718: [01/22/2012 15:31:33]  -> found attribute 'Home' with value '/var/dspam'
29718: [01/22/2012 15:31:33]  -> read attribute 'Home' with value '/var/dspam'
29718: [01/22/2012 15:31:33] sending firstrun.txt to test123 
(/var/dspam/data/test123/test123.firstrun): No such file or directory
29718: [01/22/2012 15:31:33] read attribute 'Home'
29718: [01/22/2012 15:31:33] find attribute 'Home'
29718: [01/22/2012 15:31:33]  -> found attribute 'Home' with value '/var/dspam'
29718: [01/22/2012 15:31:33]  -> read attribute 'Home' with value '/var/dspam'

And then the program simply ends! dspam stops running. No other messages.

In dspam.log, it looks like:

29718: [01/22/2012 15:31:22] Daemon process starting
29718: [01/22/2012 15:31:33] query error: H?<$H????: see sql.errors for more 
details

In sql.errors, it looks like:

[01/22/2012 15:31:33] 29718: VERBOSE DEBUG (INFO ONLY - NOT AN ERROR): SELECT 
uid,token,spam_hits,innocent_hits FROM dspam_token_data WHERE uid=2 AND token 
IN 
('3040198403516020838','2438065639752504699','3169861606512533113','3363288678048342536','16748024551138415722')


In dspam.messages, I see:

Received: by host36.mydomain.com (Postfix, from userid 0)
id 2100DC144D; Sun, 22 Jan 2012 15:27:35 -0600 (CST)
Subject: test
To: <test...@host36.mydomain.com >
X-Mailer: mail (GNU Mailutils 2.2)
Message-Id: <20120122212735.2100dc1...@host36.mydomain.com >
Date: Sun, 22 Jan 2012 15:27:35 -0600 (CST)
From: r...@host36.mydomain.com (root)

sdkhjsishjfc


Which was in fact the message I sent using mail. Not sure where to go with this 
since there are no other messages, no abort, it simply stops running.

Messages are getting TO dspam via lmtp. In mail log you see:

Jan 22 15:31:34 host36 postfix/lmtp[29730]: 2100DC144D: 
to=<test...@host36.mydomain.com>, 
relay=host36.mydomain.com[/var/dspam/dspam.sock], delay=239, 
delays=239/0.01/0/0.02, dsn=4.4.2, status=deferred (lost connection with 
host36.mydomain
.com[/var/dspam/dspam.sock] while sending end of data -- message may be sent 
more than once)


But that makes sense of course since the program did stop running, so, it did 
lose the connection.

configure command was:

  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/$libdir 
--enable-verbose-debug --with-dspam-home=/var/dspam --enable-daemon 
--enable-split-configuration --enable-preferences-extension 
--enable-long-usernames --enable-virtual-users --with-dspam-owner=dspam 
--with-dspam-home-owner=dspam --with-dspam-home-group=postfix 
--with-dspam-mode=4511 --with-logfile=/var/dspam/log/dspam.log 
--with-dspam-group=postfix --with-storage-driver=mysql_drv 
--with-mysql-libraries=/usr/$libdir/mysql 
--with-mysql-includes=/usr/include/mysql


This is dspam 3.10.1

Baffled, must be my fault somehow!


 
Steve
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to