diff options
author | joerg <joerg@FreeBSD.org> | 1998-01-02 16:44:13 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1998-01-02 16:44:13 +0000 |
commit | 00289accda875898bb2dc93c3681d29d455634b9 (patch) | |
tree | c5616b133fbc09fe9fe5be1eed1d4fb141ca377f /usr.bin/mail/names.c | |
parent | 197f0b69d78a1b5722ee9fea48afbe26936aa5f2 (diff) | |
download | FreeBSD-src-00289accda875898bb2dc93c3681d29d455634b9.zip FreeBSD-src-00289accda875898bb2dc93c3681d29d455634b9.tar.gz |
Teach boring old mail(1) about the use of the REPLYTO environment
variable which is de-facto standard for MUAs.
Teach bomail to generate an in-reply-to header so threading MUAs and
mail->news gateways won't lose context.
While i was at it, removed two gratuitous standard violations for
functions starting with an underscore.
Diffstat (limited to 'usr.bin/mail/names.c')
-rw-r--r-- | usr.bin/mail/names.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mail/names.c b/usr.bin/mail/names.c index e17e9f2..2050942 100644 --- a/usr.bin/mail/names.c +++ b/usr.bin/mail/names.c @@ -261,7 +261,8 @@ outof(names, fo, hp) } (void) fcntl(image, F_SETFD, 1); fprintf(fout, "From %s %s", myname, date); - puthead(hp, fout, GTO|GSUBJECT|GCC|GNL); + puthead(hp, fout, + GTO|GSUBJECT|GCC|GREPLYTO|GINREPLYTO|GNL); while ((c = getc(fo)) != EOF) (void) putc(c, fout); rewind(fo); |