Several messages in the incoming queue are not being sent

Dustin Baer dustin.baer at IHS.COM
Fri Jul 16 16:37:28 IST 2004


> I can see with mc (midnight commander) that the qf''s are distinct in
> number compared to the df 's. Meanwhile qf's are ~80000, the df's are a
> few thousands less.

Peter Peters had a good suggestion.  My best suggestion now would be to
start over:

1.  Stop Sendmail and MailScanner
2.  cd /var/spool
3.  mv mqueue.in mqueue.in.OLD
4.  mkdir mqueue.in
5.  Restart Sendmail and MailScanner

This way, you have a clean mqueue.in to start with.

I would then move every df/qf pair from mqueue.in.OLD to mqueue.in:

$ ksh
$ cd /var/spool/mqueue.in.OLD
$ ls df* | cut -c3-16 | while read i ; do
   if [ -s qf$i ] ; then
      print "df/qf pair for $i exists.  Moving pair to /var/spool/mqueue.in"
      mv [dq]f$i /var/spool/mqueue.in
   else
      print "df/qf pair for $i DOES NOT exist"
   fi
done

After that, you should have a bunch of qf files with no df equivalent,
and probably some df files with no associated qf in /var/spool/mqueue.in.OLD

> I also noticed that the dates of most of the files are weird
> '2023-07-14', and yes, the system/hardware time are fine and in synch.

That seems a bit strange.

Dustin

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list