How delete all emails of one acount.

Issue #633 invalid
angel Guzman created an issue

Hi, I am sorry by my English. I need know how i can of db delete or purge all email for example of root@localhost or fail2ban@domain.com. Is this possible? Thanks

Comments (4)

  1. Janos SUTO repo owner

    For starters, it's not a bug, not even a major one. So that's why I marked your issue as invalid.

    Such selective purging is possible, though not a nice solution. If you want to purge emails from sender root@localhost, then execute the following sql query:

    update metadata set retained=1000000000 where `from`='root@localhost';
    

    Then run the pilerpurge utility to get rid of these (and all) aged messages. Please use the mailing list for how to questions, and let bitbucket be for real bugs.

  2. Log in to comment