LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-16-2009, 06:37 AM   #1
silviap
LQ Newbie
 
Registered: Mar 2009
Distribution: CentOS, Fedora, Debian
Posts: 11

Rep: Reputation: Disabled
SpamAssassin with MySQL user preferences


Hello,

I have a CentOS server with Postfix and Dovecot using virtual users (MySQL), I have ClamAV (amavisd) installed and SpamAssassin. The server setup is OK, but I am trying to get SpamAssassin to work with user preferences stored in a MySQL database.

I followed the steps from
http://spamassassin.apache.org/full/...ist/sql/README

I have in /etc/sysconfig now SPAMDOPTIONS="-d -c -q -m5 -u vmail H".
( I tried using only "-d -q -m5 -u nobody -H", I tried with the -Q instead of -q...)

The documentation from the apache website says I should see in the logs
"retrieving prefs for <username> from SQL server". I can't see that. I also tried to add a plugin to one of the webmail clients I have and I used the same database, I added some rules, but spamd is not processing any data from those MySQL records.

Any suggestions?

Thank you!
 
Old 07-17-2009, 01:52 AM   #2
sanemanmad
LQ Newbie
 
Registered: Mar 2007
Posts: 5

Rep: Reputation: 1
Have you checked the sql logs from the server?
 
Old 07-20-2009, 03:11 AM   #3
silviap
LQ Newbie
 
Registered: Mar 2009
Distribution: CentOS, Fedora, Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
The mysql logs don't show anything (I don't think the request is getting to the MySQL server).

I also used this URL for the setup of AntiSpam and AntiVirus solutions:
http://www.howtoforge.com/fedora_vir...ota_courier_p3
(if this help).

Thanks!

Last edited by silviap; 07-24-2009 at 04:33 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to check audio device box in user preferences Cydge Linux - Newbie 0 07-11-2009 03:13 PM
amavisd using user preferences as rules robertngo Linux - Software 0 06-08-2005 01:02 AM
How to makeMozilla preferences readonly for the user. shari_786pk Linux - Software 1 04-13-2005 03:40 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 12:04 AM
How can you disable the user preferences in Netscape 7.1? ritzguy24 Linux - Software 0 07-01-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration