Mailinglist Archive: opensuse (1523 mails)

< Previous Next >
Re: [opensuse] How could I keep in sync email on two computers?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 30 Mar 2010 02:20:43 +0200 (CEST)
  • Message-id: <alpine.LSU.2.00.1003300210480.14901@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2010-03-29 at 19:23 -0400, Patrick Shanahan wrote:

But that will push the email back to postfix, spamassassin, the lot
(and add a lot of headers). I was thinking of something to push mail
direct into the imap server, like the move operation inside a client,
that doesn't change anything.

You are correct.

But your example will create a loop....

Perhaps you need a second imap account and forward unhandled (?) mail
there, but I don't see that as a solution to your question. I believe
that your only solution is to retain internet access and access the mail
on your imap server or dl all to your own box and ssh into it to handle
mail (this is what I do). I carry putty on a stick and can access my
home box from nearly anywhere using my own laptop or someone else's
windoz box.


Let me try to explain again.

My mail is fetched by fetchmail, passed to postfix, amavis, spamsassassin, and procmail finally distributes it on to dozens of folders. This setup is years old and I'm not going to change it.


Now I want to read some or all of that email on another computer, a laptop. So I want a copy, in sync. I would like to clone the entire mail structure for offline reading on the laptop, but that is impossible, I gather.


The only solution I have is to put the email I want to read offline onto a _local_ imap server on my desktop machine. This I have done a while ago.

I have wu-imap installed (since years, but I do not use it). I have created a new user. The email I want to read is bounced in Alpine (manually) to this new user. This is sent via postfix to the new user, passing again the entire chain (amavis, antivirus, spamassassin, etc) which is a waste but unavoidable.

With all that email in the local imap server, I can it read it locally in Thunderbird, or in the laptop, over the local network. I have tested this already. Read mail apears as read on both computers, changes propagate.


I could speed things a quite bit by defining the local imap folder in
Alpine, and then simply "moving" email (this would bypass the slow
spam/virii checks), but the syntax eludes me. What I got so far is:

carlos {localhost/user=carlos/TLS=ssl/}carlos

but it fails:

[Can't open folder {localhost/user=carlos/TLS=ssl/NoValidate-Cert}carlos:
invalid remote specification]

Go figure. It nevers asks for the password. I have also tried

Carlos {localhost/user=carlos/TLS=ssl/}Inbox
Carlos {localhost/user=carlos/TLS=ssl/NoValidate-Cert}/INBOX
Carlos {mimrodel.valinor/user=carlos/TLS=ssl/NoValidate-Cert}/INBOX

...

Ah! Got it:

Carlos {localhost/user=carlos/ssl/NoValidate-Cert}INBOX

I have access to my new local imap folder bypassing the local toolchain, and I can move there the email I want to read offline on the portable. It is not the solution I wanted, but it works.


- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkuxQ+IACgkQtTMYHG2NR9XYHwCggPqloFdRDhRYbPJIqhH3hOgo
mYEAn0JOJIfwixO2qalFShiTo+EGKPr2
=FaWg
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >