General discussion

Locked

sendmail status

By cdilipb ·
hi friends!

how do you confirm whether sendmail is working fine? As you know if there are mails in queue which also create a process with name sendmail. Is there any way like lssrc command on aix which gives the following output.
# lssrc -s sendmail
Subsystem Group PID Status
sendmail mail 96418 active

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

sendmail status

by cavedweller In reply to sendmail status

You could setup a "status" account and have a process periodically send mail to it, then check to see if the message arrived and delete it. This would check that sendmail was working, not just running. Perhaps mail the current `date` so that the checker knew how old the message was when it read it.

Collapse -

sendmail status

by cdilipb In reply to sendmail status

Poster rated this answer

Collapse -

sendmail status

by insatiable In reply to sendmail status

I'm interested in seeing what kind of answer you get! I would love to have a quick check like it sppears the AIX has.

I do this. Two steps, really.

Test sendmail:
/usr/lib/sendmail -v </dev/null root
/usr/lib/sendmail -v </dev/null insatiable@anywhere.com

Then, I always check my syslog and look to make sure it went out:
tail /var/log/syslog | grep sendmail

Good luck!
Melissa

Collapse -

sendmail status

by cdilipb In reply to sendmail status

Poster rated this answer

Collapse -

sendmail status

by cdilipb In reply to sendmail status

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums