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/def.h | |
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/def.h')
-rw-r--r-- | usr.bin/mail/def.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/mail/def.h b/usr.bin/mail/def.h index 6ed65a4..f4f417a 100644 --- a/usr.bin/mail/def.h +++ b/usr.bin/mail/def.h @@ -155,12 +155,14 @@ struct headline { #define GSUBJECT 2 /* Likewise, Subject: line */ #define GCC 4 /* And the Cc: line */ #define GBCC 8 /* And also the Bcc: line */ -#define GMASK (GTO|GSUBJECT|GCC|GBCC) +#define GREPLYTO 0x10 /* And the Reply-To: line */ +#define GINREPLYTO 0x20 /* The In-Reply-To: line */ +#define GMASK (GTO|GSUBJECT|GCC|GBCC|GREPLYTO|GINREPLYTO) /* Mask of places from whence */ -#define GNL 16 /* Print blank line after */ -#define GDEL 32 /* Entity removed from list */ -#define GCOMMA 64 /* detract puts in commas */ +#define GNL 0x40 /* Print blank line after */ +#define GDEL 0x80 /* Entity removed from list */ +#define GCOMMA 0x100 /* detract puts in commas */ /* * Structure used to pass about the current @@ -172,6 +174,8 @@ struct header { char *h_subject; /* Subject string */ struct name *h_cc; /* Carbon copies string */ struct name *h_bcc; /* Blind carbon copies */ + char *h_replyto; /* Reply address */ + char *h_inreplyto; /* Reference */ struct name *h_smopts; /* Sendmail options */ }; |