[Linux-disciples] Syncing mail
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun Jan 16 16:32:58 EST 2005
Use fetchmail, not scp to get your mail from the mail server. That's
what it's designed for.
I would suggest using the nokeep option, so mail fetched from the
server disappears from the server.
If you are concerend about your inbox sync'ing back to the server with
rsync, you could have fetchmail deliver to ~/Mail/inbox, rather than
/var/mail/slaniel, and tell mutt and procmail that your inbox is
~/Mail/inbox rather than /var/mail/slaniel.
Stephen R Laniel wrote:
> 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?
>
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050116/bbb6344f/signature.pgp
More information about the Linux-disciples
mailing list