Policy Bank "MYNETS" not loaded sending with some local MUAs
Gerhard Rappenecker
G.Rappenecker at hs-offenburg.de
Thu Apr 7 17:42:00 CEST 2016
Hi all,
I have problems sending mail with some local Mail User Agents on my MTA running postfix and amavisd-new. The mails get no DKIM signature, because of policy bank "MYNETS" is not loaded.
I see the problems only at crontabs error messages or when using mutt. When using sendmail or mailx as local MUA there are no problems.
I compared the amavis logs when sending a mail with mailx and butt:
Mail from MUA mailx -> DKIM signing works fine
***************************
loaded base policy bank
lookup_ip_acl (inet_acl) arr.obj: key="127.0.0.1" matches "127.0.0.1", result=1
....
ESMTP< MAIL FROM:<root@(MTA-FQDN)> SIZE=480 BODY=8BITMIME\r\n
....
lookup_ip_acl arr.obj: key="0.0.0.0" matches "0.0.0.0/8", result=1
loaded policy bank "MYNETS"
....
dkim: signing (3rd-party), From: <root@(MTA-FQDN) ....
....
Mail from MUA mutt -> no DKIM signing
**********************
loaded base policy bank
lookup_ip_acl (inet_acl) arr.obj: key="127.0.0.1" matches "127.0.0.1", result=1
...
ESMTP< MAIL FROM:<root@(MTA-FQDN)> SIZE=506 BODY=8BITMIME\r\n
...
-> no policy bank "MYNETS" -> no DKIM signing
My environment:
******************
postfix 2.11.6 with master.cf:
amavisfeed unix - - n - 4 smtp
-o smtp_send_xforward_command=yes
.....
amavisd-new-2.8.1 with amavisd.conf:
$enable_dkim_signing = 1;
....
@mynetworks = qw( 127.0.0.0/8 [::1] 0.0.0.0/8 ...... );
Why go mutt messages (and crontab error messages) wrong?
Kind regards
Gerhard
More information about the amavis-users
mailing list