1

Topic: not filter spam, not add x-header

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.6 , iRedAdmin-Pro     v1.8.1 
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Linux/BSD distribution name and version:  ununtu 12.04
- Related log if you're reporting an issue: spam filter,
====

I testing antispam filter with legitime spam, but antispam not mark email as spam and not add x-header

It is standart instalation by manual.

15-content_filter_mode

use strict;

# You can modify this file to re-enable SPAM checking through spamassassin
# and to re-enable antivirus checking.

#
# Default antivirus checking mode
# Please note, that anti-virus checking is DISABLED by
# default.
# If You wish to enable it, please uncomment the following lines:


@bypass_virus_checks_maps = (
   \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);


#
# Default SPAM checking mode
# Please note, that anti-spam checking is DISABLED by
# default.
# If You wish to enable it, please uncomment the following lines:


@bypass_spam_checks_maps = (
   \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);

1;  # ensure a defined return

and I have in  20-debian_defaults

$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt  = -9999;  # add spam info headers if at, or above that level
#$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.31; # triggers spam evasive actions
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: not filter spam, not add x-header

Do you have 'sa_tag_level_deflt' configured in other Amavisd config files? Try this:

# cd /etc/amavis/conf.d/
# grep 'sa_tag_level_deflt' *

3

Re: not filter spam, not add x-header

it was missing maps domain, i use [.], it is ok.

thanks wink