- if (username_extension_masquerading) {
- char* username_extension = getenv("USERNAME_EXTENSION");
-
- if (username_extension != NULL && *username_extension != '\0')
- /* $USERNAME_EXTENSION environment variable has been set, so tack on
- its value to the actual username. This is meant to interact with
- qmail's "user-extension" feature and sendmail's "plussed user"
- feature. */
- snprintf(username, sizeof(username), "%s%s",
- username, username_extension);
- }
-