0

I have many domain on one server.

I want enable DKIM verification for each one. For do it, I follow this tutorial Like said a the end of tutorial, I test my dkim DNS on http://dkimcore.org/c/keycheck

This is a valid DKIM key record

So it's supose to works right now, but when I send an email, there is no DKIM signature and only "domainkeys=neutral (no sig); dkim=neutral (no sig)". (tested on yahoo and gmail.)

So what's wrong with this method?

EDIT:

mail.log when I send a mail (with PHP) said:

opendkim[40952]: 628EF242A06: localhost [127.0.0.1] not internal
opendkim[40952]: 628EF242A06: not authenticated
opendkim[40952]: 628EF242A06: no signature data

other thing:

sudo opendkim-testkey -d mydomain.com -s default -k /etc/opendkim/keys/mydomain.com/default.private -v

response:

opendkim-testkey: key not secure

So it's the method to generate keys which is bad?

1 Answer 1

1

I add 127.0.0.1 and localhost to trusted host and used :

 sudo service postfix reload

Now it's working... enjoy ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.