Package: milter-greylist / 4.5.11-1.1

573936-dump_lex Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Workaround for parsing of broken email addresses in dump file.
Forwarded: no
Origin: vendor
Bug-Debian: http://bugs.debian.org/573936
Author: Paul Martin <pm@debian.org>


Index: milter-greylist-4.3.5/dump_lex.l
===================================================================
--- milter-greylist-4.3.5.orig/dump_lex.l	2010-03-15 14:52:15.165006828 +0000
+++ milter-greylist-4.3.5/dump_lex.l	2010-03-15 14:52:45.914009444 +0000
@@ -7,7 +7,7 @@
 byte		[0-9]{1,3}
 ipaddr		{byte}"."{byte}"."{byte}"."{byte}
 ip6addr		([0-9a-fA-F]*:){2,}[0-9a-fA-F]*(%[0-9a-zA-Z]+)?
-atext		[A-Za-z0-9!#$%&'*+/=?$^_`}{|~.-]{1,}
+atext		[A-Za-z0-9!#$%&'*+/=?$^_`}{|~.()-]{1,}
 qtext		"\""[!-~]{1,}"\""
 mailbox		{atext}|{qtext}
 domain		[A-Za-z0-9._-]{1,}