+ * Get the full local mailbox name. This is in the form:
+ *
+ * User Name <user@name.com>
+ */
+
+char *
+getlocalmbox (void)
+{
+ if (username[0] == '\0')
+ getuserinfo();
+
+ if (localmbox[0] == '\0') {
+ char *cp;
+
+ if ((cp = context_find("Local-Mailbox")) != NULL) {
+ strncpy(localmbox, cp, sizeof(localmbox));
+ } else {
+ snprintf(localmbox, sizeof(localmbox), "%s <%s@%s>", fullname,
+ username, LocalName(0));
+ }
+
+ localmbox[sizeof(localmbox) - 1] = '\0';
+ }
+
+ return localmbox;
+}
+
+/*