Temporary Lookup Failure - Postfix & Dovecot

Posted March 20, 2015 32.8k views

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](http://).

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


If you need anything else, please let me know.

Thanks in advance for the help!

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.

Submit an Answer
4 answers
  • If that worked, I wouldn’t be here.

    I’ve made sure /etc/aliases is completely correct and ran “sudo newaliases” as well as restarted Postfix, even the server.

    Hell, I’ll even throw in a copy of my Aliases file!


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

This is part of my

smtpdrelayrestrictions = permitmynetworks permitsaslauthenticated deferunauthdestination
myhostname =
maps = hash:/etc/aliases
aliasdatabase = hash:/etc/aliases
myorigin =
mydestination = localhost
relayhost =
mynetworks = [::ffff:]/104 [::1]/128
sizelimit = 0
delimiter = +
inetinterfaces = all
protocols = all

smtpdclientrestrictions = permitmynetworks, permitsaslauthenticated, rejectunauthdestination, rejectrblclient, rejectunknown_hostname, permit

  • Did “nslookup”, everything seemed normal. Nothing that is incorrect.

    Those settings are pretty much the same as mine (substituting the IP’s, of course).

    Still not working. Any ideas?

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

  • I’ve setup this MX record: 1800 IN MX 10

    Outlook is able to connect to the server and stuff. Sending mail via SquirrelMail works, however it’s not optimal for any circumstances as it’s kinda annoying to use and all that.

    So the weird part is why it’s working internally but not externally.

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

just remove a line

transport_maps = hash:/etc/postfix/transport