Jon Nelson wrote:
On Thu, 6 Mar 2003, Fabio Gomes wrote:


I've configured my courier imap server with the following option:

IMAP_EMPTYTRASH=Trash:7,Sent:30

I'm intriged 'cause the file maildirsize is not updated when messages in Trash and Sent are deleted by this feature.

Any considerations?


Er, what do you mean 'the file maildirsize'?  Is there a /file/ named
'maildirsize' that ostensibly contains the size of the maildir (in
bytes, # messages, ???). I find no such file name.

The number '7' refers to 7 days worth of seconds (7 *  24 * 60 * 60), and
the calculation that is performed to determine when to delete a message
is based upon the ctime of the message.

Refer to line 58 of maildirpurgetmp.c


Argh.. My mistake, sorry. The situation IS: I'm using courier-imap and qmail-ldap. qmail-ldap controls quota by using this /file/ called maildirsize located in maildir's top level.


hmm.. Then, althought this is not really a courier problem I'll need to change maildirpurgetmp.c to delete this file (/home/user/Maildir/maildirsize), if it exists, when the 'dopurge' runs. I'll be glad if anyone would help me with some code lines. Otherwise I apologize and thank you all.

Regards,
Fabio Gomes


--
@_{2**2..6*6}=split//,"aiGsDDbooe eoin m-IsvveoF Tenlmt";print values%_,"\n"




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to