Modified username_extension masquerading to only use the extended address on
authorDan Harkless <dan@harkless.org>
Tue, 14 Mar 2000 05:05:49 +0000 (05:05 +0000)
committerDan Harkless <dan@harkless.org>
Tue, 14 Mar 2000 05:05:49 +0000 (05:05 +0000)
commit34ec62af8fc74c3c9d143328f485c82ef7aad327
treea9b8a96f7b5a9edc34beae7ca9bb12dc971e4f08
parent8d61a39c1f636b7edd184767225492a4d5dacde5
Modified username_extension masquerading to only use the extended address on
generated [Resent-]From: lines and SMTP envelope From:.  With Neil's original
implementation, nmh's global idea of the username was changed, which would
result in inc lying and saying you had no new mail because it was looking for a
mailbox called, for instance, "dan-nmh" (where username was "dan" and
$USERNAME_EXTENSION was "-nmh").

While in there (adrsprintf()), added checking of snprintf()'s return code and
added calls to adios() when things are not kosher.  Also simplfied the really
confusing REALLYDUMB #ifdef'ing, which didn't even jibe with the comment
explaining REALLYDUMB in acconfig.h.  Now adrsprintf() will always return just
the username, even if an explicit domain is passed in (which currently doesn't
happen anywhere in nmh).
ChangeLog
man/mh-tailor.man
sbr/addrsbr.c
zotnet/mts/mts.c