Sendmail, a lot of mails stuck in /var/spool/mqueue
Curtis Maurand
cmaurand at XYONET.COM
Thu May 20 16:02:12 IST 2004
ZSee my upgrade questions.
check your submit.cf for the "QueueDirectory" line. MailScanner.conf's
incoming queue directory line must match.
from submit.cf
O QueueDirectory=/var/spool/mqueue.in
from MailScanner.conf
Incoming Queue Dir = /var/spool/mqueue.in
or whatever you want them to be. Whatever it is, its got to match. the
documentation is sketchy on this point.
airus wrote:
>One process is Listen and other process running the queue:
>
>/usr/sbin/sendmail -bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly
>-OQueueDirectory=/var/spool/mqueue.in
>/usr/sbin/sendmail -q15m
>
>I built sendmail with -DHASFLOCK=0 to force fcntl because Sendmail's linux
>instalation recommends it for kernels 2.4 and later
>(http://www.sendmail.org/compiling.html#Linux).
>
>MailScanner uses flock, shall I change it to use Posix?
>
>
>--------- Mensage Original --------
>De: alex at nkpanama.com
>Para: MAILSCANNER at JISCMAIL.AC.UK <MAILSCANNER at JISCMAIL.AC.UK>
>Asunto: Re: Sendmail, a lot of mails stuck in /var/spool/mqueue
>Fecha: 19/05/04 13:30
>
>
>
>>File locking, other sendmail processes?
>>
>>-----Original Message-----
>>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>>
>>
>Behalf
>
>
>>Of Zairus Andersen
>>Sent: Wednesday, May 19, 2004 6:33 AM
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: Sendmail, a lot of mails stuck in /var/spool/mqueue
>>
>>
>>Hi,
>>
>>OS: Linux 2.6.5
>>tmpfs mounted at /var/spool/MailScanner/incoming
>>
>>I'm having problems with sendmail (8.12.11), MailScanner (4.30.3) and
>>SpamAssassin (2.63). A lot of mails (not all) are geting stuck in
>>/var/spool/mqueue directory. Sendmail receives the mails and then it queue
>>them normally, MailScanner processes that but Delivery was not attempted
>>
>>
>and
>
>
>>it store the mails in /var/spool/mqueue. The mails that are not stuck in
>>
>>
>the
>
>
>>queue are correctly delivered.
>>
>>We can see in the qf file that the delivery was not attempted:
>>V6
>>T1084868723
>>K0
>>N0
>>P1137115
>>Fbs
>>
>>Mail log:
>>May 18 10:26:57 hl03 sendmail[21214]: i4I8PF7r021214:
>>from=<yyyyyy at yyyyyyy.com>, size=1107115, class=0, nrcpts=1,
>>msgid=<BCCF94C0.2AE9%yyyyyy at yyyyyyy.com>, proto=ESMTP, daemon=MTA,
>>relay=206.Red-80-39-234.pooles.rima-tde.net [80.39.234.206]
>>May 18 10:27:12 hl03 sendmail[21214]: i4I8PF7r021214:
>>to=<xxxxx at xxxxxxx.com>, delay=00:01:49, mailer=esmtp, pri=1137115,
>>stat=queued
>>
>>As you can see, there's no delivery attempt in the log file and if I run
>>queue manually (sendmail -v -q) message i4I8PF7r021214 is not processed.
>>
>>Mailq entry:
>>i4I8PF7r021214X 1106688 Tue May 18 10:25
>>
>>
><grafico at graficogabinete.com>
>
>
>>Message appears to be queued because server's childrens go up to the
>>MaxDaemonChildren, I have deactivated sendmail's load check
>>(LA_TYPE=LA_ZERO). In the queue runs this message never is attempted.
>>
>>
>>OS: Linux 2.6.5
>>tmpfs mounted at /var/spool/MailScanner/incoming
>>
>>Any idea about this problem?
>>
>>-------------------------- 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
>>
>>-------------------------- 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
>>
>>
>>
>
>-------------------------- 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
>
>
>
>
-------------------------- 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