Re: Auto-deletion of messages in Junk-folder after a certain time

From: Marten Lehmann (no email)
Date: Tue Jul 15 2008 - 11:03:13 EDT

  • Next message: Maurizio Lo Bosco: "standard murder configuration problem"

    Hi,

    >> Being the filty perl programmer that I am, I would just make an admin
    >> IMAP connection to the server, LIST all mailboxes, regex match the ones
    >> I wanted, select them and process them.
    >
    > I used to do the same , But I found a client connection script too slow
    > & too heavy for my server with 40k mailboxes

    we have more than 40.000 mailboxes, too. But I'm not very enthusiastic
    to use ipurge. I'm afraid ipurge does something wrong (due to bugs or
    misconfiguration) and some unexpected messages are deleted. I wouldn't
    have a good feeling to tell customers "ipurge is always right" without
    having logs.

    My preferred solution would be to log each mailbox I'm deleting messages
    from and the From, Date and Subject-header of each, so in case of
    accidents, the customers could restore the messages somehow.

    I wouldn't mind a slow perl script that does its job one by one as long
    as I get logs.

    @Bron: I don't want to delete all messages, but all messages older than
    60 days. Instead of flagging messages, I thing UIDEXPUNGE might be an
    option.

    Kind regards
    Marten Lehmann

    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Maurizio Lo Bosco: "standard murder configuration problem"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD