Hi,
Hopefully someone can give me some advice here. I've been fighting with SpamD for the last two days trying to get it to connect to a MySQL database. I think I've finally weeded out all of my "own" errors and am down to this:

I'm running SA 3.1 on a Fedora 5 setup and MySQL is running on another machine. If I start SpamD via the init.d script, it fails to connect to the database. It really doesn't give much more info than that but it does show enough info to prove to me that it is reading the config files and at least providing correct login information.

If I start spamd from the command line (and demonize it) it connects fine.

I'm using identical tests... starting as root, using the same test mail, same email user, same database user, the only difference (that I am aware) is the fact that one starts from init.d and the other from the command line. I realize there are, of course, some "extra" things in the init.d script, but to my untrained eye, I can't see anything that should affect it. Can anyone help shed any light on what I might try next? The command I am using to start SpamD is this:

spamd -d -A 192.,127. -i -l -x -q -m 2

I'd greatly appreciate any suggestions.
Glen

Reply via email to