mailq mismatch to files in mqueue

Simple one queue sendmail config.

How does this happen ... normally the number of q-files + number of d-
files = mailq total.



# cd /var/spool/mqueue
# mailq | grep Total
Total requests: 150
# ls | wc -l
7662
# ls | grep -c "^q"
158
# ls | grep -c "^Q"
3676
# ls | grep -c "^d"
3829
# ls | grep -c "^D"
0
#
phillip.corchary [ Mo, 01 Oktober 2007 19:40 ] [ ID #1833763 ]

Re: mailq mismatch to files in mqueue

In article <1191260421.020004.63230 [at] 19g2000hsx.googlegroups.com>,
phillip.corchary [at] gmail.com wrote:

> Simple one queue sendmail config.
>
> How does this happen ... normally the number of q-files + number of d-
> files = mailq total.
>
>
>
> # cd /var/spool/mqueue
> # mailq | grep Total
> Total requests: 150
> # ls | wc -l
> 7662
> # ls | grep -c "^q"
> 158
> # ls | grep -c "^Q"
> 3676
> # ls | grep -c "^d"
> 3829
> # ls | grep -c "^D"
> 0
> #

Files starting with Q instead of q are queue files for messages (data in
'd' files) that have failed fatally in ways that are rooted in local
config. Look in your logs for "savemail panic" errors to detail the
specific local cause. Sometimes it makes sense to requeue all of those
my renaming them as real queue files, but usually that is pointless.

--
Now where did I hide that website...
Bill Cole [ Mo, 01 Oktober 2007 20:16 ] [ ID #1833766 ]

Re: mailq mismatch to files in mqueue

On Oct 1, 12:16 pm, Bill Cole <b... [at] scconsult.com> wrote:
> In article <1191260421.020004.63... [at] 19g2000hsx.googlegroups.com>,
>
>
>
> phillip.corch... [at] gmail.com wrote:
> > Simple one queue sendmail config.
>
> > How does this happen ... normally the number of q-files + number of d-
> > files = mailq total.
>
> > # cd /var/spool/mqueue
> > # mailq | grep Total
> > Total requests: 150
> > # ls | wc -l
> > 7662
> > # ls | grep -c "^q"
> > 158
> > # ls | grep -c "^Q"
> > 3676
> > # ls | grep -c "^d"
> > 3829
> > # ls | grep -c "^D"
> > 0
> > #
>
> Files starting with Q instead of q are queue files for messages (data in
> 'd' files) that have failed fatally in ways that are rooted in local
> config. Look in your logs for "savemail panic" errors to detail the
> specific local cause. Sometimes it makes sense to requeue all of those
> my renaming them as real queue files, but usually that is pointless.
>
> --
> Now where did I hide that website...

Thank you. That's helpful indeed, but the maillog entries are not very
illuminating:
Oct 2 17:50:08 hostname sendmail[28330]: l930o7Su028330: Losing ./
qfl930o7Su028330: savemail panic


Do I need loglevel higher than current (9) to get more debug output?

phil
phillip.corchary [ Mi, 03 Oktober 2007 02:52 ] [ ID #1835619 ]

Re: mailq mismatch to files in mqueue

In article <1191372740.821919.39140 [at] y42g2000hsy.googlegroups.com>,
Phil <phillip.corchary [at] gmail.com> wrote:

> On Oct 1, 12:16 pm, Bill Cole <b... [at] scconsult.com> wrote:
> > In article <1191260421.020004.63... [at] 19g2000hsx.googlegroups.com>,
> >
> >
> >
> > phillip.corch... [at] gmail.com wrote:
> > > Simple one queue sendmail config.
> >
> > > How does this happen ... normally the number of q-files + number of d-
> > > files = mailq total.
> >
> > > # cd /var/spool/mqueue
> > > # mailq | grep Total
> > > Total requests: 150
> > > # ls | wc -l
> > > 7662
> > > # ls | grep -c "^q"
> > > 158
> > > # ls | grep -c "^Q"
> > > 3676
> > > # ls | grep -c "^d"
> > > 3829
> > > # ls | grep -c "^D"
> > > 0
> > > #
> >
> > Files starting with Q instead of q are queue files for messages (data in
> > 'd' files) that have failed fatally in ways that are rooted in local
> > config. Look in your logs for "savemail panic" errors to detail the
> > specific local cause. Sometimes it makes sense to requeue all of those
> > my renaming them as real queue files, but usually that is pointless.
> >
> > --
> > Now where did I hide that website...
>
> Thank you. That's helpful indeed, but the maillog entries are not very
> illuminating:
> Oct 2 17:50:08 hostname sendmail[28330]: l930o7Su028330: Losing ./
> qfl930o7Su028330: savemail panic
>
>
> Do I need loglevel higher than current (9) to get more debug output?

Probably not. You probably just need to look at the details for that
message (ew.g. the queue file and other log lines with the same queue
ID) to determine why Sendmail could not do anything reasonable with the
message.

--
Now where did I hide that website...
Bill Cole [ Mi, 03 Oktober 2007 06:12 ] [ ID #1835622 ]
Miscellaneous » comp.mail.sendmail » mailq mismatch to files in mqueue

Vorheriges Thema: Error messages from try_tls ruleset
Nächstes Thema: Automatic base64->8bit conversion