Has anybody worked on a 'migration' function for Courier POP3/IMAP/Webmail?

What I mean is, when a user first connects to their mailbox on a new server,
it would:
 - open an IMAP or POP3 connection to the user's "old" mail server
 - log in using their "old" username and password
 - download their mail (and optionally delete it from the old server)

The [commercial] Critical Path IMS mailserver has such a feature, and it's
extremely useful when moving people from legacy systems. Driving it from the
user's first login means that inactive accounts do not need to be migrated,
saving space. There's also a "force migrate" option which pulls all
remaining mailboxes across if required.

For POP3 servers, just using 'fetchmail' would probably do, but to get a
whole folder hierarchy would require IMAP which would be more complex
- but probably not hugely so. A perl program would suffice.

I think ideally it could be configured using a single file 'courier-migrate'
in the user's maildrop, containing:
<POP3|IMAP> <servername> <username> <password>
which would be deleted after migration had completed - or else a generic
mechanism to allow an arbitrary program to be run when a user connects to
their mailbox.

Any other ideas?

Brian.

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to