Package: sendmail-bin
Version: 8.13.4-1
Severity: important
Tags: patch
We have mail queue directory named as '/var/spool/mqueue_temp/'.
When starting sendmail with '/etc/init.d/sendmail start' there are
warnings about queue files witch doesn't exists. The problem appears
when there are old messages in mail queue. The init-script try to move
those messages for diffferent filenames. It changes filename with
"sed 's/t/q/'"-type commands for a queue filename with path. This will
replace character 't' in the path name not at the start of queue filename.
There is a patch to try to correct the problem. It's working for us, but
could have incorrect regular expression for all cases.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages sendmail-bin depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libldap2 2.1.30-8 OpenLDAP libraries
ii liblockfile1 1.06 NFS-safe locking library, includes
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii sendmail-base 8.13.4-1 powerful, efficient, and scalable
ii sendmail-cf 8.13.4-1 powerful, efficient, and scalable
Versions of packages sensible-mda depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii procmail 3.22-11 Versatile e-mail processor
Versions of packages rmail depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libldap2 2.1.30-8 OpenLDAP libraries
-- no debconf information
--- sendmail.orig 2005-06-13 16:28:16.000000000 +0300
+++ sendmail 2005-06-13 16:30:52.000000000 +0300
@@ -960,7 +960,7 @@
done
# rename tf files to be qf if the qf does not exist
for tffile in $QUEUE/tf*; do
- qffile=`echo "$tffile" | sed 's/t/q/'`
+ qffile=`echo "$tffile" | sed 's/\/tf\([[:alnum:]]*\)$/\/qf\1/'`
if [ -r "$tffile" ] && [ ! -f "$qffile" ]; then
if [ ! -z "$QUIET" ]; then
echo -n "<recovering: $tffile> "; fi
@@ -972,14 +972,14 @@
done
# remove df files with no corresponding qf files
for dffile in $QUEUE/df*; do
- qffile=`echo "$dffile" | sed 's/d/q/'`
+ qffile=`echo "$dffile" | sed 's/\/df\([[:alnum:]]*\)$/\/qf\1/'`
if [ -r "$dffile" ] && [ ! -f "$qffile" ]; then
if [ ! -s "$dffile" ]; then
rm -f "$dffile"
else
if [ ! -z "$QUIET" ]; then
echo -n "<incomplete: $dffile> "; fi
- mv "$dffile" `echo $dffile | sed 's/d/D/'`
+ mv "$dffile" `echo $dffile | sed
's/\/df\([[:alnum:]]*\)$/\/Df\1/'`
fi
fi
done