• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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