summaryrefslogtreecommitdiff
path: root/tickets/ac391d1300fe4960beaefa95c6461e02/Maildir/new/1497805085.M440045P31945Q1.koom
blob: f4ae7d1a8ab430f9f70c43df20e5338928a26096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Return-Path: <liw@liw.fi>
X-Original-To: tickets@distix.eu
Delivered-To: distix@pieni.net
Received: from exolobe3.liw.fi (82-181-57-241.bb.dnainternet.fi [82.181.57.241])
	by pieni.net (Postfix) with ESMTPSA id 1082F402B9
	for <tickets@distix.eu>; Sun, 18 Jun 2017 16:52:50 +0000 (UTC)
Received: from liw.fi (localhost [127.0.0.1])
	by exolobe3.liw.fi (Postfix) with ESMTPS id 5111112009F
	for <tickets@distix.eu>; Sun, 18 Jun 2017 19:52:49 +0300 (EEST)
Date: Sun, 18 Jun 2017 19:52:48 +0300
From: Lars Wirzenius <liw@liw.fi>
To: tickets@distix.eu
Subject: import-imap matching syntax is problematic
Message-ID: <20170618165248.u7srmfaavywtotxl@liw.fi>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="odle2re6zbska4kg"
Content-Disposition: inline
User-Agent: NeoMutt/20170113 (1.7.2)


--odle2re6zbska4kg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

"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://git@git.qvarnlabs.net/qvarn-support.distix":
      pattern: "^(To|Cc):(.|\n[ \t])*qvarn-support@qvarnlabs.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://git@git.qvarnlabs.net/qvarn-support.distix":
      header: [To, Cc]
      value: qvarn-support@qvarnlabs.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.

--=20
I want to build worthwhile things that might last. --joeyh

--odle2re6zbska4kg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETNTnrewG6wEE1EJ3bC+mFux6IDEFAllGr98ACgkQbC+mFux6
IDHqVRAAgqeKBWdX1spSybwpmFwFSJfBK+CqbRgnJ6G/QV2f7UTdwMIZtrQe2CzA
iM+BP24h+dbt5uPRWbxWVASwZjuN413Eh/jtGjSWlkC1C08/aohnmWzBjv+M6QXk
2HlO+NU2CMrXBZPXT4z8rcnsloR9GADXXi8dDVbbIl0IFGcSItH11exlxm5t1mR+
crqov5BI/cvqTc5oAL5j3yTYMVahzgoQ463MOO821uogpKMpL4J5FZIsVigWJLy3
zA5MjekHfhzEXmHabF/fbLmr8o18Q0x1bIPqSGOGxRfr5o41lFG3SU/J0vCd2P8a
XRv+pagS7ib1JNCQJ/sPEQpAv12kDG0XPZUcdCGp90Y8ZGYqJDgZgyMivoboRz0a
D9/xOBIl4tTSA4eSV+b+l760dMyyOdWZgGHRfeeXDDSWPC3YWchmdBQtcmXxPBSr
PR0/NOyP/2IkEILO29LGpD8IGzwdO4qBjgibCKpN4XwawGzsnNTJlC0B5yalv4ww
2J2Q1WrQhLBHKVRPaCQOWd41d/b461IgSp4y3BKby7K2PyBHE6giuulPEi22AShy
5bHedCKTNXx1tbDlI3x6h3Mh+FIteR/mPKUQ0PokQ8398NIARLlG2zTUuiYUTWDl
C/arohrvkIPvc/3L/wY35RS+7G5KVGrd5vvNhFLkO1AnxZy+Z5w=
=O0I0
-----END PGP SIGNATURE-----

--odle2re6zbska4kg--