Problem with sending emails outside of own domain.

Discussion in 'Server Operation' started by EllisP, Jun 19, 2013.

  1. EllisP

    EllisP New Member


    Whenever I try to send emails from my local domain to my gmail; I get an error
    Jun 19 20:13:56 ubuntuserver postfix/smtpd[3150]: NOQUEUE: reject: RCPT from localhost.localdomain[]: 451 4.3.0 <*********>: Temporary lookup failure; from=<[email protected]> to=<*********> proto=ESMTP helo=<[]>
    How come I'm getting this error? 451 4.3.0 Temporary lookup failure.
    Tried googling already and it didn't really help.

    I set up my Ubuntu-server using The Perfect Server - Ubuntu 12.10 (Apache2, BIND, Dovecot, ISPConfig 3) Howto
    Sending emails within my own domain is no problem!

    Kind regards;

  2. TiTex

    TiTex Member

    what's the output of
     postconf -n | egrep -i -e "mynetworks|relay_domains"
  3. mzandstra

    mzandstra New Member

    DNS settings?

    Also the contents of your /etc/resolv.conf would be helpful. Can you ping outside domains from the server CLI?
  4. EllisP

    EllisP New Member

    Already found the problem; sorry for making an unnecessary thread!
  5. TiTex

    TiTex Member

    i hate when people say they found the problem but don't say what was it
  6. mzandstra

    mzandstra New Member

    Yeah it's pretty annoying for future Googlers with the same issue haha...

    Without knowing any details, my suggestion would be to check resolv.conf and dig the DNS server for the relevant records.

Share This Page