[Dovecot] Mailbox archiving
Hi all!
I have a strange problem with Dovecot - deleted messages never seem to get deleted on the server! Deleted messages just seem to get a 'T' at the end of them on the server and remain there, so user mail boxes continue to grow to incredible sizes. Is this a setting I must change somewhere? Must I delete these files manually?
Leslie
Leslie Viljoen wrote:
Hi all!
I have a strange problem with Dovecot - deleted messages never seem to get deleted on the server! Deleted messages just seem to get a 'T' at the end of them on the server and remain there, so user mail boxes continue to grow to incredible sizes. Is this a setting I must change somewhere? Must I delete these files manually?
This is an MUA issue, not a Dovecot issue.
This could be handled either via a script on the server side: I run this nightly via cron (as root):
find /home/*/Maildir/ -name "*2,*T*" -type f -exec rm {} \;
Or ensure that your mail client is set to expunge or compact folders on exit. Which MUA are your users using?
In Mozilla or Thunderbird, the setting is:
Under Account Settings, Server Settings (for each account) - check: 'Clean Up ("Expunge") Inbox on Exit'
Other clients may differ, but usually "Clean Up", "Compact", or "Expunge" are the terms utilized.
HTH, -Rick
-- Rick Johnson, RHCE #807302311706007 - rjohnson@medata.com Linux/Network Administrator - Medata, Inc. PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc
On Mon, 2004-06-28 at 21:42, Rick Johnson wrote:
This could be handled either via a script on the server side: I run this nightly via cron (as root):
find /home/*/Maildir/ -name "*2,*T*" -type f -exec rm {} \;
Just a small note: "*:2,*T*" would be a bit safer as the maildir base name can contain "2," string, but not ':' character. ',' is already used by some clients to include extra information with the file, eg. file size with maildir++ quota: "base,S=123:2,".
participants (3)
-
Leslie Viljoen
-
Rick Johnson
-
Timo Sirainen