1752815 Members
6109 Online
108789 Solutions
New Discussion юеВ

Re: sendmail not working

 
khilari
Regular Advisor

sendmail not working

Hi Guys, my sendmail on hpux 11.23 is not working.... What are the parameters i can check like, mailque etc etc.. to see whats happening.. No configuration changes have been made, just mail not going through lately.
Thanks
4 REPLIES 4
Raj D.
Honored Contributor

Re: sendmail not working

Khilari,
You can check if sendmail daemon is running,
# ps -ef | grep -i sendmail

Also further you can stop and start sendmail:
# cd /sbin/init.d/
# ./sendmail stop
# ./sendmail start

-then check sendemail process.
-Try with a test mail:
# echo " This is test" | mailx -s "Test sendmail" youremail@domain.com

- Check qith mailq if mails are queued or moving,

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Larry Klasmier
Honored Contributor

Re: sendmail not working

No hints in the /var/adm/syslog/mail.log file?
Mel Burslan
Honored Contributor

Re: sendmail not working

If this serer was able to send email out previously and all of a sudden it stopped without you or any other admin messing with sendmail.cf file, then, I'd ask the mail relay server administrators if your server got dropped from the authorized senders' list accidentally.

if you post the screen capture from:

echo test | sendmail -v myemail@mycompany.com

it might help figuring out where the email relay is getting blocked

also another useful command output would be:

grep ^DS /etc/mail/sendmail.cf

________________________________
UNIX because I majored in cryptology...
Raj D.
Honored Contributor

Re: sendmail not working

Khilary,

Also make suer and to check if the mails are receving by the mail relay server and able to process further,

Log in to the mail relay server:

Relay server can be found by:
#cat /etc/mail/sendmail.cf | gerp ^DS

-and check the mail log file: /etc/mail/log file on the relay server(Usualy for linux mail relay server).

Hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "