Hi,
mts.conf provides for 'localname' to override the hostname. Very handy
for masquerading.
I've just met a site whose their Openmail hub doesn't understand the
local Unix login names, so it is necessary to masquerade the username as
well.
I have done this by patching zotnet/mts/mts.c (diff below). I think the
environment variable name is probably inappropriate.
I'm working with nmh-0.25.
Regards,
Giles
*** /tmp/,RCSt1a22814 Fri May 15 15:40:22 1998
--- mts.c Fri May 15 11:57:09 1998
***************
*** 379,384
if (MMailids == 0 || *np == '\0')
strcpy (username, pw->pw_name);
if ((cp = getenv ("SIGNATURE")) && *cp)
strcpy (fullname, cp);
if (strchr(fullname, '.')) { /* quote any .'s */
--- 379,388 -----
if (MMailids == 0 || *np == '\0')
strcpy (username, pw->pw_name);
+ /* Envelope sender support <giles(_at_)nemeton(_dot_)com(_dot_)au>
1998-05-15 */
+ if ((cp = getenv ("SENDER")) && *cp)
+ strcpy(username, cp);
+
if ((cp = getenv ("SIGNATURE")) && *cp)
strcpy (fullname, cp);
if (strchr(fullname, '.')) { /* quote any .'s */