Quoting Guilhem Moulin (2019-10-20 22:14:24) > On Sun, 20 Oct 2019 at 17:54:39 +0200, Jonas Smedegaard wrote: > > I happily use interimap with multiple configs. > > \o/ I'd be interested to hear about the topology of your system. I > confess that running multiple instances in parallel haven't crossed my > mind until a few months ago when another user convinced me of the > validity of the case where multiple remote accounts (say, personal + > work) are synced each with a distinct namespace of the local IMAP > server.
I syncronize multiple accounts into subdirs below ~/Maildir and track them as a whole using a single notmuch database. Sounds more elegant to use IMAP namespaces, I just haven't wrapped my head around that concept yet... > It's already possible with 0.4-1, but unfortunately a bit clunky and > not documented, as you may have noticed :-P. It'll be easier with the > next version, thanks to a new ‘list-reference’ directive and a systemd > template unit file. > > Doing this properly turned out not to be trivial, because it's not > always possible to ensure that the hierarchy delimiter of the > different servers is the same. (IMAP namespaces can have their own > delimiter of course, but MUA support is not ideal so it's still > desirable to include them in LIST responses, at which point all > delimiters need to match for 0.4-1 to work.) The development version > no longer has this limitation, but it's using null characters (the > only character one can't have in a mailbox name, so the only one > usable as a placeholder) internally in place of hierarchy delimiters, > which unfortunately required an (automatic) DB schema migration. > > If you have an even more “exotic” setup not covered by the above, it > might still make sense to improve the doc a bit ^^ ... so it sounds like I should simply look forward to the next release of interimap to tell me how to improve my setup :-D > > One thing that annoys me is that when I syncronize in parallel, I > > cannot distinguish which log lines relate to which account. > > > > Please consider adding a "name = " option for the default section, > > which (if defined) is added as prefix to log lines. ..or something > > even more elegant :-) > > I can certainly add an option with a simple printf-like format to > customize the log :-) I was thinking something along the lines of printf-like hack, yes. What I do now is spawn multiple instances of interimap, all spewing to stderr - and it would then be helpful to have output not only tell my username (which is identical across several mail domains) but also mention my shortname used for each maildomain. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature