Re: SpamAssassin under CentOS-6.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



John Hinton wrote:

>> I wonder if anyone is actually running SpamAssassin
>> with Postfix/Amavisd-new under CentOS-6.4 .
>> I have followed the instructions in
>> <http://wiki.centos.org/HowTos/Amavisd>
>> but as far as I can see SpamAssassin is not working.
>>
>> I should say that I do not understand from this document
>> what is meant to happen to spam.
>> I understand that a Spam header is added,
>> but what actually happens to email considered to be spam?

Thanks for your response.

Just to add to my remark above,
I realize now that I should have made the change
--------------------------
# $QUARANTINEDIR = undef;      # -Q
$QUARANTINEDIR = "$MYHOME/quarantine";      # -Q
--------------------------
in /etc/amavisd/amavisd.conf ,
after which spam should go to this directory.
However, this change did not affect the fact that
email does not appear to be being processed by SpamAssassin.

> IIRC, SpamAssassin is run from Amavisd-new so the regular SA daemon does
> not run on its own.

I realize that, but I don't see any entry in amavisd.conf
that will start spamd running.
The only relevant entries in amavisd.conf as far as I can see are
------------------------------------
[tim@alfred amavisd]$ grep \$sa amavisd.conf
$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above that 
level
$sa_tag2_level_deflt = 6.2;  # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.9;  # triggers spam evasive actions (e.g. blocks 
mail)
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
$sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely valid 
From
# $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is 
off
$penpals_threshold_high = $sa_kill_level_deflt;  # don't waste time on hi 
spam
$sa_mail_body_size_limit = 400*1024; # don't waste time on SA if mail is 
larger
$sa_local_tests_only = 0;    # only tests which do not require internet 
access?
$sa_spam_subject_tag = '***Spam*** ';
------------------------------------
These seem to be the only lines in this file involving SpamAssassin.

However, stopping SpamAssassin and then re-starting amavisd 
does not re-start SpamAssassin:
-----------------------------------
[tim@alfred amavisd]$ sudo service spamassassin stop
Stopping spamd:                                            [  OK  ]
[tim@alfred amavisd]$ ps aux | grep spamd
tim       4706  0.0  0.0 103244   840 pts/2    S+   11:43   0:00 grep spamd
[tim@alfred amavisd]$ sudo service amavisd restart
Shutting down amavisd: Daemon [4651] terminated by SIGTERM
                                                           [  OK  ]
amavisd stopped
Starting amavisd:                                          [  OK  ]

[tim@alfred amavisd]$ ps aux | grep spamd
tim       4734  0.0  0.0 103244   840 pts/2    S+   11:43   0:00 grep spamd
[tim@alfred amavisd]$
-----------------------------------


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
School of Mathematics, Trinity College, Dublin 2, Ireland


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux