masqmail
changeset 233:3f33a0feeeb0
improved comments slightly
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 21 Oct 2010 18:52:50 -0300 |
parents | 5eb5a92f3247 |
children | 4b40be6f1cbd |
files | src/alias.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/src/alias.c Mon Jul 26 22:02:47 2010 +0200 1.2 +++ b/src/alias.c Thu Oct 21 18:52:50 2010 -0300 1.3 @@ -115,13 +115,14 @@ 1.4 if (addr_is_local(addr) && !(addr->flags & ADDR_FLAG_NOEXPAND)) { 1.5 gchar *val; 1.6 1.7 - /* special handling for postmaster */ 1.8 + DEBUG(5) debugf("alias: '%s' is local\n", addr->local_part); 1.9 if (strcasecmp(addr->local_part, "postmaster") == 0) 1.10 + /* postmaster needs always to be matched caseless 1.11 + see RFC 822 and RFC 5321 */ 1.12 val = (gchar *) table_find_func(alias_table, addr->local_part, strcasecmp); 1.13 else 1.14 val = (gchar *) table_find_func(alias_table, addr->local_part, conf.alias_local_cmp); 1.15 1.16 - DEBUG(5) debugf("alias: '%s' is local\n", addr->local_part); 1.17 if (val != NULL) { 1.18 GList *val_list = parse_list(val); 1.19 GList *val_node;