Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website the contact form has been failing silently for two weeks (Wordpress + Contact form 7).

Apparently updating to Contact Form 7 made the assigned email to fail, I also tested with and it also failed until I tried with gmail and it finally worked.

Apparently and domains are not working with this version of the plugin, but I have to investigate the cause.

I found the logs of the lost emails, but I would like to know If I can recover the sender or the content of the original messages.

May 24 23:41:11 localhost sendmail[27653]: s4P3fBc3027653: from=www-data, size=3250, class=0, nrcpts=1, msgid=<>, relay=www-data@localhost
May 24 23:41:11 localhost sm-mta[27655]: s4P3fBdA027655: from=<>, size=3359, class=0, nrcpts=1, msgid=<>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain []
May 24 23:41:11 localhost sendmail[27653]: s4P3fBc3027653:, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=33250, relay=[] [], dsn=2.0.0, stat=Sent (s4P3fBdA027655 Message accepted for delivery)
May 24 23:41:12 localhost sm-mta[27657]: s4P3fBdA027655: to=<>, ctladdr=<> (33/33), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=123359, [], dsn=5.0.0, stat=Service unavailable
May 24 23:41:12 localhost sm-mta[27657]: s4P3fBdA027655: s4P3fCdA027657: DSN: Service unavailable
May 24 23:41:12 localhost sm-mta[27657]: s4P3fCdA027657: to=<>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent


share|improve this question
up vote 2 down vote accepted

If it's not in the log files and the mails have been sent, they will be deleted from the queues and are lost.

share|improve this answer

You may recover the envelope sender, envelope recipients and message size from sendmail's log files.

Recovery of message content would require earlier installation features e.g. archiving milter.

share|improve this answer

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.