RIBCAGE CORPORATE BELFAST
import-imap matching syntax is problematic
From: Lars Wirzenius <email@example.com> Date: Sun, 18 Jun 2017 19:52:48 +0300 "distix import-imap" allows importing from one IMAP account into several distixes, and this is good. However, to specify which distix should have which mails, the user is supposed to write something like this: "distix: ssh://firstname.lastname@example.org/qvarn-support.distix": pattern: "^(To|Cc):(.|\n[ \t])*email@example.com The regex is fairly complicated in order to match email headers split to multiple physical lines. It would be nice if distix could handle that in a cleaner way, perhaps with something like this: "distix: ssh://firstname.lastname@example.org/qvarn-support.distix": header: [To, Cc] value: email@example.com In other words, the value would be matched against the value of a header (or one of a list of headers) after the split value has been unsplit.