Messages Waiting Incoming queue

Hancock, Scott HancockS at MORGANCO.COM
Mon Mar 17 21:47:35 GMT 2003


Greetings all,

I have waiting files in my exim incoming queue.  I believe these files
are orphaned when I terminate mailscanner.  

When I stop mailscanner I continue to receive incoming to my incoming
queue.  When I start mailscanner again it does not process the mail that
has already arrived.  However, any new mail that arrives does get
processed.  I'm still waiting 3 days later (on 3 insignificant emails).
The -H and -D files look ok to me.  Below is a -H and -D file in the
queue.

I admit my start stop scripts maybe a contributing factor. Below is my
start stop /etc/init.d/mailscanner modified from the Debian package to
address the /opt directory.  Does this script need some modification to
address the new child spawning in 4.x?

Debian Sarg
Exim 3.36
Mailscanner 4.13  (running as mail, tar installation)
SA 2.44

Thanks for any help.

Scott Hancock



**************start script *****************************

#! /bin/sh
#
# skeleton      example file to build /etc/init.d/ scripts.
#               This file should be used to construct scripts for
/etc/init.d.
#
#               Written by Miquel van Smoorenburg <miquels at cistron.nl>.
#               Modified for Debian GNU/Linux
#               by Ian Murdock <imurdock at gnu.ai.mit.edu>.
#
# Version:      @(#)skeleton  1.8  03-Mar-1998  miquels at cistron.nl
#
# This file was automatically customized by dh-make on Fri,  4 Jan 2002
20:05:18 +0100

#PATH=/sbin:/bin:/usr/sbin:/usr/bin
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/MailScanner/bin
#DAEMON=/usr/sbin/check_mailscanner
DAEMON=/opt/MailScanner/bin/check_mailscanner
NAME=MailScanner
DESC=MailScanner

test -f $DAEMON || exit 0

set -e

run_mailscanner=0
if [ -f /etc/default/mailscanner ]; then
    . /etc/default/mailscanner
fi

if [ $run_mailscanner = 0 ]; then
        cat <<EOF

Please edit the file /etc/mailscanner/mailscanner.conf according to your
needs.
Then configure sendmail or exim for use with mailscanner.

After you are done you will have to edit /etc/default/mailscanner as
well. There you will have to set the variable run_mailscanner to 1,
and then type "/etc/init.d/mailscanner start" to start the mailscanner
daemon.

EOF
        exit 0
fi

case "$1" in
  start)
        #echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --pidfile
/opt/MailScanner/var/$NAME.pid \
                --exec $DAEMON
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            touch /var/lock/subsys/mailscanner
        fi
        #echo "$NAME."
        echo ' '
        ;;
  stop)
        echo -n "Stopping $DESC: "
        start-stop-daemon --stop --quiet --pidfile
/opt/MailScanner/var/$NAME.pid
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            rm -f /var/lock/subsys/mailscanner
        fi
        echo "$NAME."
        ;;
  restart|force-reload)
        #
        #       If the "reload" option is implemented, move the
"force-reload"
        #       option to the "reload" entry above. If not,
"force-reload" is
        #       just the same as "restart".
        #
        echo "Restarting $DESC: "
        start-stop-daemon --stop --quiet --pidfile
/opt/MailScanner/var/$NAME.pid
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            rm -f /var/lock/subsys/mailscanner
        fi
        sleep 1
        start-stop-daemon --start --quiet --pidfile
/opt/MailScanner/var/$NAME.pid \
                --exec $DAEMON
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            touch /var/lock/subsys/mailscanner
        fi
        #echo NAME."
        echo ' '
        ;;
  *)
        N=/etc/init.d/$NAME
        # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac

exit 0





************ -H  ***********************

18tuPF-0001Uk-00-H
root 0 0
<3dsmax_MAXScript.listmanager at support.discreet.com>
1047668389 0
-helo_name morganco.com
-host_address ###.###.###.###.31248  ==>## replace my internal ip's 
-interface_address ###.###.###.###
-received_protocol esmtp
-body_linecount 14
-deliver_firsttime
XX
1
hancocks at morganco.com

191P Received: from [172.16.2.3] (helo=morganco.com)
        by pebbles.morganco.com with esmtp (Exim 3.36 #1 (Debian))
        id 18tuPF-0001Uk-00
        for <hancocks at morganco.com>; Fri, 14 Mar 2003 08:59:49 -1000
131P Received: from mut.autodesk.com ([198.102.112.26]) by
gateway.morganco.com with ESMTP id <119237>; Fri, 14 Mar 2003 08:50:06
-0500
182P Received: from support.discreet.com (disweb03.autodesk.com
[144.111.4.235])
        by mut.autodesk.com (8.12.8/8.12.6) with ESMTP id
h2EDwsQF027351;
        Fri, 14 Mar 2003 05:58:54 -0800 (PST)
045  Date:  Fri, 14 Mar 2003 05:58:54 -0800 (PST)
059I Message-Id: <200303141358.h2EDwsQF027351 at mut.autodesk.com>
091F From: "3dsmax_MAXScript: James Carson"
<3dsmax_MAXScript.listmanager at support.discreet.com>
020  Subject: Tutorials?
068R Reply-To: "MAXScript" <3dsmax_MAXScript.39397 at support.discreet.com>
026  X-Mailer: WebBoard 6.0.15
017  Precedence: Bulk
027T To: Unlisted-recipients :;

**************** -D file ***********************************

18tuPF-0001Uk-00-D
From: "James Carson" <carson_w at hotmail.com>

1 Meg I think..

I sent you an email on my work email you can send it to if you want.
Put my work email here, then remember the spam trolls :)

Thanks!!


To reply: mailto:3dsmax_MAXScript.39397 at support.discreet.com
To start a new topic: mailto:3dsmax_MAXScript at support.discreet.com
To login: http://support.discreet.com/webboard/wbpx.dll/~3dsmax
To (un)subscribe: mailto:
3dsmax_MAXScript.list-request at support.discreet.com




> -----Original Message-----
> From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> Sent: Wednesday, March 05, 2003 5:16 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Messages Waiting
> 
> At 23:08 04/03/2003, you wrote:
> >When MailScanner restarts I get a lot of messages waiting, yet my
mailq
> >is more or less empty.
> >
> >So what are these waiting messages?
> >
> >Mar  4 22:34:47 www mailscanner[2604]: Startup: found 345 messages
> >waiting
> 
> You may well have loads of orphaned files in mqeue.in. You can safely
> delete
> 1) anything old
> 2) any df files without matching qf files
> 3) any qf files without matching df files
> 4) any xf files
> But make sure sendmail isn't running when you do this.
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support




More information about the MailScanner mailing list