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