XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Problem ! Xmail Checks Maildir Size On Every Rcpt

Reply to this topicStart new topicStart Poll

> Problem ! Xmail Checks Maildir Size On Every Rcpt
akbsol
  Posted: Oct 18 2015, 06:28 PM
Quote Post


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
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll