[Dovecot] Simulating UW Snarf...
tss at iki.fi
Thu Feb 9 07:49:46 EET 2006
On Wed, 2006-02-08 at 16:42 -0500, Todd Piket wrote:
> The perfect scenario would be if Dovecot could check /var/mail/%u to see
> if there is new mail and if so, *attempt* to move it to ~/Maildir. If
> Dovecot gets an over quota message it can stop and just return "No new
> mail" to the client and allow the user to see existing mail, but do
> nothing more. This should happen every time the user "checks" for new
> mail such that an under quota scenario (user deletes Sent folder
> messages, for instance) results in mail from /var/mail/%u to be
> "delivered" to ~/Maildir.
Oh, and this could probably be done best using a plugin. You could check
plugins/convert code as an example how to copy mails from one storage
format to another at login. You could even hook into Dovecot's expunge
operation so that immediately after expunging it tries to move more
mails into INBOX. Doing it only while logging in isn't probably enough
since IMAP connections can last a long time.
BTW. if you haven't already, you should also place Dovecot's indexes and
maildir control dir to non-quota partition or things break.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060209/dfe910ea/attachment.pgp
More information about the dovecot