On 2005-10-18, Arvinn Løkkebakken wrote: > I use maildrop to insert a bunch of variables in a sql table. This way I > can easily create nice stats of stored messages. > If possible, I would like to include the size of the Maildir of the > user. When in the process of storing a message is maildrop calcualting > the size? Is it possible to somehow export this value to a variable? >
If you have enabled maildir quota (see man maildirquota) then maildrop and deliverquota will record the actual mail size after each delivery in the file Maildir/maildirsize . courier-imapd recognizes the quota extension as well. With enabled quota you can easily calculate the maildir size. All you have do to is to sum up the columns in the file maildirsize. -- Georg ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
