Werner Koch
6b9f772914
common: Prepare for parsing mail sub-addresses.
...
* common/mbox-util.c (mailbox_from_userid): Add arg subaddress and
implement. Change all callers to pass false for it.
* common/t-mbox-util.c (run_mbox_no_sub_test): New.
(run_filter): Add arg no_sub.
(main): Call new test and add option --no-sub.
--
Some stats: In the about 5300000 keys on the SKS servers we found 3055
unique mailboxes with a '+' in it. After removing leading and
trailing '+' as well as multiple '+' (e.g. "c++" or "foo+bar+baz")
2697 were left which seem to be valid sub-addresses.
To filter mailboxes out from a line delimited list with
user-ids (e.g. an SQL output), the command
t-mbox-util --verbose --filter
can be used; to output w/o sub-addresses add --no-sub.
GnuPG-bug-id: 4200
Signed-off-by: Werner Koch <wk@gnupg.org>
2018-11-12 07:44:33 +01:00
..
2018-03-23 08:37:14 +01:00
2017-05-11 18:12:37 +02:00
2018-10-24 15:56:18 -04:00
2018-03-21 09:15:13 +01:00
2018-02-14 12:21:44 +01:00
2017-12-11 10:42:23 +01:00
2018-02-14 12:21:44 +01:00
2017-04-28 10:06:33 +09:00
2018-10-25 16:53:05 -04:00
2017-05-10 11:13:12 +09:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2015-04-24 16:42:28 +02:00
2016-11-05 12:02:19 +01:00
2018-05-29 13:01:12 +02:00
2018-05-29 13:01:12 +02:00
2018-10-24 15:56:18 -04:00
2018-10-24 15:56:18 -04:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2011-02-04 12:57:53 +01:00
2017-11-29 11:32:42 +01:00
2018-05-13 13:29:40 +02:00
2017-11-29 11:32:42 +01:00
2017-11-29 11:32:42 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2011-02-04 12:57:53 +01:00
2016-11-05 12:02:19 +01:00
2014-03-12 18:35:36 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-11-01 18:35:29 +01:00
2016-11-05 12:02:19 +01:00
2013-05-07 21:35:48 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2018-04-09 14:44:21 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-11-17 12:50:22 +01:00
2018-06-12 16:11:19 +02:00
2017-04-28 10:06:33 +09:00
2018-11-08 21:31:12 +02:00
2018-01-24 18:38:17 +01:00
2015-12-14 16:21:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-16 17:21:05 +01:00
2017-02-16 17:21:05 +01:00
2017-03-07 10:42:46 +09:00
2018-06-12 13:46:00 +02:00
2018-06-12 13:46:00 +02:00
2016-11-05 12:02:19 +01:00
2018-11-12 07:44:33 +01:00
2018-11-12 07:44:33 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2018-05-13 13:29:40 +02:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2011-02-04 12:57:53 +01:00
2017-02-21 13:11:46 -05:00
2018-06-21 12:58:29 +02:00
2018-10-24 15:56:18 -04:00
2018-01-21 16:30:53 +01:00
2018-10-24 15:56:18 -04:00
2017-10-17 21:10:19 +02:00
2017-10-17 21:10:19 +02:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2018-10-25 16:53:05 -04:00
2018-10-24 15:56:18 -04:00
2018-03-23 08:37:14 +01:00
2016-11-05 12:02:19 +01:00
2018-10-24 15:56:18 -04:00
2017-04-28 10:06:33 +09:00
2018-09-06 11:41:13 +09:00
2017-05-24 17:01:48 +02:00
2016-11-05 12:02:19 +01:00
2017-06-23 12:01:20 +02:00
2018-10-24 15:56:18 -04:00
2017-07-17 15:53:16 +02:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2018-10-02 14:22:24 +09:00
2017-07-25 12:43:37 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2018-10-24 15:56:18 -04:00
2016-12-20 18:39:30 +01:00
2017-01-12 10:39:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2018-11-12 07:44:33 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2018-07-02 20:25:30 +02:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2017-05-24 17:07:13 +02:00
2017-07-17 15:53:16 +02:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-01-05 20:43:40 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2017-01-17 10:19:06 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2018-07-02 20:25:30 +02:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2018-02-22 15:32:36 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00