Sendmail to local user........Help!

oktg78

Registered
Can someone help me about SENDMAIL?

Problem: I can use sendmail to anywhere except local user.

Detail: our domail is www.12345.com, and mail server is mail.12345.com. on one of Mac OS X server mac1.12345.com, I can use sendmail to anywhere (like abc@aol.com, abc@yahoo.com). But if i use sendmail to my localuser like webmaster@12345.com, it failed.

Enviroment: Tested on Mac 10.0.4 and 10.1.1, none of them work.

Thanks.
 
Do you have the "sendmail" daemon running on the box that will receive the email (in your case the box named 12345.com)? If you're not sure then from the terminal type:

ps -auxc | grep sendmail

...to see if 'sendmail' is running. If it is running then you probably have a DNS issue with 12345.com. Otherwise proceed thusly....

To get sendmail to start up when you boot the machine you need to edit one of the system-wide configuration files like so:

sudo pico /etc/hostconfig

...and change the line which reads:

MAILSERVER=-NO-

to

MAILSERVER=-YES-

This causes the following script to be invoked at boot time:
/System/Library/StartupItems/Sendmail/Sendmail

You can run this script manually with:

sudo /System/Library/StartupItems/Sendmail/Sendmail
 
Back
Top