Thanks for taking the time to file this bug and try to make Ubuntu better.
After taking a look at the mentioned file (debian/etc/conf.d/20-policy_banks in the source package), it seems that you are right, this config has no effect since there is no definition of `$policy_bank{'WHITELIST'}`. In order to have something that would minimally work (not sure if this is the original expected behavior) we would need to add the following:
Thanks for taking the time to file this bug and try to make Ubuntu better.
After taking a look at the mentioned file (debian/ etc/conf. d/20-policy_ banks in the source package), it seems that you are right, this config has no effect since there is no definition of `$policy_ bank{'WHITELIST '}`. In order to have something that would minimally work (not sure if this is the original expected behavior) we would need to add the following:
$policy_ bank{'WHITELIST '} = { spam_checks_ maps => [1], lovers_ maps => [1],
bypass_
spam_
};
This is the snippet provided by upstream in the release notes. I am not a amavisd-new expert but I agree with your assessment.
I am marking this bug as Triaged, setting the importance to Medium and subscribing ubuntu-server.