Mail stuck in mqueue.in, help!

Ugo Bellavance ugob at CAMO-ROUTE.COM
Sat Sep 4 00:08:24 IST 2004


<x-flowed>
Max Kipness wrote:

>>I'm not sure what caused it. The only thing I think of is that
>>I hit ctrl-c when I got tired of waiting for a long rebuilding
>>of the alias file with newaliases command. Now everytime I
>>rebuild it takes at least 1 minute. I never noticed this before.
>>
>>I have over 340 messages in mqueue.in so I guess this means
>>that MailScanner is not processing? I see no errors in the maillog.
>>
>>Can someone give me some pointers on how to troubleshoot what
>>the problem might be as mail is being held up for several
>>domains right now!
>
>
>>Your alias file is that big?  I think I'd try stopping
>>MailScanner, deleting your aliases.db and rebuild it and then
>>start MailScanner.  I'd be interested to see some log
>>entries...particularly those that show up immediately upon
>>starting MailScanner.  Do you see any lines that mention your
>>aliases file?
>
>
> I've rebuilt the alias file, looked through the MAQ and all I can find is
> info on debug mode, which doesn't seem to work. I set 'debug=yes' in
> mailscanner.conf and then restarted the service from the console and see
> nothing. I see nothing extra in the maillog either. How should this work?

True, I don't have much on troubleshooting in the MAQ page... sorry.

Your system seems to be struggling...

The debug should give you some output while restarting mailscanner.

What kind of performance stats do you have?  What top says?

Cpu usage?  Load average?

what is the output of "free"?

what is the output of "vmstat 2"  (let it run for 5-10 lines, then ctrl-c).

Are you sure you don't have a disk that failed in one of your RAID
arrays or something?
>
> At this point I still have everything stuck in mqueue.in. In the logs,
> MailScanner keeps reporting that there are so many messages in the queue,
> and that it it scanning 90. It keeps saying that it's scanning 90, but
> obviously it's not.

So you've modified the default setting?  If it says it is sanning 90
messages, this is usually a good sign.

>
> If anybody could think of any other resolution or method to troubleshoot
> this, I would appreciate it.
>
> Thanks,
> Max
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list