imap transfer

Pascal Mouret pascal.mouret at up.univ-mrs.fr
Thu Aug 25 10:33:49 EDT 2005


You may try "deliver".
a line like :
/opt/cyrus/bin/deliver $dest < message
iterated over the messages,where $dest stands for the destination 
mailbox name, should do the trick.
It must be run as the cyrus user
I tried that only to copy inbox to inbox
You may check "man deliver" for further details
Hope this helps

Regards

    Pascal

Sujit Choudhury wrote:

> We have two users.  We would like to copy all the mail from one user 
> to another.  What is the best way to do it?
> Copying file by file will not work as it would clash with existing 
> names like 300. etc.
> Renaming is out of question as we would like to preserve both the 
> accounts.
>
> Any idea will be appreciated.
>
> Regards
>
> Sujit
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>

-- 
Pascal Mouret
DSII - Direction du Système d'Information et de l'Informatique
Université de Provence - 3, place Victor Hugo - 13331 Marseille cedex 3
Tél:  04 91 10 64 02            E-mail: mouret at up.univ-mrs.fr
Fax: 04 91 08 35 00             ou        mouret at up.univ-aix.fr
(Ligne d'assistance (interne) : 04 91 10 85 55 / 04 42 95 34 54)




More information about the Info-cyrus mailing list