Mercurial > masqmail
changeset 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 (2011-07-13) |
parents | 5ce2b1280679 |
children | e507c854a63e |
files | src/conf.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conf.c Wed Jul 13 10:24:45 2011 +0200 +++ b/src/conf.c Wed Jul 13 10:30:52 2011 +0200 @@ -175,7 +175,8 @@ addr->domain = strdup(at+1); } else { addr->local_part = strdup(p); - addr->domain = ""; + /* No `@', thus any domain is okay. */ + addr->domain = "*"; } list = g_list_append(list, addr); DEBUG(6) debugf("parse_address_glob_list: read pattern `%s' `%s'\n",