author_to_policy_bank_maps

tonio at starbridge.org tonio at starbridge.org
Tue Aug 9 17:14:21 CEST 2011


Hello
i'm using amavisd 2.7.0 and feature author_to_policy_bank_maps
configured like this directly into amavisd.conf

@author_to_policy_bank_maps = ( {
    '.ebay.com'               => 'WHITELIST',
    '.ebay.co.uk'             => 'WHITELIST',
    'eole-its.com'            => 'WHITELIST',
.....
  } );

it's working great.


today i've tried to modify amavisd.conf in order to use external file to
author_to_policy_bank_maps :

@author_to_policy_bank__maps = (
read_hash("/etc/amavisd/author_to_policy_bank_maps"),
);

It's seem working correctly because policy bank is been applied as
expected, but I've noticed these entries into mail.log:



Aug  9 09:56:16 smtp04 amavis[509]: (00509-01) ESMTPS::10024
/var/amavis/tmp/amavis-20110809T095616-00509-v4YtHnom:
<tonio at eole-its.com> -> <us
er at mx2.eole-its.com> SIZE=2914 BODY=7BIT Received: from mx2.eole-its.com
([87.98.168.177]) (using TLS with cipher AES256-SHA) by mailstorm4.spa
mguard.fr (mailstorm4.spamguard.fr [188.165.206.57]) (amavisd-new, port
10024) with ESMTPS for <user at mx2.eole-its.com>; Tue,  9 Aug 2011 09:56:
16 +0200 (CEST)
Aug  9 09:56:16 smtp04 amavis[509]: (00509-01) dkim: policy bank
WHITELIST by eole-its.com
Aug  9 09:56:16 smtp04 amavis[509]: (00509-01) dkim: VALID
Author+Sender+MailFrom signature by d=eole-its.com, From:
<tonio at eole-its.com>, a=rs
a-sha256, c=relaxed/simple, s=eole-its, i=@eole-its.com
Aug  9 09:56:16 smtp04 amavis[509]: (00509-01) loaded policy bank
"WHITELIST"
Aug  9 09:56:16 smtp04 amavis[509]: (00509-01) (!)WARN
save_info_preliminary: sql exec: err=, , Insecure dependency in
parameter 2 of DBI::st=H
ASH(0x67c6748)->bind_param method call while running with -T switch at
(eval 115) line 168, <GEN52> line 57.
Aug  9 09:56:16 smtp04 amavis[509]: (00509-01) sql_storage: retrying
preliminary, 4 attempts remain
Aug  9 09:56:17 smtp04 amavis[509]: (00509-01) (!)WARN
save_info_preliminary: sql exec: err=, , Insecure dependency in
parameter 2 of DBI::st=H
ASH(0x67977c8)->bind_param method call while running with -T switch at
(eval 115) line 168, <GEN52> line 57.
Aug  9 09:56:17 smtp04 amavis[509]: (00509-01) sql_storage: retrying
preliminary, 3 attempts remain
Aug  9 09:56:20 smtp04 amavis[509]: (00509-01) (!)WARN
save_info_preliminary: sql exec: err=, , Insecure dependency in
parameter 2 of DBI::st=H
ASH(0x5761260)->bind_param method call while running with -T switch at
(eval 115) line 168, <GEN52> line 57.
Aug  9 09:56:20 smtp04 amavis[509]: (00509-01) sql_storage: retrying
preliminary, 2 attempts remain
Aug  9 09:56:22 smtp04 amavis[509]: (00509-01) (!)WARN
save_info_preliminary: sql exec: err=, , Insecure dependency in
parameter 2 of DBI::st=H
ASH(0x67903b8)->bind_param method call while running with -T switch at
(eval 115) line 168, <GEN52> line 57.
Aug  9 09:56:22 smtp04 amavis[509]: (00509-01) sql_storage: retrying
preliminary, 1 attempts remain
Aug  9 09:56:25 smtp04 amavis[509]: (00509-01) (!)WARN
save_info_preliminary: sql exec: err=, , Insecure dependency in
parameter 2 of DBI::st=H
ASH(0x6790a78)->bind_param method call while running with -T switch at
(eval 115) line 168, <GEN52> line 57.
Aug  9 09:56:25 smtp04 amavis[509]: (00509-01) (!!)ERROR sql_storage:
too many retries on storing preliminary, info not saved
Aug  9 09:56:25 smtp04 amavis[509]: (00509-01) Checking: reNwVQ0lQTAA
WHITELIST [87.98.168.174] <tonio at eole-its.com> -> <user at mx2.eole-its.com>
Aug  9 09:56:25 smtp04 amavis[509]: (00509-01) p001 1 Content-Type:
text/plain, size: 1 B, name:
Aug  9 09:56:25 smtp04 amavis[509]: (00509-01) header_edits_for_quar:
<tonio at eole-its.com> -> <user at mx2.eole-its.com>, No, score=x tag=x tag2=x
 kill=x tests=[] autolearn=unavailable

What I'm doing wrong here ?

Perl 5.12.4
amavisd-new-2.7.0 (20110701)

Thanks for your help
Tonio






More information about the amavis-users mailing list