--- a/lib/vpwentry/export_env.cc Sun Jan 20 00:12:17 2008 +0100
+++ b/lib/vpwentry/export_env.cc Sun Jan 20 00:22:09 2008 +0100
@@ -27,7 +27,7 @@
bool vpwentry::export_env() const
{
return presetenv("VUSER=", name) == 0 &&
- presetenv("MAILDIR=", mailbox) == 0 &&
+ presetenv("MAILDIR=", directory) == 0 &&
presetenv("VUSER_CTIME=", ctime) == 0 &&
presetenv("VUSER_EXPIRY=", expiry) == 0 &&
presetenv("VUSER_MSGCOUNT=", msgcount) == 0 &&
@@ -35,6 +35,7 @@
presetenv("VUSER_PERSONAL=", personal) == 0 &&
presetenv("VUSER_HARDQUOTA=", hardquota) == 0 &&
presetenv("VUSER_SOFTQUOTA=", softquota) == 0 &&
+ presetenv("VUSER_HAS_MAILBOX=", has_mailbox) == 0 &&
presetenv("VUSER_MAILBOX_ENABLED=", is_mailbox_enabled) == 0;
//for(mystring_iter iter(data.str(), '\0'); iter; ++iter)
// presetenv("VUSER_"+...+"=", *iter);