On Thu, 10 Jan 2008, Michael Polenske might have said: > > Dear all, > > we have some people using Outlook(2003) as MUI for our cyrus imap > installation. > > Mozilla and KMail User can use the function, that a message marked as deleted > will be moved to a Trash-Folder in imap instead of deleting the mail. Outlook > unfortunally does not offer this feature. My first idea is to run a script > on imapserver, which goes through the mailboxes and moves all mails, which > are marked as DELETED, into the imap trash folder. > > Long story short: is there a commandline tool to find out if a message has a > set DELETE flag, or do I have to use cyrdump and grep for the flag by > myself ? You can do this using the perl module Mail::IMAPClient. Mike ---- 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