zone-eu / zone-mta-template

Template application for ZoneMTA
39 stars 25 forks source link

DKIM Not working! Tried everything I can #2

Closed shaikh-shahid closed 6 years ago

shaikh-shahid commented 6 years ago

I am using zone-mta-template to send emails and using mailtrain as a sender.

I have changed the following file to add the dkim keys.

/config/plugins/dkim.toml

["core/dkim"]
enabled="sender"

# Domain name in the dkim signature. Leave blank to use the domain of From: address
domain="my-domain-name.com"

# If true then uses the same key to add a signature for the hostname of the outbound IP address
signTransportDomain=true

# Selector value in the dkim signature
selector="key._domainkey"

# Key location. Relative to working directory
path="/home/keys/dkim.pem"

In the mailtrain db, I have added the dkim private keys, same selector and domain name.

It does't sign the email at all! Looks like igoring the config.

Please help!