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
#
# The following setting is optional, and causes messages from the given
# folder to be automatically deleted after the given number of days.
# IMAP_EMPTYTRASH is a comma-separated list of folder:days.  The default
# setting, below, purges 7 day old messages from the Trash folder.
# Another useful setting would be:
#
# IMAP_EMPTYTRASH=Trash:7,Sent:30
#
# 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.
#
# You might want to disable this setting in certain situations - it results
# in a stat() of every file in each folder, at login and logout.
#

#IMAP_EMPTYTRASH=Trash:7


Looks like it already exists.. Just try and see

-jesse



-------------------------------------------------------
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