Author Topic: Problems sending email via smarthost  (Read 1426 times)

kbrault

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +1/-0
    • View Profile
Problems sending email via smarthost
« on: July 04, 2009, 04:06:50 am »
Hello everyone,

I have a fresh install on vmware of both 1.0.1 and 1.1.3. When I configure mail to send via a my ISP's server (smarthost, no auth required) the email stays in the queue and I have this error in the mail log:

"Host or domain name not found. Name service error for name=<ISP's email server> type=MX: Host not found, try again)"

I can ping the ISP's server by name from the CLI. Smarthost does work for my other VM servers.

Update: If I use my ISP's SMTP server IP address and not the name then it works!

Am I missing a setting (Firewall is off)? Does anyone have any ideas?

Thanks in advance for your help!

Kevin
« Last Edit: July 04, 2009, 04:13:33 am by kbrault »

matija

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Problems sending email via smarthost
« Reply #1 on: July 04, 2009, 02:17:14 pm »
Put ip address of the smarthost server

kbrault

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +1/-0
    • View Profile
Re: Problems sending email via smarthost
« Reply #2 on: July 07, 2009, 09:08:32 pm »
Yes, I did that and it works.

I am still bothered by why smtpd does not resolve the name but ping does?