Yan Seiner wrote:
I've been trying fruitlessly to get dspam running with exim4. I've
had it running previously with sendmail, but I've decided to give
exim4 a try.
So.... I can't for the life of me get the two to play nice.
I am running Debian Lenny, exim4, dspam 3.8.0. I've found a handful
of ways to get it to run.
Now I'm running into a mailloop:
Return-path: <[EMAIL PROTECTED]>
Received: from mail by www.datavault.us with local-bsmtp (Exim 4.68)
(envelope-from <[EMAIL PROTECTED]>)
id 1J30Xy-0005p7-02
for [EMAIL PROTECTED]; Thu, 13 Dec 2007 18:45:06 -0800
22391: [12/13/2007 18:45:05] unable to locate mysql configuration
22391: [12/13/2007 18:45:05] Unable to attach DSPAM context
22391: [12/13/2007 18:45:05] process_message returned error -2.
delivering.
Received: from mail by www.datavault.us with local-bsmtp (Exim 4.68)
(envelope-from <[EMAIL PROTECTED]>)
id 1J30Xx-0005p1-UI
for [EMAIL PROTECTED]; Thu, 13 Dec 2007 18:45:05 -0800
22385: [12/13/2007 18:45:05] unable to locate mysql configuration
22385: [12/13/2007 18:45:05] Unable to attach DSPAM context
22385: [12/13/2007 18:45:05] process_message returned error -2.
delivering.
Received: from mail by www.datavault.us with local-bsmtp (Exim 4.68)
OK, so my mysql stuff is not set up right - but I can log into the
database using dspam userid and password, mysql is running, and all that.
Is there some debugging I can turn on that would tell me more?
Thanks,
--Yan
Hello Yan, first off, yes, it seems to be a mysql configuration issue,
as you say. Would you please paste your config (removing, of course, the
MySQL password) ?
It would looke like something like this:
MySQLServer /var/lib/mysql/mysql.sock
#MySQLPort 3306
MySQLUser dspam
MySQLPass nottelling<3
MySQLDb dspam
#MySQLCompress true
That's the start of my MySQL config file (there are far more variables,
but most of it should be done with this and virtual users / UID signature).
Regards.
Juan.
PS: Sorry if I'm not asking the stuff in the right way, first time
giving support at dspam-users :)