[Linux-disciples] Syncing mail

Stephen R Laniel steve at laniels.org
Sun Jan 16 16:15:34 EST 2005


I've played around with Unison a bit, and I'm not so sure
that it's what I'm looking for. But now I have a
mail-syncing question, and basically I think the
synchronization needs to go in only one direction -- so
Unison may not be the right tool anyway.

Here's the problem: from now on I intend to read all my mail
on my laptop. So I was thinking that I would

1) scp /var/mail/slaniel on the mail server over to my
laptop once every few minutes; and

2) rsync the contents of ~/Mail on the laptop over to the
server once per hour.

But that won't quite work. What if I

1) Download /var/mail/slaniel from the server to the laptop;
2) Respond to a message in /var/mail/slaniel;
3) Save the message I responded to into one of my mail
folders (~/Mail/foo)?

The next time my laptop goes to the server to download
/var/mail/slaniel, the server will send a copy of
/var/mail/slaniel that contains messages I already saved
away (in step 3).

Is there an easy way around this?

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/


More information about the Linux-disciples mailing list