Cyrus/Imapd - Outlook - Trash

Alain Spineux aspineux at gmail.com
Thu Jan 10 08:24:41 EST 2008


On Jan 10, 2008 1:17 PM, Mike Eggleston <mikeegg1 at mac.com> wrote:
> 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.
>

Yes you must use a language having an IMAP library.
Perl, but Python and PHP have a good one, easy to use.
Move is not possible, you must copy and delete!
Use the UID imap command to do your FETCH, COPY, DELETE.

> 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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list