[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in treating of domain_aware_getpwnam
People probably do not (actively) use the "domain_aware_getpwnam"
feature that I have submit a while ago, so this bug should not have
caused much harm. Still, the fix is needed. I noticed that in *some*
situations [fqdn]aliases are not expanded correctly. I found that
"host" element of the address quad is is *not always* equal to
user@domain for the local channel; the diff below would make aliases
expand correctly in my tests.
RCS file: /cvsroot/zmailer/proto/cf/aliases.cf,v
retrieving revision 1.53
diff -u -r1.53 aliases.cf
--- proto/cf/aliases.cf 29 Nov 2003 01:31:23 -0000 1.53
+++ proto/cf/aliases.cf 25 Feb 2004 10:48:00 -0000
@@ -228,7 +228,7 @@
user=$(user $quad)
if [ "$DOMAIN_AWARE_GETPWNAM" = "1" ] ; then
- sysuser="$host" # for local chan this is user@domain
+ sysuser="$user$domain"
else
sysuser="$user"
fi
Matti, when you can, please apply this (and my previous submission about
always_accept treatment in the policy checker).
Thanks
Eugene
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi