Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

SYSERR(root): savemail: cannot save rejected email anywhere

avizen9
Esteemed Contributor

SYSERR(root): savemail: cannot save rejected email anywhere

HI
I am getting this error frequently on my hpux command prompt
"SYSERR(root): savemail: cannot save rejected email anywhere"
7 REPLIES
Prashanth.D.S
Honored Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

Hi Arvind,

Perform the following steps to resolve your error:

1.mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.old
2.cp /usr/newconfig/etc/mail/sendmail.cf /etc/mail
3. cd /sbin/init.d
4. ./sendmail stop
5. ./sendmail start

Best Regards,
Prashanth
Prashanth.D.S
Honored Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

Option 2 :
==========
The "savemail panic" and "savemail: cannot save rejected email anywhere" messages are due to savemail() failing. savemail() is used to save or report a message with an error. When the error is encountered, savemail() attempts the following (in order):

1. write error message to terminal if user is logged in
2. mail error to the user
3. save message in ~/dead.letter
4. send mail to postmaster
5. save message in /var/tmp/dead.letter
6. exit with "savemail panic" error


The bottom line is that savemail() could not send the message to anyone nor could it save the message in /var/tmp/dead.letter. Perhaps the file already exists and cannot be openned with the proper permissions. To see what the problem message is, look for the Qf* files (yes, a capital "Q") in /var/spool/mqueue. sendmail renames the qf* files to Qf* so they don't get lost.

To solve the problem check permissions and ownerships on /var/mail

drwxrwxr-x 2 bin mail

and on the single mailboxes, e.g. root /var/mail/root and user /var/mail/user

-rw-rw---- 1 root mail /var/mail/root
-rw-rw---- 1 user mail /var/mail/user

Furthermore allow savemail to write to $HOME/dead.letter and /var/tmp/dead.letter: Set permissions to 777

Best Regards,
Prashanth
avizen9
Esteemed Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

Thanks,
i will try this and let you know the status.

regards
Arvind
avizen9
Esteemed Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

HI prasanth,
the problem still exist, i am still getting below error. any other clue, thanks in advance for your help.

Dec 25 16:39:10 hpmec169 sendmail[21636]: QAA27597: Losing qfQAA27597: savemail panic
Dec 25 16:39:10 hpmec169 sendmail[21636]: QAA27597: SYSERR(root): savemail: cannot save rejected email anywhere
Prashanth.D.S
Honored Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

Hi Arvind,

Have you tried both the solutions ??

Prashanth
Prashanth.D.S
Honored Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

What version of OS are you working with ?
What is the version of Send Mail installed ?
Attach the bdf output or check if /var is full.

whiteknight
Honored Contributor

Re: SYSERR(root): savemail: cannot save rejected email anywhere

To solve the problem check permissions and ownerships on /var/mail

drwxrwxr-x 2 bin mail

and on the single mailboxes, e.g. root /var/mail/root and user /var/mail/user

-rw-rw---- 1 root mail /var/mail/root
-rw-rw---- 1 user mail /var/mail/user

Furthermore allow savemail to write to $HOME/dead.letter and /var/tmp/dead.letter: Set permissions to 777.

WK


Problem never ends, you must know how to fix it