• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Please speed up /usr/local/psa/admin/sbin/mchk --with-spam

tkalfaoglu

Silver Pleskian
This command,
/usr/local/psa/admin/sbin/mchk --with-spam

takes a very long time to run, during which all POP3/IMAP logins are disabled and users screaming.

Could you either keep POP3/IMAP enabled during its run, OR speed up the mchk somehow?

Many thanks -t

PS: Please also reduce the "forum requires 300 seconds between posts" if you want user feedback..
 
In fact, even if you have personalized spam settings DISABLED in the server config, mchk still goes thru a lengthy process of:

/usr/bin/perl -T /usr/local/psa/admin/sbin/spammng --add-to-blacklist *@xxxx.net --mailname [email protected]
 
The time it takes is directly proportional to the number of mailboxes you have on your box. If you have few, then the sooner it finishes otherwise if they are so many, longer it takes :)
 
Wow, really? the more mailboxes, the longer it takes? That's news to me :)
Unfortunately I can't just delete some customers to speed up plesk.

Really -- mchk is a horrible beast that needs some major optimization.

One tip: Don't shell out for each call, embed that call into mchk.
Another tip: Don't disable pop3/imap logins during mchk run.. then it can run all day if it wants to.

-t
 
Last edited:
Back
Top