[exim] maildir_use_size_file and phony quota warnings.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Odhiambo G. Washington
Datum:  
To: exim-users
Betreff: [exim] maildir_use_size_file and phony quota warnings.
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.

Another thing I'd like to see with the quota_warning being sent
out: What variable does Exim store the calculated maildir size
in? can I use the value from that variable in my quota warning
message, as in, "your current mailbox size is 75MB" or such?


I'll be grateful if anyone can help me with the correct advise
towards solving this strange problem. It could be caused by me
but I am sincerely not sure how.



        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