opendkim double header signing following Postfix/DKIM guide if amavis is also in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
Anders F. U. Kiær |
Bug Description
Following the guide at https:/
will make opendkim sign the message two times, if you already have postfix use amavis.
To the core of the issue, postfix will use the (opendkim)milter before handing the message to the amavis. Then when amavis puts it back in the postfix queue and postfix will send it to the (opendkim)milter for a 2nd signature before delivering it.
Solution add a notice under common error and fixes for others that might have the same issue with Postfix\opendkim doublesigning when also using amavis.
One way to correct it is adding the no_milters parameter to the list of receive_
snippet: /etc/postfix/
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient
-o relay_recipient
-o smtpd_restricti
-o smtpd_delay_
-o smtpd_client_
-o smtpd_helo_
-o smtpd_sender_
-o smtpd_recipient
-o smtpd_data_
-o smtpd_end_
-o mynetworks=
-o smtpd_error_
-o smtpd_soft_
-o smtpd_hard_
-o smtpd_client_
-o smtpd_client_
-o receive_
Reason for putting it under this article, cause many newcomers believes it is the issue of postfix\opendkim settings and not the way you feed messages back to queue from amavis.
Related branches
- Doug Smythies: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedserverguide/C/mail.xml (+1/-1)
description: | updated |
Changed in serverguide: | |
status: | New → Fix Committed |
Changed in serverguide: | |
status: | Fix Committed → Fix Released |
Correction: bazaar. launchpad. net/~ubuntu- core-doc/ serverguide/ raring/ view/head: /serverguide/ C/mail. xml#L1616 ) will the same double header sign (double run of milters) be trigged when people go change the opendkim to sign.
It was not the correct place to file the bug as the serverguide do not contain signing. But with the current configuration in line 1616 ( http://
The double run of milters may also cause other double actions that is not really needed.