masqmail
diff src/conf.c @ 330:f899ca0835a8
Fixed local-part only address patterns in route conditions
The man page claimed behavior that wasn't implemented up to now.
Thanks to Juergen Daubert for the bug report.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 13 Jul 2011 10:30:52 +0200 |
parents | 5ce2b1280679 |
children | 0bd27f603910 |
line diff
1.1 --- a/src/conf.c Wed Jul 13 10:24:45 2011 +0200 1.2 +++ b/src/conf.c Wed Jul 13 10:30:52 2011 +0200 1.3 @@ -175,7 +175,8 @@ 1.4 addr->domain = strdup(at+1); 1.5 } else { 1.6 addr->local_part = strdup(p); 1.7 - addr->domain = ""; 1.8 + /* No `@', thus any domain is okay. */ 1.9 + addr->domain = "*"; 1.10 } 1.11 list = g_list_append(list, addr); 1.12 DEBUG(6) debugf("parse_address_glob_list: read pattern `%s' `%s'\n",