On Tue, 2010-03-30 at 02:20 +0200, Carlos E. R. wrote:
-----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.
No need to. procmail writes to imap folders. I use it as you describe, with an imap folder as the final delivery point. A directory specification is like this: :0 * ^From:.*comp\.lang\.tcl ".Lists.comp-lang-tcl/" This puts the message an imap directory. I think it is the leading '.' that is the imap indicator. I then access this directory from any imap client. The only difference is that you want the client to make a copy from the imap server for off-line reading. In evolution, for example, in the imap docs, it says this: "Select Automatically synchronize remote mail locally to download the messages to your local system. Evolution, by default, downloads only the header information such as From, Subject, and Date. The body of the message and the attachments are downloaded only when you click the message. Thus you can save time and network usage. This is useful when you don't read all the messages you receive. If you check this option, Evolution fetches the headers as well as the body of the message simultaneously. In this case, the time taken to open a message is comparatively less. In addition, you can download the mail for reading them offline, when you have checked this option." Other mail readers may have a similar option. Of course, you need to start the mail reader for the copy to happen. But you do not have to read messages until later.
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-----
-- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org