Re: proper syntax for SenderHeaders in opendkim.conf

From: A. Schulze <sca_at_andreasschulze.de>
Date: Thu, 29 Jan 2015 12:46:29 +0100

patpro:

> I want to sign everything going out

try

opendkim.conf:
     SigningTable refile:/path/to/signingtable
     KeyTable file:/path/to/keytable
     MTA MLM-SUBMISSION

signingtable
     * signall

keytable
     signall signing_domain:selector:/path/to/key

The challenge is to not sign every message pass your MTA but only
those arriving via a special
input channel. For that I use to define a submission channel in postfix

master.cf
     localhost:submission inet n - - - - smtpd
      -o milter_macro_daemon_name=MLM-SUBMISSION
      -o mynetworks=127.0.0.1,[::1]
      -o smtpd_milters=${opendkim_signer}
      -o
smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination
      -o syslog_name=postfix/mlm-submission

main.cf
     opendkim_signer = inet:localhost:12345

Now configure your list manager to submit via smtp at localhost:587

Andreas
Received on Thu Jan 29 2015 - 11:46:44 PST

This archive was generated by hypermail 2.3.0 : Thu Jan 29 2015 - 11:54:02 PST