mailscanner pending queue issue

Discuss our MailScanner install script and MailScanner itself
webadmin
Junior Member
Posts: 11
Joined: 21 May 2008, 13:26

mailscanner pending queue issue

Post 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
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post 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
webadmin
Junior Member
Posts: 11
Joined: 21 May 2008, 13:26

Post 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.
excessnet
Junior Member
Posts: 15
Joined: 01 Sep 2008, 21:07

Post 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.
maverick
Junior Member
Posts: 12
Joined: 11 Dec 2006, 19:35

Post 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.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post 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.
novisoft
Junior Member
Posts: 3
Joined: 16 May 2007, 07:19

Post 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 ? :confused:

Many thanks,
Lyes
excessnet
Junior Member
Posts: 15
Joined: 01 Sep 2008, 21:07

Post by excessnet »

Happen again when 4.26 -> 4.27, but this time, reset ACL didn't work...

I'm looking into it...
excessnet
Junior Member
Posts: 15
Joined: 01 Sep 2008, 21:07

Post by excessnet »

OK.

Fixed by :

1. Reset ACL to Default
2. Update MailScanner (force update)
3. Replace custom ACL
4. Restart EXIM
excessnet
Junior Member
Posts: 15
Joined: 01 Sep 2008, 21:07

Post 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 :)
Post Reply