----- Mensagem de a...@bezoekerscentrumsonsbeek.nl ---------
Data: Sun, 27 Apr 2014 17:55:40 +0000
De: Administrator BCS <a...@bezoekerscentrumsonsbeek.nl>
Assunto: [imp] Batch import mbox files into individual folders
Para: imp@lists.horde.org
We are migrating from Openwebmail to Horde. Some of our users made a lot of
subfolders in their Openwebmail account over the years, up to 250 per user.
We need to transfer them all to Horde. Mail folders are stored by
Openwebmail as individual mbox files for each folder so they import into
Horde without problems. The process being:
* Login as user #x
* create a (sub) mailfolder with the name of the mbox file
* import the mbox file in the newly created folder
* repeat 2-3 until all mbox files of this user are done
* repeat 1-5 for all users
Normally this is something I would leave to the users but with so many
mailboxes per user it might be a good idea trying to automate things a bit.
Step 2-3 would be sufficient. So I would need a script that reads the
content of a directory with mbox files, create a mailfolder in Horde for
each file named after that file, and imports each mbox file in the
corresponding folder.
Unfortunately I have little to no php knowledge. I made a futily effort and
if I am not mistaken /var/www/horde/imp/lib/Basic/Folders.php is called for
creating folders and /var/www/horde/imp/lib/Mbox/Import.php handles import.
Is that correct?
My question: can I use those scripts, calling them passing appropiate
parameters to them? If so, what parameters do they expect? Or can you point
me towards another solution for batch import of mbox files?
Thanks,
Martin
Mail folders are not Horde files. Horde uses your system backend to
deal with your mail folders and INBOX. In other words, Horde uses your
IMAP or POP server (for exemple: Dovecot). For example, I use Debian
with Dovecot. For user x:
Folders are in: /home/x/mail
INBOX: /var/mail/x
Nothing to do with Horde! I can use my smartphone or whatever mail
cliente in my computer to deal with my (IMAP) mail folders besides
Horde. One time I use Horde, another time I use my smartphone cliente
to work with the same mail folders.
Read Horde documentation and INSTALL to understand how it works.
Mauricio
--
Systeembeheer Bezoekerscentrum Sonsbeek
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org
----- Final da mensagem de a...@bezoekerscentrumsonsbeek.nl -----
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org