Juri Haberland writes:

Jesse Cablek wrote:
Peter Johnson <[EMAIL PROTECTED]> scribbled;
I like the feature in IMAPD that allows for messages older than a
certain day count to be automatically deleted by the server. It would
be nice if there was a file that each user could create whereby they
could nominate certain folders and day counts for message removal.

e.g.
"Mailing Lists.Courier Users":7

This would purge messages older than 7 days from my
"Mailing Lists.Courier Users" folder.

From /usr/lib/courier-imap/etc/imapd :

##NAME: IMAP_EMPTYTRASH:0

# This would also delete messages from the Sent folder (presumably copies
# of sent mail) after 30 days.  This is a global setting that is applied to
# every mail account, and is probably useful in a controlled, corporate
# environment.

Looks like it already exists.. Just try and see
As you cited, only on a global basis, not on a per-user basis.
Write a wrapper for imapd that sets the environment variable just prior to invoking imapd.




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to