Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Mac OS X sendmail? Nameservers?

Mac OS X sendmail? Nameservers?
Thread Tools
Senior User
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jan 22, 2004, 04:14 PM
 
I'm using Web Sharing (Panther Client) to testing a web form that sends an email using Perl and sendmail. All is well on the Perl end--no errors. But the mail never gets sent...

So I checked /var/log/mail.log and find...

"Name service error for name=mydomain.com type=MX: Host not found"

mydomain.com is fine--I get my email there all the time--but maybe sendmail isn't using my ISP's nameserver?

What do I need to do to get sendmail to recognize domain names? I don't want to set up my own nameserver just for testing--I want to use my ISP's nameserver.

Thanks!
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jan 23, 2004, 04:54 AM
 
Originally posted by nagromme:
I'm using Web Sharing (Panther Client) to testing a web form that sends an email using Perl and sendmail. All is well on the Perl end--no errors. But the mail never gets sent...

So I checked /var/log/mail.log and find...

"Name service error for name=mydomain.com type=MX: Host not found"

mydomain.com is fine--I get my email there all the time--but maybe sendmail isn't using my ISP's nameserver?

What do I need to do to get sendmail to recognize domain names? I don't want to set up my own nameserver just for testing--I want to use my ISP's nameserver.

Thanks!
Sendmail... pffhhhh....

Panther is using Postfix now, which is a very good thing. Check out http://www.postfix.org for the lowdown on how to use Postfix to 'relay' to your ISP's mailserver
Computer thez nohhh...
     
Senior User
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jan 23, 2004, 09:35 AM
 
Thanks for the suggestion.

I'm doing testing for a server that uses sendmail though, so sendmail it must be.

If postfix is a no-brainer to Find-and-Replace and switch in my Perl script, though, it could allow me to do some testing and then switch back to sendmail on the "real" server.
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Jan 23, 2004, 05:05 PM
 
Originally posted by nagromme:
Thanks for the suggestion.

I'm doing testing for a server that uses sendmail though, so sendmail it must be.

If postfix is a no-brainer to Find-and-Replace and switch in my Perl script, though, it could allow me to do some testing and then switch back to sendmail on the "real" server.
For all intents and purposes, Postfix IS Sendmail as far as your OS knows. So you can test using Postfix without worrying whether it's going to be sendmail-compatible on your destination OS.

The big difference between the two for an administrator is the ease of use in configuring it, and Postfix beats the pants of Sendmail in that regard.
Computer thez nohhh...
     
Senior User
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jan 23, 2004, 09:55 PM
 
I'll swap in postfix for testing. Will that in itself solve the nameserver issue or does my question remain?

I'll find out shortly...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2