<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 06/18/2014 09:55 AM, mayak wrote
<blockquote cite="mid:20140618145518.3DC13C58B4@ssw-uk.net"
type="cite">
<pre wrap="">hi all,
thanks! the proxyservers option is working great -- with one login, i am able to use imapfilter to groom all account/folders of old messages ...
cheers
</pre>
</blockquote>
<br>
Mayak,<br>
If that is your purpose, you may be much better served by simply
using mailbox annotations and the built-in expiration system.<br>
<br>
For example, a client of ours uses this script as a daily cronjob to
make sure the proper annotations are set on all desired mailboxes:<br>
<blockquote>#!/bin/sh<br>
#<br>
# set_cyrus_annotations.sh - Set the standard annotations for the
Spam,<br>
# Trash and systems mailbvoxes so they
expire<br>
# properly.<br>
#<br>
USER="cyradmin"<br>
PASS="password"<br>
HOST="localhost"<br>
<br>
cyradm -u $USER -w "$PASS" $HOST << _EOF_<br>
mboxcfg systems expire 60<br>
mboxcfg user.%.Spam expire 7<br>
mboxcfg user.%.Trash expire 2<br>
_EOF_<br>
<br>
</blockquote>
The normal expiration mechanisms (cyr_expire in cyrus.conf) of Cyrus
will then clean up those mailboxes on the desired schedule. The
biggest advantage is that this all happens local to the server,
without tying up network resources with protocol discussions, local
processing, etc.<br>
<br>
Cheers,<br>
-nic<br>
<pre class="moz-signature" cols="72">--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight, Inc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
219 N. Milwaukee St., Suite 2a v. 414.272.4477
Milwaukee, Wisconsin 53202
</pre>
</body>
</html>