Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: R=dkim_lookuphost defer (-1): host lookup did not complete  (Read 3444 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
R=dkim_lookuphost defer (-1): host lookup did not complete
« on: August 02, 2014, 11:10:48 pm »
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 >> test@domain.com

Then try to send emails from that test account you have created and watch the exim log file via command line

Code: [Select]
[root@EcLinux]# tailf /var/log/exim_mainlog | grep test@domain.com
2013-09-21 06:34:28 1VND1f-0006gu-J1 <= test@domain.com H=(66.85.147.19) [127.0.0.1]:43456 P=esmtpa A=dovecot_login:test@domain.com S=601 id=86ca9dc7a0c94ca7492e03cda4e5436f@advicecloud.co.uk T="Test mail" for anybody@gmail.com
Using Message ID from the above output check the mail queue log(exim -Mvl Message ID)

Code: [Select]
[root@EcLinux]# exim -Mvl 1VND1f-0006gu-J1
2013-09-21 06:55:32 Received from test@domain.com H=(66.85.147.19) [127.0.0.1]:44445 P=esmtpa A=dovecot_login:test@domain.com S=602 id=2ad5d4f1c26a137a5422771bc9b2d532@advicecloud.co.uk T="Test mail"
2013-09-21 06:55:33 anybody@gmail.com R=dkim_lookuphost defer (-1): host lookup did not complete
Got the error “R=dkim_lookuphost defer (-1): host lookup did not complete”

Solution

Add these nameservers 8.8.8.8, 8.8.4.4 IP to the resolv.conf file will solve the issue.

Code: [Select]
[root@EcLinux]# vim /etc/resolv.conf
---------
nameserver 8.8.8.8
nameserver 8.8.4.4
~
~
~
:wq