Discussion Locked

sendmail status

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

5 replies

by cavedweller

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.

by insatiable

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

This discussion is closed to new replies.