From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: overriding marks for synchronization
Date: Fri, 13 Aug 2010 14:47:26 -0500 [thread overview]
Message-ID: <877hjub8hd.fsf@lifelogs.com> (raw)
In-Reply-To: <8739ui4ae0.fsf@dod.no>
On Fri, 13 Aug 2010 20:48:07 +0200 Steinar Bang <sb@dod.no> wrote:
SB> Good point! Also it would provide _some_ kind of transaction control.
SB> Two independent ssh processes accessing the same file won't.
SB> (not that it is likely to happen since I can't operate more than a
SB> single Gnus at any point in time, but anyway...:-) )
SB> The reasons I didn't go for imaps was:
SB> - I didn't know the steps neccessary to make tramp imap use the same
SB> auth as nnimap
The filename in my case (Courier IMAP server) is
/imaps:tzz@mail.server.com:/INBOX.test/sync.eld
which results in messages with subject
"tramp-imap-subject-markersync.eld" (you can change the variable
tramp-imap-subject-marker to something else if you like, by default it
is its own symbol-name).
*Messages* will tell you:
auth-source-user-or-password: get password for mail.server.com (tramp-imap) + user=nil
Which means in the authinfo you need ("port" can be omitted):
machine mail.server.com login tzz password MYPASSWORD port tramp-imap
SB> - do I need to create a particular folder for the use of tramp?
No, but it's tidier that way. tramp-imap.el filters out all messages
whose subject doesn't start with the tramp-imap-subject-marker.
SB> - will it create one message or many?
IMAP doesn't allow "write in place" so instead we write a new message
and mark the old one expired. It's not ideal but neither is IMAP.
SB> - Can more than one file be stored in any particular folder?
Sure. In fact any key-value data (if you use the underlying
imap-hash.el library) can be stored in an IMAP mailbox. That's how
tramp-imap.el does it.
Ted
next prev parent reply other threads:[~2010-08-13 19:47 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-10 11:55 Ted Zlatanov
2010-08-11 3:18 ` Ted Zlatanov
2010-08-11 8:51 ` Steinar Bang
2010-08-11 13:36 ` Ted Zlatanov
2010-08-12 19:56 ` Ted Zlatanov
2010-08-13 12:26 ` Steinar Bang
2010-08-13 12:44 ` Steinar Bang
2010-08-13 12:52 ` Ted Zlatanov
2010-08-13 13:29 ` Ted Zlatanov
2010-08-13 14:12 ` Steinar Bang
2010-08-13 14:29 ` Ted Zlatanov
2010-08-13 18:41 ` Steinar Bang
2010-08-13 19:39 ` Steinar Bang
2010-08-13 19:58 ` Ted Zlatanov
2010-08-14 13:38 ` Steinar Bang
2010-08-14 14:55 ` Ted Zlatanov
2010-08-15 11:18 ` Steinar Bang
2010-08-18 13:44 ` Ted Zlatanov
2010-08-30 15:59 ` Steinar Bang
2010-08-30 16:06 ` Steinar Bang
2010-08-31 18:52 ` Ted Zlatanov
2010-08-31 18:50 ` Ted Zlatanov
2010-08-31 17:27 ` Steinar Bang
2010-09-02 7:53 ` Steinar Bang
2010-08-13 18:48 ` Steinar Bang
2010-08-13 19:47 ` Ted Zlatanov [this message]
2010-08-15 16:35 ` Didier Verna
2010-08-15 16:39 ` Steinar Bang
2010-08-15 17:20 ` Didier Verna
2010-08-17 18:55 ` Steinar Bang
2010-08-18 13:42 ` Ted Zlatanov
2010-08-22 8:21 ` Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877hjub8hd.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).