sendmail: savemail panic

If you see a large mail queue and your system's I/O is increasing, you may find messages like these in your syslog:

Losing q5/qfg9N5EwE3004499: savemail panic
SYSERR(root): savemail: cannot save rejected email anywhere

In this situation, there's some reason why sendmail cannot deliver e-mail to the postmaster address. There's a few issues that can create this problem:

  • Missing postmaster alias in /etc/aliases
  • Hard disk is full
  • The mail spool for the postmaster has the wrong ownership
  • The mbox file for the postmaster is over 2GB and procmail can't deliver the e-mail

First, correct the situation that is preventing sendmail from delivering the e-mail to the postmaster user. Then, stop sendmail, clear the e-mail queue, and start sendmail again.

I found this issue on a Red Hat Enterprise Linux 4 server and then found the solution on Brandon's site.

Printed from: http://rackerhacker.com/2008/02/18/sendmail-savemail-panic/ .
© Major Hayden 2012.

2 Comments   »

  • bharadwaj says:

    so what sould be the ownership of the postmaster?

  • Major Hayden says:

    bharadwaj - It depends on how you want to set things up. I have postmaster mail funnel into my email account so I can keep tabs on any potential problems. If you're part of a large organization, mail for the postmaster may need to be sent to a particular department.

RSS feed for comments on this post

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this