nmh-workers
[Top] [All Lists]

Re: Setting SMTP envelope sender

1998-05-17 12:06:28
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.

Although it is difficult to tell from the current documentation,
nmh already has a form of "username masquerading".  Check the variable
"mmailid" in the "mh-tailor" man page.

Essentially, you change the GECOS field in your password file to
"Richard Coleman <foobar>", and add the variable

mmailid: 1

to your mts.conf configuration file.  The your username will be
masqueraded as "foobar", in outgoing messages.

--
Richard Coleman
coleman(_at_)math(_dot_)gatech(_dot_)edu


<Prev in Thread] Current Thread [Next in Thread>