Question

Temporary lookup failure in postfix

I have installed postfix on my virtual machine and i have also added the IP address of my computer to allow relaying for my computer on postfix.

But when i try to send email it says “temporary lookup failure”

I have checked /etc/resolve.conf and it has google dns server 8.8.8.8 and 8.8.4.4.

I am unable to rectify what can be the issue.Can someone please help me.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

What command are you running to send email? and what email address are you sending email to?

Following is the output by host google.com,also i that was my typo i have dns servers 8.8.8.8 & 8.8.4.4 in /etc/resolv.conf <br> <br>root@ns1:~# host google.com <br>google.com has address 74.125.226.201 <br>google.com has address 74.125.226.197 <br>google.com has address 74.125.226.192 <br>google.com has address 74.125.226.200 <br>google.com has address 74.125.226.195 <br>google.com has address 74.125.226.193 <br>google.com has address 74.125.226.199 <br>google.com has address 74.125.226.196 <br>google.com has address 74.125.226.206 <br>google.com has address 74.125.226.194 <br>google.com has address 74.125.226.198 <br>google.com has IPv6 address 2607:f8b0:4006:800::1008 <br>google.com mail is handled by 30 alt2.aspmx.l.google.com. <br>google.com mail is handled by 40 alt3.aspmx.l.google.com. <br>google.com mail is handled by 20 alt1.aspmx.l.google.com. <br>google.com mail is handled by 10 aspmx.l.google.com. <br>google.com mail is handled by 50 alt4.aspmx.l.google.com. <br>

What does host google.com output? Make sure you have the dns servers in /etc/resolv.conf and not /etc/resolve.conf