lowercase "subject:" with sa_spam_subject_tag

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Oct 15 12:24:33 CEST 2021


On 17.09.21 13:49, Damian wrote:
>>noticed that Subject: is mapped to subject:  (lowercase) when I define
>>$sa_spam_subject_tag
>
>I am not able to reproduce this. Do you have a minimal example config?
 
debian 10 config, I have only changed 50-user.cf.

we use amavisd-milter
when receiving from the world, perhaps it can cause the issue?



@av_scanners_backup = ();

$unrar = ['unrar'];

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

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

@local_domains_acl = ( "censored", "censored" );

&read_array(\@mynetworks, '/etc/postfix/mynetworks');
$policy_bank{'MYNETS'} = {
        originating =>  1,
};

$max_servers                    = 5;
$sa_mail_body_size_limit        = 30*1024*1024;

$sa_tag_level_deflt             = undef;        # always add status

$sa_spam_subject_tag            = 'Spam? ';
#$sa_spam_subject_tag           = undef;
$undecipherable_subject_tag     = undef;
$subject_tag_maps_by_ccat{+CC_VIRUS} = undef;

$virus_admin                    = undef;

$final_virus_destiny            = D_PASS;
$final_banned_destiny           = D_PASS;
$final_spam_destiny             = D_PASS;

$interface_policy{'SOCK'} = 'AM.PDP-SOCK';      # milter
$policy_bank{'AM.PDP-SOCK'} = {
        protocol => 'AM.PDP',   # select Amavis policy delegation protocol
        spam_kill_level_maps    => 10,
        final_spam_destiny      => D_REJECT,
        final_virus_destiny     => D_REJECT,
        final_banned_destiny    => D_REJECT,
};

$log_level                      = 1;
$log_templ                      = $log_verbose_templ;

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows 2000: 640 MB ought to be enough for anybody


More information about the amavis-users mailing list