config.m4: List `+' suffixes first.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 26 Jan 2014 16:02:56 +0000 (16:02 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 26 Jan 2014 16:02:56 +0000 (16:02 +0000)
Otherwise `foo+ping-pong' gets delivered to `foo+ping' with suffix
`-pong', which is obviously silly.  Maybe we need to do something
cleverer, but this will do for now.

config.m4

index d84f648..e9b1e35 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -55,7 +55,7 @@ DEFCONF(alias_file, /etc/aliases)
 DEFCONF(ca_dir, /etc/ca)
 
 ## User address suffix handling.
-DEFCONF(user_suffix_list, -* : +*)
+DEFCONF(user_suffix_list, +* : -*)
 DEFCONF(user_extaddr_regexp, $acl_c_user([-+@]|\$))
 DEFCONF(user_extaddr_fixup, ${sg {$local_part_suffix}{^[-+]}{}})