Hej Jonas!

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.

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 ^^

> 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 :-)

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to