/* Variables for username masquerading: */
boolean draft_from_masquerading = FALSE; /* also used from post.c */
static boolean mmailid_masquerading = FALSE;
-static boolean plussed_user_masquerading = FALSE;
+ boolean username_extension_masquerading = FALSE; /* " from addrsbr.c */
static char* masquerade = "";
if (strstr(masquerade, "mmailid") != NULL)
mmailid_masquerading = TRUE;
- if (strstr(masquerade, "plussed_user") != NULL)
- plussed_user_masquerading = TRUE;
+ if (strstr(masquerade, "username_extension") != NULL)
+ username_extension_masquerading = TRUE;
}
if (!mmailid_masquerading || *np == '\0')
strncpy (username, pw->pw_name, sizeof(username));
- if (plussed_user_masquerading) {
- /* Tack on '+' and $USERPLUS environment variable to actual username.
- Presumably the local MTA (e.g. sendmail) has been set up to deliver
- all mail sent to <user>+<string> to <user>. */
- char* plussed_user_addon = getenv("USERPLUS");
-
- if (plussed_user_addon != NULL && *plussed_user_addon != '\0')
- snprintf(username, sizeof(username), "%s+%s",
- username, plussed_user_addon);
- }
-
/* The $SIGNATURE environment variable overrides the GECOS field's idea of
your real name. */
if ((cp = getenv ("SIGNATURE")) && *cp)