R=dkim_lookuphost defer (-1): host lookup did not complete
I was facing some problems with my exim mail server after cpanel migration. I weren’t able to send and receive emails from all emails accounts under any domains on that migrated VPS.
How to check?
Create a test email account under a domain on that VPS.
Login to cPanel >> Mail accounts >> Create new >> firstname.lastname@example.org
Then try to send emails from that test account you have created and watch the exim log file via command line
[root@EcLinux]# tailf /var/log/exim_mainlog | grep email@example.com 2013-09-21 06:34:28 1VND1f-0006gu-J1 <= firstname.lastname@example.org H=(18.104.22.168) [127.0.0.1]:43456 P=esmtpa A=dovecot_login:email@example.com S=601 firstname.lastname@example.org T="Test mail" for email@example.com
Using Message ID from the above output check the mail queue log(exim -Mvl Message ID)
[root@EcLinux]# exim -Mvl 1VND1f-0006gu-J1 2013-09-21 06:55:32 Received from firstname.lastname@example.org H=(22.214.171.124) [127.0.0.1]:44445 P=esmtpa A=dovecot_login:email@example.com S=602 firstname.lastname@example.org T="Test mail" 2013-09-21 06:55:33 email@example.com R=dkim_lookuphost defer (-1): host lookup did not complete
Got the error “R=dkim_lookuphost defer (-1): host lookup did not complete”
Add these nameservers 126.96.36.199, 188.8.131.52 IP to the resolv.conf file will solve the issue.
[root@EcLinux]# vim /etc/resolv.conf --------- nameserver 184.108.40.206 nameserver 220.127.116.11 ~ ~ ~ :wq ---------
Thats it, I hope this solution will solve your issue. 🙂