Sendmail error

Discussion in 'HOWTO-Related Questions' started by rashid, Sep 15, 2011.

  1. rashid

    rashid New Member

    Dear all

    When i am using (static / live ip with dns) sendmail perfectly working.

    when i am using adsl modem with local ip and local dns sendmail giving error

    Deferred: Name server: smtp.company.com: host name lookup failure

    Any Idea

    Reg
    Rashid Khan
     
  2. falko

    falko Super Moderator ISPConfig Developer

    First thing, if you are on a dynamic IP, this IP is most likely blacklisted, and you should set up relaying - for Postfix this can be done as follows: http://www.howtoforge.com/postfix_relaying_through_another_mailserver

    Second thing: do you have valid nameservers in /etc/resolv.conf? Can you try Google's nameservers (8.8.8.8 and 8.8.4.4) instead?
     

Share This Page