RIBCAGE CORPORATE BELFAST
import-imap matching syntax is problematic
From: Lars Wirzenius <firstname.lastname@example.org> 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://email@example.com/qvarn-support.distix": pattern: "^(To|Cc):(.|\n[ \t])*firstname.lastname@example.org 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://email@example.com/qvarn-support.distix": header: [To, Cc] value: firstname.lastname@example.org 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.