On Tue, 9 Apr 2019 at 09:41, Jim P. <[email protected]> wrote: > On Tue, 2019-04-09 at 08:22 +0000, Laura Smith wrote: > > OpenDKIM is not signing my mails. > ..... > > KeyTable /etc/opendkim/KeyTable > > I think this should be: > > KeyTable refile:/etc/opendkim/KeyTable > > > > InternalHosts refile:/etc/opendkim/TrustedHosts > > Try using ExternalIgnoreList (i don't know why it works, but it does) > > #InternalHosts refile:/etc/opendkim/InternalHosts > ExternalIgnoreList refile:/etc/opendkim/InternalHosts >
These are my postfix settings for opendkim (Ubuntu 18.04, slightly obfuscated, note that port 8893 milter is for opendmarc): # postconf -n|grep milter milter_default_action = accept milter_protocol = 2 non_smtpd_milters = $smtpd_milters smtpd_milters = inet:[127.0.0.1]:8891,inet:[127.0.0.1]:8893 Regarding 'KeyFile', see 'man opendkim' - OP's existing setting is correct if using flat file format (without patterns).
