Question

Temporary Lookup Failure - Postfix & Dovecot

Hey all!

I’m trying to setup a Mail Server on a Droplet. I’ve got everything working as far as connecting to Outlook goes, but when I try to send a message, I get this.

Here’s some files of potential interest to help fixing the issue.

mail.log error main.conf

If you need anything else, please let me know.

Thanks in advance for the help!

Subscribe
Share

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

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.

I had this same problem few moment ago and i solved it

just remove a line

transport_maps = hash:/etc/postfix/transport

No. Can your server resolve the domain you were sending to, and has it valid mx records?

Ok.

Can you do nslookup from your droplet? Do things resolve?

This is part of my main.cf:

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = DOMAIN.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = mail.DOMAIN.com mydestination = localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = all

smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_unknown_hostname, permit