[tpop3d-discuss][exim] quota warning problems when maildir_use_size_file is activated - could it be tpop3d to blame
Odhiambo Washington
wash at wananchi.com
Sun, 3 Jul 2005 22:31:04 +0300
Hello Everyone,
This is a question for those who could be using Exim+courier-imap
(IMAP)+tpop3d (POP3).
I posted the question below to exim-users, but now after some thoughts,
I am wondering if perhaps I should be looking at tpop3d as the
culprit instead, since I don't see this same problem at all on a server
where I use only courier-imap to give both POP3 and IMAP services.
Here goes part of the story:
> From: "Odhiambo G. Washington" <wash@wananchi.com>
> To: exim-users@exim.org
> Date: Wed, 29 Jun 2005 12:56:58 +0300
> Subject: [exim] maildir_use_size_file and phony quota warnings.
> X-Mailer: Mutt 1.5.9i (2005-03-13)
>
> Hello,
>
> I am running Exim 4.51, but the problem I am having comes from way
> back. It's always been there and now I wonder if anyone knows a
> solution.
>
> What happens is that when I enable maildir_use_size_file in my
> local_delivery transport, the maildirsize file is created in
> {home}/Maildir. The presence of this file makes my users to get
> an bar that shows them the percentage of the 100MB quota that
> their maildir has taken. This is when they view their e-mails
> via a web interface - squirrelmail+courier-imap.
>
> The quota_warning function seems to work fine, but only until
> I add the maildir_use_size_file option to the transport. Then
> all hell breaks: I begin to receive complaints from clients
> who receive quota warnings they believe are wrong/inappropriate,
> because on the web interface, they can clearly see that they
> are not about to exceed quota.
>
> I have put the following files for public scrutiny:
>
> du.txt - Output of `du -hc` from ~userx/Maildir/
> maildirsize - contents of maildirsize from ~userx/Maildir/
> transport.txt - My local_delivery transport
>
> They are all here: http://ns2.wananchi.com/~wash/maildirsize/
>
> In this particular case, userx received a quota warning when
> his maildir had just 4MB.
So here it goes, tpop3d as a POP3 server Maildir++ compliant? In
a case where tpop3d is configured as:
mailbox: maildir:$(home)/Maildir
Is there a mechanism for it to update the maildirsize file when
deleting mail from the spool?
Someone I discussed this issue with said the following:
<quote>
I'm not 100% sure but I think I ran into that problem before. To get
around it, I patched the pop3 server to simply remove the maildirsize
file. Exim would happily re-create it as needed, just take a bit
longer while it calculated the size of the folder initially.
</quote>
May I please know your thoughts.
cheers
- wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
wash () WANANCHI ! com . 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
--from a /. post