From: Rainer M Krug <Rainer@krugs.de>
To: ding@gnus.org
Subject: Re: nnir and notmuch?
Date: Fri, 26 Sep 2014 11:05:20 +0200 [thread overview]
Message-ID: <m24mvubvlb.fsf@krugs.de> (raw)
In-Reply-To: <87ppeix2x4.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 26 Sep 2014 08:21:27 +0100")
[-- Attachment #1: Type: text/plain, Size: 2940 bytes --]
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> Eric et al.,
Hi Eric,
>
> All the proposed solutions require local imap mirroring if I understand
> correctly. This is an appealing approach for a number of
> reasons. However, I have been spectacularly unsuccessful in getting
> either offlineimap or isync to synchronise with an MS Exchange
> server. I get filename errors or the transfer simply quits without ever
> managing to complete the first synchronisation. (I should nte that I
> haven't tried doing this in over a year now... maybe things have
> improved?) Has anybody here managed it?
I use offlineimap it for gmail (works), iCloud (works) and a university
accout where they are running ... Exchange server.
Below is the relevant part of my .offlineimaprc file.
My offlineimap synchs to a local dovecot server (lucerne indexing
working!) and puts all folders from this account into a folder named
SUN.
I do the same for my other accounts, so I easily know which ones are
From which account.
But my guess is that the configuration of the Exchange server is probably
different - but if you use imap access at the moment, it should work.
Cheers,
Rainer
--8<---------------cut here---------------start------------->8---
## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
## %% SUN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[Repository LocalSUN]
type = IMAP
remotehost = localhost
remoteuser = MYUSERNAME
remotepasseval = get_keychain_pass(account="MYUSERNAME")
holdconnectionopen = yes
maxconnections = 3
nametrans = lambda folder: re.sub('^SUN.', '', folder)
folderfilter = lambda folder: folder.startswith('SUN')
keepalive = 60
holdconnectionopen = yes
[Repository RemoteSUN]
type = IMAP
remotehost = imap.sun.ac.za
# port = 143
remoteuser = MYUSERNAME
remotepasseval = get_keychain_pass(account="MYUSERNAME")
######
maxconnections = 1
nametrans = lambda foldername: 'SUN.' + foldername
######
folderfilter = lambda folder: folder in ['INBOX']
## For now:
# readonly = true
# createfolders = false
######
keepalive = 60
holdconnectionopen = yes
[Account SUN]
localrepository = LocalSUN
remoterepository = RemoteSUN
######
status_backend = sqlite
######
# postsynchook = ionice -c 3 chrt --idle 0 /bin/sh -c "notmuch new"
# postsynchook = ionice -c 3 chrt --idle 0 /bin/sh -c "notmuch new && afew --tag --verbose --new"
######
######
## For daemon mode
# Minutes between syncs
autorefresh = 2
# Number of quick-syncs between autorefreshes. Quick-syncs do not update if the
# only changes were to IMAP flags
quick = 10
--8<---------------cut here---------------end--------------->8---
>
> Thanks,
> eric
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]
next prev parent reply other threads:[~2014-09-26 9:05 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 8:40 Rainer M Krug
2014-09-23 10:15 ` Steinar Bang
2014-09-23 10:24 ` Rasmus
2014-09-23 10:50 ` Rainer M Krug
2014-09-23 10:48 ` Rainer M Krug
2014-09-23 11:59 ` Steinar Bang
2014-09-23 13:15 ` Andrew Cohen
2014-09-24 7:18 ` Rainer M Krug
2014-09-23 16:14 ` Eric Abrahamsen
2014-09-24 7:26 ` Rainer M Krug
2014-09-24 9:41 ` Eric Abrahamsen
2014-09-24 13:51 ` Adam Sjøgren
2014-09-24 17:40 ` Eric Abrahamsen
2014-09-24 19:34 ` Alan Schmitt
2014-09-25 0:08 ` Eric Abrahamsen
2014-09-24 19:47 ` Adam Sjøgren
2014-09-26 7:21 ` Eric S Fraga
2014-09-26 9:05 ` Rainer M Krug [this message]
2014-10-01 18:03 ` Eric S Fraga
2014-09-26 9:54 ` Adam Sjøgren
2014-10-01 19:47 ` Eric S Fraga
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=m24mvubvlb.fsf@krugs.de \
--to=rainer@krugs.de \
--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).