So right now since it's set to only verify incoming mail signtures you are seeing the line "DKIM verification sucessful"

You should see the signing happening in the logs:

Dec 13 08:36:32 localhost opendkim[969]: ED6EDFB7: DKIM-Signature field added (s=default, d=feedmebits.nl)




On 2017-12-13 08:36, Maarten wrote:
Check  /etc/opendkim.conf. And the line that Says Mode.

You probably have it set like this:
Mode v

Change it to:
Mode sv

sign
verify

On 2017-12-13 08:32, Kent wrote:
Hi Maarten,

Apologies - I missed this when I was copying my setup.

I already have these lines in my  /etc/postfix.main.cf file.


When an e-mail comes in, I'm seeing these lines in the maillog:
Dec 13 20:24:45 mx01 opendkim[27470]: 81942208493E: mail-lf0-f51.google.com [209.85.215.51] not internal
Dec 13 20:24:45 mx01 opendkim[27470]: 81942208493E: not authenticated
Dec 13 20:24:45 mx01 opendkim[27470]: 81942208493E: DKIM verification successful

So I believe postfix is passing both incoming and outgoing mail via opendkim.

It's just my setup isn't adding the 'DKIM' into the outgoing mail.

Kent.



On 13/12/2017, at 8:14 PM, Maarten <[email protected]> wrote:


Think you are missing something like this in main.cf

milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters =  $smtpd_milters
milter_default_action = accept

http://www.postfix.org/postconf.5.html#smtpd_milters

Reply via email to