originating flag not working - critical bug - RelayedOpenRelay / DKIM signing not working
Damian
amavis at arcsin.de
Wed May 30 00:46:50 CEST 2018
> After I applied the attached patch the issue was resolved. There is
> literally one line that needs to be added:
> "$msginfo->originating(c('originating'));".
>
>
> It would be much appreciated if the following patch could be applied to
> Amavis directly without relying on various distribution maintainers to
> fix the problem.
>
>
> --- amavisd.orig Tue Apr 26 21:24:33 2016
> +++ amavisd Fri Jul 1 01:03:15 2016
> @@ -34338,6 +34329,7 @@ sub collect_some_dkim_info($) {
> $sig_ind++;
> }
> Amavis::load_policy_bank($_,$msginfo) for @bank_names;
> + $msginfo->originating(c('originating'));
> $msginfo->dkim_signatures_valid(\@signatures_valid) if
> @signatures_valid;
> # if (ll(5) && $sig_ind > 0) {
> # # show which header fields are covered by which signature
>
An alternative to a patch might be this configuration snippet:
> $policy_bank{'EMPTY'} = {};
> package Amavis::Custom {
> sub new {
> my ($class, undef ,$msginfo) = @_;
> Amavis::load_policy_bank('EMPTY', $msginfo);
> bless {}, $class;
> }
> }
Regards
Damian
More information about the amavis-users
mailing list