Page 1 of 2
mailscanner pending queue issue
Posted: 30 Nov 2008, 13:38
by webadmin
Hi
Recently my cpanel server mailscanner queue is pending upto 1000 to 2000 mails. after 4-5 times restarting mailscanner the pending mailscanner mailqueue started to deliver the mail to mailbox. i am running the configserver latest mailscanner version. could you please suggest how can i forcely run the pending mailscanner queue mail to deliver using any command. or can you please tell why such behaviour is happening since last week. waiting for your quick response regarding this issue.
cpanel version WHM 11.23.2 cPanel 11.23.6-R27698
mailscanner version 4.72.5
clamav-0.94.2
Posted: 30 Nov 2008, 16:36
by Sarah
You can't force MailScanner to deliver the pending queue. The only way to get that mail delivered without fixing whatever the underlying problem is, is to uninstall MailScanner so that the pending mail will be moved to the exim delivery queue. If your pending queue is growing that large that means there is some problem - either MailScanner isn't scanning at all, or it is unable to keep up with the volume of mail through the server. There are two FAQs that you should find helpful:
http://www.configserver.com/techfaq/index.php?faqid=58
http://www.configserver.com/techfaq/index.php?faqid=14
Posted: 01 Dec 2008, 11:58
by webadmin
Thanks for your suggestion. After changing the mailscanner child process from 3 to 4 pending queue mail started to deliver. those two links are realy helpful.
Posted: 02 Dec 2008, 22:52
by excessnet
I got the same probleme today when upgrading to the new version of MS.
What I did is :
Reset ACL to default (exim), MailScanner re-installed his stuff automaticaly.
I was getting this error :
Starting exim-smtps: 2008-12-02 17:31:48 Exim configuration error:
there are two routers called "defer_router"
pretty wierd.
Posted: 03 Dec 2008, 03:22
by maverick
Also having this issue. Mail stopped delivering all of the suddenly this afternoon. Then some would go out and some wouldn't. I'm getting test emails from 4 hours ago.
Have 3,000+ stuck in queue. Have tried most of the suggestions in the two links from Sarah but email is not going out. New email seems to be working okay now though. Will keep tweaking.
Posted: 03 Dec 2008, 08:04
by Sarah
Maverick, if you're watching the maillog and not seeing any errors, it may just be that it's going to take some time for MailScanner to process the backlog.
Posted: 03 Dec 2008, 14:49
by novisoft
Hi all,
Same problem here, emails are bloqued in the pending queue and couldn't be delivered. I took a look to the exim_paniclog and found the following error :
Exim configuration error in line 254 of /etc/exim.conf.buildtest.work.KHavVkJ5NhAyW7PT:
missing or malformed ACL name
Is there any idea to fix that please ?
Many thanks,
Lyes
Posted: 09 Jan 2009, 22:45
by excessnet
Happen again when 4.26 -> 4.27, but this time, reset ACL didn't work...
I'm looking into it...
Posted: 09 Jan 2009, 22:54
by excessnet
OK.
Fixed by :
1. Reset ACL to Default
2. Update MailScanner (force update)
3. Replace custom ACL
4. Restart EXIM
Posted: 09 Jan 2009, 23:03
by excessnet
Hum...
Had to re-upgrade SpamAssassin to 3.2.5...
Code: Select all
perl -MCPAN -e shell [as root]
o conf prerequisites_policy ask
install Mail::SpamAssassin
quit
and re-fix the geoip_update.php
Find :
Code: Select all
dbquery("LOAD DATA INFILE '".$base.'/'.$file2."' INTO TABLE geoip_country FIELDS TERMINATED BY ',' ENCLOSED BY '\"'");
change to :
Code: Select all
dbquery("LOAD DATA LOCAL INFILE '".$base.'/'.$file2."' INTO TABLE geoip_country FIELDS TERMINATED BY ',' ENCLOSED BY '\"'");
Hope this will be fixed in next release