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_override_options when putting the message back in the postfix queue. That is done in the postfix main.cf
Reson 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.
Following the guide at https:/ /help.ubuntu. com/community/ Postfix/ DKIM
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_ override_ options when putting the message back in the postfix queue. That is done in the postfix main.cf
snippet: /etc/postfix/ main.cf -
127.0.0.1:10025 inet n - - - - smtpd _maps= _maps= on_classes= reject= no restrictions= permit_ mynetworks, reject restrictions= restrictions= _restrictions= permit_ mynetworks, reject restrictions= reject_ unauth_ pipelining of_data_ restrictions= 127.0.0. 0/8 sleep_time= 0 error_limit= 1001 error_limit= 1000 connection_ count_limit= 0 connection_ rate_limit= 0 override_ options= no_header_ body_checks, no_unknown_ recipient_ checks, no_milters
-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_
Reson 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.