[Users] Move #mh to shared folder.

Mark Filipak markfilipak.linux at gmail.com
Thu Apr 4 22:12:04 CEST 2013


On 2013/4/4 3:03 PM, Abhay S. Kushwaha wrote:
> On Thu, 04 Apr 2013 14:23:28 -0400, Mark wrote:
>
>> I want to make '#mh' resolve to '/mnt/hgfs/shared/mail/'
>> so that the above are relocated to
>> '/mnt/hgfs/shared/mail/<mail-account-name>/inbox/.claws_cache'
>> '/mnt/hgfs/shared/mail/<mail-account-name>/inbox/.claws_mark'
>> '/mnt/hgfs/shared/mail/<mail-account-name>/inbox/.mh_sequences'
>> '/mnt/hgfs/shared/mail/<mail-account-name>/inbox/1'
>> '/mnt/hgfs/shared/mail/<mail-account-name>/inbox/2'
>> '/mnt/hgfs/shared/mail/<mail-account-name>/inbox/3'
>> and
>> '/home/mark/<mail-account-name>/' doesn't exist.


After I do my big mbox importation, I'll have about 50 accounts. I want them all to be located at '/mnt/hgfs/shared/mail/' and I'd rather not have to move them manually.

> You could set up a link. Explore "ln" command.

Thanks, Abhay, but I don't think a link workaround will do what I want. What would the link be and how would I make it take effect only for Claws? Perhaps I'm misinterpreting what you've suggested - I am, after all, a Linux novice. Can you be more specific, please?

> OR
>
> You could edit folderlist.xml

Editing '/home/mark/.claws-mail/folderlist.xml' and changing the XML
from:
'<folder type="mh" path="<mail-account-name>" sort="0" collapsed="0" name="<mail-account-name>">
to:
'<folder type="mh" path="/mnt/hgfs/shared/mail/<mail-account-name>" sort="0" collapsed="0" name="<mail-account-name>">
worked, but I'd have to do that for all 50 accounts (though search-&-replace would easily take care of that).
 From a practical standpoint, this workaround would become a maintenance hassle as I'd have to remember to do it as I create new accounts in the future.

> OR
>
> You could create a new mailbox at that location

Hmmm... How would I do that? I couldn't find a way to persuade Claws to put mailboxes in a particular path. (I must be totally misinterpreting what you mean.)

Can you help me a little more? Remember I'm a Linux novice, but more importantly, I'm a hardware engineer (and you know how linearly-stupid hardware engineers can be!). Thanks.




More information about the Users mailing list