Commit ddc1e76b ddc1e76b7e1f0508e84c0805457ee02732e4d30e by Sergey Poznyakoff

Use mu_virtual_domain instead of is_virtual.

1 parent 032eb706
......@@ -73,7 +73,7 @@ imap4d_copy0 (char *arg, int isuid, char *resp, size_t resplen)
return RESP_BAD;
}
if (strcasecmp (name, "INBOX") == 0 && !is_virtual)
if (strcasecmp (name, "INBOX") == 0 && !mu_virtual_domain)
{
struct passwd *pw = getpwuid (getuid());
mailbox_name = strdup ((pw) ? pw->pw_name : "");
......
......@@ -57,7 +57,7 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags)
imap4d_sync ();
}
if (strcasecmp (mailbox_name, "INBOX") == 0 && !is_virtual)
if (strcasecmp (mailbox_name, "INBOX") == 0 && !mu_virtual_domain)
{
pw = getpwuid (getuid ());
if (pw)
......
......@@ -45,7 +45,7 @@ imap4d_status (struct imap4d_command *command, char *arg)
if (!name || *name == '\0' || !sp || *sp == '\0')
return util_finish (command, RESP_BAD, "Too few args");
if (strcasecmp (name, "INBOX") == 0 && !is_virtual)
if (strcasecmp (name, "INBOX") == 0 && !mu_virtual_domain)
{
struct passwd *pw = getpwuid (getuid());
mailbox_name = strdup ((pw) ? pw->pw_name : "");
......