Mail Not Delivering --REALLY BAD!!
res at ausics.net
Sun Nov 12 03:54:50 GMT 2006
What version Sendmail? and are you using the correct lock type
On Sat, 11 Nov 2006, Mailing Lists wrote:
> On Sat, 2006-11-11 at 19:04 -0600, Bill Huff wrote:
>> Rick, the way that mailscanner works is to have a sendmail process that pulls mail into an incoming queue ( usually /var/spool/mqueue.in ) and then mailscanner scans it and moves it to the outgoing queue ( usually /var/spool/mqueue ). If mailscanner just stopped scanning mail for some reason then you should be able to see any mail that you received by looking in /var/spool/mqueue.in. A 'mailq -OQueueDirectory=/var/spool/mqueue.in' will show you any mail that is stuck in that directory. If there is no mail sitting in that queue, then that means that mailscanner was scanning and moving it to the outgoing queue. If that is the case, then a 'mailq -OQueueDirectory=/var/spool/mqueue' should show you what is hung up there. However if you have started sendmail by itself, then that directory should be clear, as that is what sendmail will use by default as well.
>> Have you looked in /var/log/maillog for anything strange starting Friday afternoon? I would suspect something to be there if Mailscanner started having problems. It is usally pretty talkative when it starts having any sort of issues.
>> The directories that I have pointed out above are the Mailscanner defaults, so it is possible that your setup may be using different directories. You will need to check your /etc/Mailscanner/Mailscanner.conf file to make sure where your incoming and outgoing queues are ( 'Incoming Queue Dir' and 'Outgoing Queue Dir' ). Hopefully all of your mail just spooled up in /var/spool/mqueue.in and didn't get lost, but in any case, /var/log/maillog should give you a clue what is going on.
>> I hope that this helps. I know that feeling that comes when you think that you have lost users mail.
> Thanks for the info!
> My directories are just like you said. unfortunately, it seems that I
> DID loose email!! there is nothing in the queues. I just stopped
> sendmail, started MailScanner, sent myself another test email, and never
> got it again!! so now I'm running sendmail by itself and it is fine. my
> maillog file shows tons of the following:
> Nov 11 22:44:45 pipe MailScanner: Batch: Found invalid qf queue
> file for message k9HDF4fq030592
> but MailScanner is not even running! I am running barefoot w/o
"Just a world that we all must share, it's not enough just to stand and
stare, is it only a dream that there'll be no more turning away" - Floyd
More information about the MailScanner