View previous topic :: View next topic |
Author |
Message |
barlad l33t


Joined: 22 Feb 2003 Posts: 673
|
Posted: Thu Jun 03, 2004 7:05 pm Post subject: Synchronizing emails data. |
|
|
Hey all,
here is the deal: I have a laptop and a PC. At any given time I want to be able to synchronize the mail data of my PC and my laptop. That is to say, I want to be able to have the same emails on both computers.
If I receive, send and delete some emails on my laptop while I am traveling, I would like to be able to come back home and make sure I get those same emails on my PC just by typing a command. The updates would take place when my laptop and my PC are on the same LAN.
I am using Maildir format on both computers (well I think that's maildir.. it's default's thunderbird format). I am thinking about using rsync at the moment but I have no clue whether or not that is a good solution. Do you have anything to recommend?
Naturally, I would like it to be as secure as possible. |
|
Back to top |
|
 |
needles n00b


Joined: 27 Feb 2003 Posts: 31 Location: Downingtown, Pennsylvania - USA
|
Posted: Thu Jun 03, 2004 8:01 pm Post subject: Unison |
|
|
It's a package that uses a technique similar to rsync, but it works both ways. (Changes on laptop are sent to desktop and vice versa.) Rsync works well when you have one place that has a definitive version of all the files involved, and you want to keep other places up to date with that repository. It isn't really designed to deal with both sides making changes to the files, whereas unison handles this quite nicely.
for more info.
Similar to rsync or CVS, unison can be made to work over ssh, with no more than the usual hassle. (Usually all one needs to do is provide unison with an ssh:// URL for it's "root". (see the docs for further information.)) |
|
Back to top |
|
 |
jimcooncat. n00b


Joined: 25 Mar 2004 Posts: 21
|
Posted: Thu Jun 03, 2004 8:04 pm Post subject: |
|
|
I'm thinking IMAP (over ssh if you like). Might save you a step, like remembering to rsync before unplugging the laptop from the net.
Not using these technologies yet, so I guess I'm just a n00b. _________________ JimCooncat
Fly-by-Night Operations Empowerment Advocate |
|
Back to top |
|
 |
barlad l33t


Joined: 22 Feb 2003 Posts: 673
|
Posted: Thu Jun 03, 2004 9:33 pm Post subject: |
|
|
Thanks. Looks like unisson is exactly what I want. |
|
Back to top |
|
 |
Derringer n00b

Joined: 06 Jan 2004 Posts: 53 Location: Detroit, MI
|
Posted: Fri Jun 04, 2004 2:11 am Post subject: |
|
|
An IMAP implementation on the server end would save you some hassle, assuming you have the ability to do so.
Courier IMAP, if you check it out, stores mail locally so changes are made on the server and any client you might use (including any in addition to the two you mention) would give you a uniform mail interface and mailboxes. |
|
Back to top |
|
 |
barlad l33t


Joined: 22 Feb 2003 Posts: 673
|
Posted: Fri Jun 04, 2004 6:44 am Post subject: |
|
|
IMAP would not really work for me. In my case I only have clients, I don't have access to the mail servers. I guess I could set up my own private mail server that would collect all the mails from my "public" mail servers but that would be way too complicated and I don't want to add any potentially vulnerable service to my main PC.
Unisson just looks great  |
|
Back to top |
|
 |
davidblewett Apprentice


Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Fri Jun 04, 2004 4:24 pm Post subject: |
|
|
It was a hassle, but I finally got things set up on my server at home. I use Courier and fetchmail. Fetchmail gets all of the mail from the public servers, then distributes it to the system accounts. I can then connect from the internal LAN to Courier and view the mail. Most email programs have an offline feature, where it will store certain messages/folders on the hard drive of the local machine.
In order to access the server from outside of the LAN, I first SSH into the gateway. I can then use SSH's port forwarding to send all IMAP requests from the local machine to Courier on the gateway. I have the same setup for SMTP and also use Squid for HTTP. Works a treat, now. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
 |
jimcooncat. n00b


Joined: 25 Mar 2004 Posts: 21
|
Posted: Sun Jun 13, 2004 9:06 am Post subject: |
|
|
Congradulations! It is a hassle to set up an email server the first time, but now you have the skills under your belt. I can foresee a future that people who don't take control over their email will be barraged by so much crap that the medium will be unusable to them. _________________ JimCooncat
Fly-by-Night Operations Empowerment Advocate |
|
Back to top |
|
 |
|