sendmail savemail panic results in no exit code for outbound email
am 23.04.2008 13:15:58 von puspita.royHi all,
I am using sendmail version 8.13. And I found the follwing issue.
When disk space problems occurs and sendmail is configured to report
handle this, a savemail panic occurs on outbound email with an exit
status of zero.
#vi /etc/mail/submit.cf
unmcomment the "O MinFreeBlocks=100"
Change the 100 to 999999999
"echo test | sendmail -v root@host"
Then I get following error.
Insufficient disk space; try again later
Insufficient disk space; try again later
returntosender: cannot select queue for root
postmaster... aliased to root
Insufficient disk space; try again later
returntosender: cannot select queue for postmaster
savemail: cannot save rejected email anywhere
then when I check the exit status, I find it to be 0.
....view the exit status
#echo $?
#0
which should not be zero. Rather, I guess it should exit with OSERR.
First of all, is this expected (a zero exit status) or its a bug??
Is this issue fixed in later sendmail version. if so , please share
the version number.
Otherwise, is there a solution coming up for
this?
Thanks ,
Puspita.