Guys,
Can you try the following diff, it fixes the issue here and should
get your mailing lists working.
Please report if it works (or not ;-)
Index: map_db.c
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/map_db.c,v
retrieving revision 1.1
diff -u -p -r1.1 map_db.c
--- map_db.c 13 Dec 2011 23:00:52 -0000 1.1
+++ map_db.c 9 Apr 2012 20:23:42 -0000
@@ -199,6 +199,8 @@ map_db_alias(char *key, char *line, size
if (! alias_parse(&expnode, subrcpt))
goto error;
+ strlcpy(expnode.as_user, SMTPD_USER, sizeof (expnode.as_user));
+
expandtree_increment_node(&map_alias->expandtree, &expnode);
map_alias->nbnodes++;
}
@@ -243,6 +245,8 @@ map_db_virtual(char *key, char *line, si
bzero(&expnode, sizeof (struct expandnode));
if (! alias_parse(&expnode, subrcpt))
goto error;
+
+ strlcpy(expnode.as_user, SMTPD_USER, sizeof (expnode.as_user));
expandtree_increment_node(&map_virtual->expandtree, &expnode);
map_virtual->nbnodes++;
Index: map_stdio.c
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/map_stdio.c,v
retrieving revision 1.1
diff -u -p -r1.1 map_stdio.c
--- map_stdio.c 13 Dec 2011 23:00:52 -0000 1.1
+++ map_stdio.c 9 Apr 2012 20:23:42 -0000
@@ -221,6 +221,8 @@ map_stdio_alias(char *key, char *line, s
if (! alias_parse(&expnode, subrcpt))
goto error;
+ strlcpy(expnode.as_user, SMTPD_USER, sizeof (expnode.as_user));
+
expandtree_increment_node(&map_alias->expandtree, &expnode);
map_alias->nbnodes++;
}
@@ -265,6 +267,8 @@ map_stdio_virtual(char *key, char *line,
bzero(&expnode, sizeof (struct expandnode));
if (! alias_parse(&expnode, subrcpt))
goto error;
+
+ strlcpy(expnode.as_user, SMTPD_USER, sizeof (expnode.as_user));
expandtree_increment_node(&map_virtual->expandtree, &expnode);
map_virtual->nbnodes++;
--
Gilles Chehade
https://www.poolp.org | http://pool.ps @poolpOrg