#260 Fix DKIM signing
Merged 3 years ago by smooge. Opened 3 years ago by schlupov.
fedora-infra/ schlupov/ansible fix_dkim  into  master

Fix DKIM signing
Silvie Chlupova • 3 years ago  
@@ -690,3 +690,9 @@ 

  # This has to be set in newer postfix 3.3.0 or later or it will refuse to

  # send any email. ;(

  smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination

+ 

+ # Milter configuration

+ milter_default_action = accept

+ milter_protocol = 6

+ smtpd_milters = inet:127.0.0.1:8891

+ non_smtpd_milters = $smtpd_milters

@@ -5,4 +5,4 @@ 

  

  bastion._domainkey.fedoraproject.org fedoraproject.org:bastion:/etc/opendkim/keys/bastion.key

  bastion._domainkey.pagure.io pagure.io:bastion:/etc/opendkim/keys/pagure.key

- bastion-iad._domainkey.fedoraproject.org fedoraproject.org:bastion:/etc/opendkim/keys/bastion-iad.key

+ bastion-iad._domainkey.fedoraproject.org fedoraproject.org:bastion-iad:/etc/opendkim/keys/bastion-iad.key

@@ -16,6 +16,8 @@ 

  *@lists.fedoraproject.org bastion-iad._domainkey.fedoraproject.org

  *@stg.fedoraproject.org bastion-iad._domainkey.fedoraproject.org

  *@aws.fedoraproject.org bastion-iad._domainkey.fedoraproject.org

+ *@copr-fe.aws.fedoraproject.org bastion._domainkey.fedoraproject.org

+ *@copr-fe-dev.aws.fedoraproject.org bastion._domainkey.fedoraproject.org

I'm not sure about these two lines, maybe it should be just *@bastion.fedoraproject.org bastion._domainkey.fedoraproject.org

  *@fedorahosted.org bastion-iad._domainkey.fedoraproject.org

  *@lists.fedorahosted.org bastion-iad._domainkey.fedoraproject.org

  pagure@pkgs.fedoraproject.org bastion-iad._domainkey.fedoraproject.org

On Copr we have problems with emails because they all end up as spam so we want the DKIM-Signature and Authentication-Results headers to appear in the email. Relates to https://pagure.io/fedora-infrastructure/issue/9250.

I'm not sure about these two lines, maybe it should be just *@bastion.fedoraproject.org bastion._domainkey.fedoraproject.org

rebased onto 3ded4aa

3 years ago

rebased onto 3ded4aa

3 years ago

Pull-Request has been merged by smooge

3 years ago