Pages: 1
RSS
Moving the mail folder
 
Hi to all!

Since I have a home LAN with a small server (Linksys NSLU2 based) I would like to move the mail folder from my PC and my laptop to the NAS, so I can synchronize my archive without mind on what computer was that message.

The problem is about the name of "known" folder: my server (unix based) didn't accept $KNOWN$ as folder name.
There's a way to rename that folder?
The Bat works without problem from the server, just I can't access the messages in the known folder.

Thanks.
 
rename it, or if that's not possible create a new folder. Then open the Sorting Office and modify the Known filter to move messages to the new folder.
If you create a new folder, close theBat and then move MESSAGES.* files from $KNOWN$ to the new physical folder. Then you can delete the KNOWN folder - both from theBat and the physical one.
Edited: bigg one - 01 May 2009 23:07:47
 
Thank you!
It works very well!

Now I have a doubt: when I am on my LAN the mail folder is on this place, but when I check the mail out of the LAN what will do The Bat if the path is not available?
 
if theBat can't find the mail folder, it will exit with an error. Mail folder should be at a place that's always accessible.

The issue with synchronizing several installations has been discussed many times here. The most obvious solution is to switch fr om POP3 to IMAP, where messages are kept on the mail server. This way no matter from which PC you connect, you see always the same, IMAP is in many ways similar to using a web-based mail.
If you don't want to use IMAP there are solutions too. If you use theBat only from one PC for long periods of time (like normally only from your desktop, and when you travel - only from a laptop), then it can be synced by simply moving the mail folder between PC's.
In my case, several installations use POP3 at the same time, so I created a home made semi-imap scheme to keep them synced - briefly explained here
http://www.ritlabs.com/en/forum/read.php?FID=4&TID=6792
It has 2 disadvantages - syncs only messages but not other stuff (filters, address books etc., these I sync manually from time to time), and messages replied on other machines do not appear as replied on yours (replies are available and you can still open them with CTRL+BACKSPACE, but replied flag/icon is not there).
Edited: bigg one - 02 May 2009 15:57:34
 
Interesting method, but not so practical as I have a dozen account to check  :) .

It will be too risky if I make a small app that simply change the "working directory" path from the registry?
 
it's not risky (well, you know, editing the registry...be careful..), and a one line .reg file is enough for that.
Actually you'll need 2 .reg files, one for setting the path to network and one for setting it to a local folder. Or make a vbs script that checks if the network folder is available and automatically sets the pat in the registry according to the result.

But the above is not a syncronization.
If you work with the network folder, then switch to local, then after some time back to network, you'll not see messages & changes from the period you used the local folder.
That's easy to handle for incoming messages, you may set 'Leave on server' to a bigger number of days and retrieve them from both machines/folder locations. But your replies can't be synced that easy.
 
I've made a small VB app that allow to choose the local folder if the network is not available.

I know is not a syncronization, but I plan to syncronize new message with the network folder as soon as I can connect to the network by importing new mail from local folder.
I need to learn a bit about the embed syncronization system. Actually I need to understand it before...
Pages: 1