Jim McKinney
2012-06-01 13:13:28 UTC
Hi,
We have a user who has been storing their thunderbird mail in local
files on their PC and has recently seen the light and would like to move
them to our IMAP server so that they are available from all locations
and don't have to be moved every time they upgrade their machine. We
have exported the folders to mbox format and I've been trying to use
mailutil to upload the messages to our server. Unfortunately I've run
into a couple of issues that I haven't found the right magic to resolve.
1) Is there a way to have mailutil look in an alternate location rather
than my home directory? I've looked at the man page and don't see any
way to override this using either a flag or environment variable.
2) I have been trying to use the transfer option but have run into a
problem. Based on my experiments it looks like mailutil is using the
name of the file as the name of the mail folder it creates and creates
parent folders based on the directory structure. That is working well.
However, I have some instances where a folder will contain both messages
and subfolders and, other than managing multiple passes, I can't have a
directory and a file with a common name in the same location. What I
would really like to find is a way to say "take the file Local_Mail.mbox
and transfer it to {imap.server}a.b.c.e" and put the messages in the
folder named e
Finally, is there a reference with examples of the various driver
options, etc beyond the man page?
Many thanks in advance!
thanx
-jmck
We have a user who has been storing their thunderbird mail in local
files on their PC and has recently seen the light and would like to move
them to our IMAP server so that they are available from all locations
and don't have to be moved every time they upgrade their machine. We
have exported the folders to mbox format and I've been trying to use
mailutil to upload the messages to our server. Unfortunately I've run
into a couple of issues that I haven't found the right magic to resolve.
1) Is there a way to have mailutil look in an alternate location rather
than my home directory? I've looked at the man page and don't see any
way to override this using either a flag or environment variable.
2) I have been trying to use the transfer option but have run into a
problem. Based on my experiments it looks like mailutil is using the
name of the file as the name of the mail folder it creates and creates
parent folders based on the directory structure. That is working well.
However, I have some instances where a folder will contain both messages
and subfolders and, other than managing multiple passes, I can't have a
directory and a file with a common name in the same location. What I
would really like to find is a way to say "take the file Local_Mail.mbox
and transfer it to {imap.server}a.b.c.e" and put the messages in the
folder named e
Finally, is there a reference with examples of the various driver
options, etc beyond the man page?
Many thanks in advance!
thanx
-jmck