Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am getting alot of the following messages from an ISP when sending out emails. Is there any way to get more information from these ? Users are reporting that they are not receiving any emails?

Jul 5 17:02:50 smtp sendmail[11239]: r6592of7011232: to=, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=168781, relay=mx12.example.com.com. [], dsn=5.0.0, stat=Service unavailable

Is it possible to start running debug mode for sendmail?


share|improve this question
The way to get more information is to contact that ISP. In theory, the address postmaster@example.com should get an email to the person in charge of email systems, but there's the problem of theory and practice again... –  Jenny D Jul 5 '13 at 9:12

1 Answer 1

Sendmail: outgoing test message in debug/verbose mode

As root you may send a test message in verbose mode. You should get full transcript of SMTP session to the remote SMTP server.

(echo: subject: test; echo) | /usr/sbin/sendmail -v -Am -i user@example.net
share|improve this answer
I have the same problem and running in verbose mode did not help debug the issue further. The verbose logs actually indicated that the mail was sent. maillog mentions otherwise (stat: Service unavailable) –  Vivek Kodira Oct 8 '14 at 7:29
@VivekKodira Have you used -Am command line option? [I have added it to the answer] –  Andrzej A. Filip Oct 8 '14 at 7:51
@Andrej Thank you. Worked with the -Am option and gave a useful response. –  Vivek Kodira Oct 8 '14 at 8:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.