comparison src/deliver/auth-client.c @ 8916:505f1b4cbd88 HEAD

deliver should have used mail_access_groups setting, not mail_extra_groups.
author Timo Sirainen <tss@iki.fi>
date Fri, 03 Apr 2009 18:23:17 -0400
parents b9faf4db2a9f
children 00cd9aacd03c
comparison
equal deleted inserted replaced
8915:676efa08f5d7 8916:505f1b4cbd88
114 env_put(t_strconcat("RESTRICT_CHROOT=", reply->chroot, NULL)); 114 env_put(t_strconcat("RESTRICT_CHROOT=", reply->chroot, NULL));
115 } 115 }
116 if (reply->home != NULL) 116 if (reply->home != NULL)
117 env_put(t_strconcat("HOME=", reply->home, NULL)); 117 env_put(t_strconcat("HOME=", reply->home, NULL));
118 118
119 extra_groups = getenv("MAIL_EXTRA_GROUPS"); 119 extra_groups = getenv("MAIL_ACCESS_GROUPS");
120 if (extra_groups != NULL) { 120 if (extra_groups != NULL) {
121 env_put(t_strconcat("RESTRICT_SETEXTRAGROUPS=", 121 env_put(t_strconcat("RESTRICT_SETEXTRAGROUPS=",
122 extra_groups, NULL)); 122 extra_groups, NULL));
123 } 123 }
124 return 0; 124 return 0;