AW: SYSERR(root): readqf: cannot open ./df*

Julian Field mailscanner at ecs.soton.ac.uk
Fri Dec 13 10:31:42 GMT 2002


Can you try this for me please?
Edit /usr/lib/MailScanner/Message.pm
Look for the "sub DeliverUnscanned"
Add a line
         $store->Delete();
right at the end of that sub.

I can't find why it would not be deleting the qf file, as it definitely 
should. Odd that it only happens on 1 or 2 systems, I certainly can't 
reproduce it here :(

At 08:55 13/12/2002, you wrote:
>Some more info about my original problem with readqf:
>
>1. In my case, no messages get lost.
>The q-file and d-file are copied by mailscanner
>from /var/spool/mqueue.in to /var/spool/mqueue
>and delivered successfully.
>
>2. Sometimes a q-file remains in mqueue.in after both files are copied to 
>mqueue.
>This doesn't seem to hurt.
>The only problems are:
>- mqueue.in gets filled with more and more orphaned q-files.
>- when calling mailq -OQueueDirectory=/var/spool/mqueue.in
>   I get lots of messages
>   sendmail[21513]: NOQUEUE: SYSERR(root): readqf: cannot open 
> ./dfgBBFZHWU021263: No such file or directory
>
>3. These orphaned q-files only occur for messages
>where "Virus Scanning" is set to "no" by a rule.
>
>4. Only when putting manually a single q-file into /var/spool/mqueue,
>an empty message is deliverd with
><<< No Message Collected >>> in its body.
>But this doesn't happen in practice.
>Also, the error message is slightly different in this case:
>sendmail[21115]: gBCDrWWU010401: SYSERR(root): readqf: cannot open 
>./dfgBCDrWWU010401: No such file or directory
>
>5. Versions:
>- SuSE Linux 8.0 (i386)
>- sendmail-8.12.2-88
>- mailscanner-4.05-3
>
>Conclusion:
>Since only mailscanner is deleting files from mqueue.in,
>I suspect the problem is caused by a bug in mailscanner.
>
>Viele Grüße
>
>-- Heinz
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Knutzen, Heinz (DZ-SH)
> > Gesendet am: Mittwoch, 11. Dezember 2002 09:28
> > An: MAILSCANNER at JISCMAIL.AC.UK
> > Betreff: Re: SYSERR(root): readqf: cannot open ./df*
> >
> > yes, mqueue.in and mqueue both are on a local partition.
> > The problem still persists.
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > Gesendet am: Dienstag, 10. Dezember 2002 17:24
> > > An: MAILSCANNER at JISCMAIL.AC.UK
> > > Betreff: Re: SYSERR(root): readqf: cannot open ./df*
> > >
> > > At 15:19 10/12/2002, you wrote:
> > > >I still get these messages.
> > > >I checked the archives and
> > > >- yes, mqueue.in and mqueue are on the same partition
> > > >- yes, only 2 sendmails running
> > > >- yes, only 1 mailscanner with its childs running
> > >
> > > One more thing: are mqueue.in and mqueue both on a *local*
> > > partition, not a
> > > remote NFS-mounted filesystem?
> > >
> > >
> > > >Viele Grüße
> > > >
> > > >-- Heinz
> > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Knutzen, Heinz (DZ-SH)
> > > > > Gesendet am: Montag, 9. Dezember 2002 15:56
> > > > > An: MAILSCANNER at JISCMAIL.AC.UK
> > > > > Betreff: SYSERR(root): readqf: cannot open ./df*
> > > > >
> > > > > Hi,
> > > > >
> > > > > I use mailscanner-4.05-3 and
> > > > > use the option 'Virus Scanning' with a rule set to decide,
> > > > > which messages get scanned and which not.
> > > > >
> > > > > Recently I changed our mail routing such that all mails for a
> > > > > large customer go through mailscanner,
> > > > > but currently are not scanned.
> > > > > From this time on I get error messages like
> > > > >         sendmail[14141]: NOQUEUE: SYSERR(root): readqf:
> > > > > cannot open ./dfgB97KnBh010671: No such file or directory
> > > > >
> > > > > When looking at the logs in detail, I see that for most of
> > > > > the messages, there is no problem.
> > > > > Only for a few messages (about 26 from 4788) I get this error
> > > > > messages.
> > > > > But even the messages which cause the error messages have
> > > > > been successfully deliverd
> > > > > (see below for an excerpt from my logs)
> > > > > When executing
> > > > >         mailq -OQueueDirectory=/var/spool/mqueue.in
> > > > > I get all the error messages again:
> > > > > ...
> > > > > gB99RqBh017660readqf: cannot open ./dfgB99RqBh017660: No such
> > > > > file or directory
> > > > >        -1 Mon Dec  9 10:27 <from at anywhere>
> > > > >                                          <to at our.customer>
> > > > >                 Total requests: 26
> > > > >
> > > > > The number of requests grows slowly but steadily.
> > > > >
> > > > > Dec  9 08:20:49 mscan sendmail[10671]: gB97KnBh010671:
> > > > > from=..., relay=[n.n.n.n]
> > > > > Dec  9 08:20:49 mscan sendmail[10671]: gB97KnBh010671:
> > > > > to=..., stat=queued
> > > > > ..
> > > > > Dec  9 08:20:49 mscan MailScanner[8438]: New Batch: Found 19
> > > > > messages waiting
> > > > > Dec  9 08:20:49 mscan MailScanner[8438]: New Batch:
> > > > > Forwarding 2 unscanned messages, 4742 bytes
> > > > > Dec  9 08:20:49 mscan MailScanner[8438]: Unscanned: Delivered
> > > > > 2 messages
> > > > > Dec  9 08:20:49 mscan MailScanner[8438]: Virus and Content
> > > > > Scanning: Starting
> > > > > ...
> > > > > Dec  9 08:20:56 mscan sendmail[10675]: gB97KnBh010671:
> > > > > to=..., relay=[m.m.m.m], dsn=2.0.0, stat=Sent (OK)
> > > > > Dec  9 09:34:28 mscan sendmail[14141]: NOQUEUE: SYSERR(root):
> > > > > readqf: cannot open ./dfgB97KnBh010671: No such file or
> > directory
> > > > > Dec  9 10:52:28 mscan sendmail[18751]: NOQUEUE: SYSERR(root):
> > > > > readqf: cannot open ./dfgB97KnBh010671: No such file or
> > directory
> > > > > Dec  9 12:01:33 mscan sendmail[22904]: NOQUEUE: SYSERR(root):
> > > > > readqf: cannot open ./dfgB97KnBh010671: No such file or
> > directory
> > > > > Dec  9 14:54:38 mscan sendmail[31269]: NOQUEUE: SYSERR(root):
> > > > > readqf: cannot open ./dfgB97KnBh010671: No such file or
> > directory
> > > > >
> > > > > Can somebody explain this behaviour?
> > > > > Should I ignore these error messages?
> > > > >
> > > > > Viele Grüße
> > > > >
> > > > > -- Heinz Knutzen
> > > > >
> > > > > Datenzentrale Schleswig-Holstein
> > > > > Altenholzer Str. 10-14, 24161 Altenholz, Germany
> > > > > http://www.dzsh.de/
> > > > > mailto:heinz.knutzen at dzsh.de
> > > > > Tel: +49.431.3295.6581 Fax: +49.431.3295.410
> > > > >
> > > > > --
> > > > > Diese Mail wurde durch die Datenzentrale Schleswig-Holstein
> > > > > maschinell auf Viren und gefährliche Inhalte untersucht.
> > > > >
> > > > >
> > >
> > > --
> > > Julian Field
> > > www.MailScanner.info
> > > MailScanner thanks transtec Computers for their support
> > >
> > > --
> > > Diese Mail wurde durch die Datenzentrale Schleswig-Holstein
> > > maschinell auf Viren und gefährliche Inhalte untersucht.
> > >
> > >
> >
> > --
> > Diese Mail wurde durch die Datenzentrale Schleswig-Holstein
> > maschinell auf Viren und gefährliche Inhalte untersucht.
> >
> >

-- 
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support




More information about the MailScanner mailing list