deleting emails directly

John Wade jwade at oakton.edu
Wed Mar 4 14:28:59 EST 2015


This is why we implemented the IMAP delete option, changing the message 
is a hack.

Thanks for clarifying why,
John

On 3/4/2015 6:06 AM, Sebastian Hagedorn wrote:
> --On 4. März 2015 05:33:44 -0600 John Wade <jwade at oakton.edu> wrote:
>
>> The tool  we wrote for phishing scans the Cyrus imap server's imap spool
>> file systems looking for a specific text string in specific user's
>> mailboxes in recent messages.  Te search can be done either recursively
>> or just the inbox.    It then looks for and replaces another specific
>> text string (usually the phishing URL) with a string, like "Phishing URL
>> removed by the Information Technology department".
>
> Strictly speaking you would have to change the message's UID or the 
> mailbox's UIDVALIDITY as well. Messages are guaranteed to be immutable 
> by RFC 3501, section 2.3.1.1.


More information about the Info-cyrus mailing list