Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was exploring about DKIM. I read an email which was sent via sendgrid and with application from remote server. My question is , how can assign the DKIM key of own server if sender id do not exist in your mail server. I generally use opendkim. When I tried sending email from application, SPF was passed, DKIM was not there in email Header . In mail log, it shows "No signing table"

I would like to setup this kind of mechanism. Can anyone guide me ?

share|improve this question

I found the answer after doing hit and trial.

First I tried with non secure method - Allowing all domain to get Mail server domain's dkim

Here, for eg. A record is and MX is


Restarted the opendkim and postfix(reload)

The problem get solved but here I was allowing all domains to get DKIM of

Then, I edited the SigningTable and allow only for to usem dkim


Restarted opendkim and postfix reloaded.

It works perfectly. SPF and DKIM both get passed and no to spambox.

Welcome,to have alternate way or if you think the method is incorrect or insecure

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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