Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail not sending mail

Status
Not open for further replies.

sanmi

MIS
Oct 20, 2006
35
US
I just configured my Solaris 8 to send mail out to some users.
I commented out the second line in /etc/mail/sendmail.cf file.
# "Smart" relay host (may be null)
# DSmailhost.$m

I then did to stop & start the deamon
/etc/init.d/sendmail stop
/etc/init.d/sendmail start

I also tried #./etc.rc2.d/S88senmail stop
#./etc.rc2.d/S88senmail stop


When I did mailx myusrid@xxxxx.org to test my mail, nothing was received.
Anyone has any clue what I might be missing.

Thanks,
Sanmi
 
You need a smart relay host to send your e-mail to. You can also run mailx -v userid@xxx.org to see if it connects anywhere. Also look into the mailq command.
 
I have a group wise mail server that's running. How do I configure my server to use the smart relay host....

Thanks,
Sanmi
 
This should get you up and running:

Code:
/etc/init.d/sendmail stop
cd /etc/mail
cp subsidiary.cf sendmail.cf
echo "xxx.xxx.xxx.xxx <mail server> <mail server.domain.name> >> /etc/inet/hosts
 
I made a typo:

Code:
Should be 
echo "xxx.xxx.xxx.xxx <mail server> <[b]mailhost[/b].domain.name> >> /etc/inet/hosts
 
any syslog output from sendmail?

Best Regards, Franz
--
UNIX System Manager from Munich, Germany
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top