Re: Cyrus/Imapd - Outlook - Trash

2008-01-17 Thread Michael Polenske

Hi Mike,

thanks for your hint. I will have a look to this perl module.

Ciao ciao,
Michael

Am Donnerstag 10 Januar 2008 schrieb Mike Eggleston:

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


Re: Cyrus/Imapd - Outlook - Trash

2008-01-10 Thread Alain Spineux
On Jan 10, 2008 1:17 PM, Mike Eggleston <[EMAIL PROTECTED]> 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

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


Re: Cyrus/Imapd - Outlook - Trash

2008-01-10 Thread Mike Eggleston
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


Cyrus/Imapd - Outlook - Trash

2008-01-10 Thread Michael Polenske

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 ?


Thanks and best regards,
Michael

-- 

Michael Polenske   
System Analyst
High Performance Computing Department
NEC Deutschland GmbH
Hansaallee 101, D-40549 Duesseldorf, Germany
Tel: +49 211 53 69 145 <[EMAIL PROTECTED]>
Fax: +49 211 53 69 199 
AIM: polenskeHPCE   GPG / PGP-Key available
NEC Deutschland GmbH, Hansaallee 101, D-40549 Duesseldorf
Geschäftsführer: Makoto Tsukakoshi Handelsregister Duesseldorf, HRB 57941
Sitz der Gesellschaft: Duesseldorf, WEEE-Reg. Nr. DE42479769


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