2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
akbsol |
Posted: Oct 18 2015, 06:28 PM
|
Newbie Group: Members Posts: 23 Member No.: 2703 Joined: 10-November 07 |
Hi,
There seems to be a problem in the way XMail checks for quotas on every RCPT command. I have a large Maildir with around 500000 emails and I noticed that every time XMail receives a email, the CPU spikes to 100% for few seconds before responding to the RCPT. On debugging I found that it actually calculates directory size for every RCPT command. And there is just no way to bypass this. I tried removing MaxMBSize from user.tab, setting it to 0, setting it to empty "" but nada. I checked the source and it seems UPopGetMailboxSize() is called before "MaxMBSize" value is evaluated. In order to tackle this I am at present using a dummy front account which has "redirect" in its mailproc.tab to redirect mails to the actual large email account. This way the directory size of only dummy account is calculated by XMail which is almost instant and doesn't cause any CPU spike. Shouldn't this behavior be rectified? -Akash |