On 06/18/2014 09:55 AM, mayak wrote
> 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
Mayak,
If that is your purpose, you may be much better served by simply using
mailbox annotations and the built-in expiration system.

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:

    #!/bin/sh
    #
    # set_cyrus_annotations.sh - Set the standard annotations for the Spam,
    #                            Trash and systems mailbvoxes so they expire
    #                            properly.
    #
    USER="cyradmin"
    PASS="password"
    HOST="localhost"

    cyradm -u $USER -w "$PASS" $HOST << _EOF_
    mboxcfg systems expire 60
    mboxcfg user.%.Spam expire 7
    mboxcfg user.%.Trash expire 2
    _EOF_

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.

Cheers,
    -nic

-- 
Nic Bernstein                             n...@onlight.com
Onlight, Inc.                             www.onlight.com
219 N. Milwaukee St., Suite 2a            v. 414.272.4477
Milwaukee, Wisconsin  53202

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Reply via email to