Problem with qf* files in mqueue.in SOLVED
Julian Field
mailscanner at ecs.soton.ac.uk
Fri May 14 11:35:27 IST 2004
I have added Kevin's patch to Sendmail.pm that auto-detects the sendmail
locking type to use.
This will be included in the next release.
At 11:33 14/05/2004, you wrote:
>Hello ,
>
>I have done this:
>
>"Lock Type = posix
>Try to set the lock type to posix"
>
>And no longer it leaves qf* lost.
>
>
>Thanks
>
>
>On Thu, 13 May 2004, Andreas Kasa wrote:
>
> > After a upgarde from 4.25 to 4.30 i have similar proble. The debian
> sendmail
> > package is compile with posix locking not flock (there was a problem with
> > flick in the 2.4.x kernel series)
> >
> > # How to lock spool files.
> > # Don't set this unless you *know* you need to.
> > # For sendmail, it defaults to "flock".
> > # For Exim, it defaults to "posix".
> > # No other type is implemented.
> > Lock Type = posix
> >
> > Try to set the lock type to posix.
> >
> >
> > Am 12.05.2004 17:27 Uhr schrieb "Sergio Sergio" unter
> <sergios at MEDYNET.COM>:
> >
> > > Hello , I have a problem with the files in mqueue.in.
> > > I send email to mailscanner at ecs.soton.ac.uk ,but they say that I send it
> > > to the list.
> > >
> > > The text of the messages sent is:
> > >
> > > I have a problem with the mqueue.in, the incoming messages
> > > mqueue and the projections in mqueue but in mqueue remain these loose
> > > qfi3UBaN04009203 ...
> > > qfi*
> > >
> > > The archives are accumulated daily,grow with time.
> > > There are archives of several days and today.
> > >
> > > Emails seems that they are send correctly but this files in
> > > mqueue.in remain (qf*).
> > >
> > > I use:
> > > Debian stable, with Package unstable
> > >
> > > sendmail 8.12.3-6.6
> > > mailscanner 4.29.7-1
> > > clamav 0.70-4
> > > clamav-base 0.70-4
> > > clamav-daemon 0.70-4
> > > spamassassin 2.63-1
> > >
> > > I have both sendmail and MailScanner running.
> > > First I start up sendmail and then MailScanner.
> > > My sendmail.conf looks like this:
> > >
> > > DAEMON_PARMS="-bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly
> > > OQueueDirectory=/var/spool/mqueue.in";
> > >
> > > And this is my MailScanner configuration:
> > >
> > > Incoming Queue Dir = /var/spool/mqueue.in
> > > Outgoing Queue Dir = /var/spool/mqueue
> > > Incoming Work Dir = /var/spool/MailScanner/incoming
> > >
> > > And my Incoming Work Dir is of the type:
> > >
> > > none /var/spool/MailScanner/incoming tmpfs defaults 0 0
> > >
> > > Sendmail is working fine and I've set in my sendmail.conf an interval of
> > > 10: QUEUE_INTERVAL="10";
> > >
> > > It looks like the process works ok. When an email is sent, it is
> processed
> > > by sendmail an then left in the queue for MailScanner (Queue Scan
> Interval
> > > = 4). MailScanner then analize it with the antivirus(clamav) and
> > > spamassasin. In the log file everything seems to look just fine, but
> there
> > > are still some qf left (not all of them) in /var/spool/mqueue.in/ and
> > > they're accumulating there.
> > >
> > > I have noticed which increasing this value
> > >
> > > #Queue Scan Interval = 4
> > > Queue Scan Interval = 20
> > >
> > > it lowers I number of qf forgotten, lost.
> > >
> > > it seems there's a conflict when sendmail and MailScanner both use a file
> > > at the same time in mqueue.in/
> > >
> > >
> > >
> > > Thanks in advance.
> > > Pardon my English.
> > >
> > >
> >
> >
>
>--
>
>Sergio Santos
>Departamento Técnico Meditex
>Grupo SANED
>Telf: 0034 91 749 9500/04
>Madrid (Spain)
>
>
>
>
>-------------------- ROGAMOS LEA ESTE TEXTO ----------------------------
>Este mensaje y sus anexos pueden contener información confidencial
>y/o con derecho legal. Está dirigido únicamente a la persona/s o
>entidad/es reseñadas como único destinatario autorizado. Si este mensaje
>le hubiera llegado por error, por favor elimínelo sin revisarlo ni
>reenviarlo y notifíquelo inmediatamente al remitente. Gracias por su
>colaboración.
>
>-------------------------- PLEASE NOTE ---------------------------------
>This message, along with any attachments, may be confidential or
>legally privileged. It is intended only for the named person(s), who
>is/are the only authorized recipients. If this message has reached you in
>error,kindly destroy it without review and notify the sender immediately.
>Thank you for your help.
>
>------------------------------------------------------------------------
>
>-------------------------- 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
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------------------- 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