Jean-Michel Doublet wrote:
>
> i'm programming in perl a script who take the mail from pop or imap and put it in a
>imap mailbox.
>
> Are you interest ?
Sure,
By the way, are you using Mail::IMAPClient?
http://search.CPAN.org/search?dist=Mail-IMAPClient
look in the examples directory, there are already scripts to do
imap_copy etc.
build_dist.pl
build_ldif.pl
copy_folder.pl
find_dup_msgs.pl
imap_to_mbox.pl
populate_mailbox.pl
cheers
>
> ----- Original Message -----
> From: "Atif Ghaffar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 01, 2001 3:40 PM
> Subject: moving a user's mailbox to another
>
> > Hi,
> > I have to move a user's mailbox (user.foo) as a sub mailbox to another
> > user, because user "foo" has left, and now user "bar" should take care
> > of the issues.
> >
> > I can copy /var/spool/imap/user/foo to
> > /var/spool/imap/user/bar/someFolder and run reconstruct -f , but is this
> > the correct way?
> >
> > Version: 2.0.12
> >
> > Thanks.
> >
> >
> >
> > --
> > Atif Ghaffar
> > Internet Development Manager
> > 4unet AG/SA/Ltd.
> > -------------------------.
> > +41 21 351 53 60 ¦ voice
> > +41 78 787 51 45 ¦ mobile
> > +41 86 0796598972¦ fax
> > http://www.4unet.net ¦ www
> > http://atif.developer.ch ¦ homepage
> > [EMAIL PROTECTED] ¦ email
> >
> >
> >
> >
--
Atif Ghaffar
Internet Development Manager
4unet AG/SA
-------------------------.
+41 78 787 51 45 ¦ voice
+41 86 0796598972¦ fax
http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
[EMAIL PROTECTED] ¦ email
Do you speak Unix?