Ok - I found what I was missing...

Now I read: http://www.spamassassin.org/dist/sql/README

And it doesn't mention that I have to add different options to spamd to use
sql... I feel a little stupid, but I hope this helps those who come after me
;-)

The man for spamd could probably use an edit or two:

       -q, --sql-config
           Turn on SQL lookups even when per-user config files have been
           disabled with -x. this is useful for spamd hosts which don't have
           user's home directories but do want to load user preferences from
           an SQL database.

to my understanding, this says the option is only valid if -x has already
been used... when in fact, it is required to turn on sql lookups at all.

so for testing:

spamd -D --sql-config #for SQL AND home dir support
spamd -D --sql-config -x #for SQL without home dir .spamassassin options
support

etc...

change -D to -d to daemonize for production.

Hope this helps some.

m/

-----Original Message-----
From: Mitch (WebCob) [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 9:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [SAtalk] MySQL not working? No indication of error when
running spamd -D


There must be something else I'm missing - does spamd have to be started as
a non-root user?

There must be some reason it's not checking the SQL - I'm working backwards
through the calls, but there must be a reason - eh?

Thanks.

m/



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to