 |
 |
Mac OS X sendmail? Nameservers?
|
 |
|
 |
|
Senior User
Join Date: Dec 2000
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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...
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |