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: [EMAIL PROTECTED]
Fax: 04 91 08 35 00 ou [EMAIL PROTECTED]
(Ligne d'assistance (interne) : 04 91 10 85 55 / 04 42 95 34 54)
----
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