73 |
return RESP_BAD; |
return RESP_BAD; |
74 |
} |
} |
75 |
|
|
76 |
if (strcasecmp (name, "INBOX") == 0 && !mu_virtual_domain) |
mailbox_name = namespace_getfullpath (name, delim); |
|
{ |
|
|
struct passwd *pw = mu_getpwuid (getuid()); |
|
|
mailbox_name = strdup ((pw) ? pw->pw_name : ""); |
|
|
} |
|
|
else |
|
|
mailbox_name = namespace_getfullpath (name, delim); |
|
77 |
|
|
78 |
if (!mailbox_name) |
if (!mailbox_name) |
79 |
{ |
{ |
111 |
return RESP_OK; |
return RESP_OK; |
112 |
} |
} |
113 |
|
|
114 |
/* Unless it is certain that the destination mailbix can not be created, |
/* Unless it is certain that the destination mailbox can not be created, |
115 |
the server MUST send the response code "[TRYCREATE]" as the prefix |
the server MUST send the response code "[TRYCREATE]" as the prefix |
116 |
of the text of the tagged NO response. This gives a hint to the |
of the text of the tagged NO response. This gives a hint to the |
117 |
client that it can attempt a CREATE command and retry the copy if |
client that it can attempt a CREATE command and retry the copy if |