1

Topic: AmVisd not adding X-Spam score to headers

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6.5

It was working fine until 10pm last night.  No one made any changes and now no new spam will go into quarantine.   

[/etc/amavisd/amavisd.conf]

@bypass_virus_checks_maps = (0);  # controls running of anti-virus code
@bypass_spam_checks_maps  = (0);  # controls running of anti-spam code
$bypass_decode_parts = 1;         # controls running of decoders&dearchivers

@local_domains_maps = ( [".$mydomain","xxx.net"] );  # list of all local domains

from what I have read, these 2 things are the only reason why it wouldn't add the Spam score to the header. 

Any ideas or suggestions?  Not sure why it would just stop working after working fine.   

also, side note incase this is relevant.  When I try to restart Amvisd I get this:

[root@mail ~]# service amavisd status
amavisd (pid 30917 25223 25150 24992 24981) is running...
[root@mail ~]#

[root@mail ~]# service amavisd restart
Shutting down amavisd: The amavisd daemon is apparently not running, no PID file /var/run/amavisd/amavisd.pid
[FAILED]

Starting amavisd: [  OK  ]

[root@mail ~]#

2

Re: AmVisd not adding X-Spam score to headers

also, sorry : 

$sa_tag_level_deflt  = -100;  # 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

3

Re: AmVisd not adding X-Spam score to headers

Daimare wrote:

@bypass_spam_checks_maps  = (0);  # controls running of anti-spam code

This line disables spam scanning in Amavisd, you should enable it.