Can't specify sa_dsn_cutoff_level in a policy bank?

Tim Howe thowe at bendtel.net
Tue Nov 29 20:12:38 CET 2011


On Wed, 23 Nov 2011 12:26:09 -0800
Tim Howe <thowe at bendtel.net> wrote:

> The DSN is still suppressed when I do this:
> 
> $policy_bank{'ORIGINATING'} = {
>   originating => 1,
>   bypass_spam_checks_maps => [0],
>   final_spam_destiny => D_BOUNCE,
>   spam_crediblefrom_dsn_cutoff_level_maps => [1300],
>   virus_admin_maps => ["virusalert\@$mydomain"],
>   spam_admin_maps  => ["virusalert\@$mydomain"],
>   spam_kill_level_maps => [7.0],
>   bypass_banned_checks_maps => [1],  # allow sending any file names and types
>   terminate_dsn_on_notify_success => 0,  # don't remove NOTIFY=SUCCESS option
> };
> 
> The only way I can get the DSN sent is by doing this globally:
> 
> $sa_crediblefrom_dsn_cutoff_level = 1300;
> 
> --TimH

	So, am I making an erroneous assumption that these things
should be equivalent, or is this a bug?  Am I doing it wrong?

--TimH


More information about the amavis-users mailing list