By baberzubair
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.
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!
What does host google.com output? Make sure you have the dns servers in /etc/resolv.conf and not /etc/resolve.conf
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 command are you running to send email? and what email address are you sending email to?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.