* @retval 3 User is in the CC list
* @retval 4 User is originator
* @retval 5 Sent to a subscribed mailinglist
+ * @retval 6 User is in the Reply-To list
*/
static int user_is_recipient(struct Email *e)
{
e->recipient = 5;
else if (check_for_mailing_list(env->cc, NULL, NULL, 0))
e->recipient = 5;
+ else if (user_in_addr(env->reply_to))
+ e->recipient = 6;
else
e->recipient = 0;
}
** If this variable is not set, the environment variable \fC$$$TMPDIR\fP is
** used. Failing that, then ``\fC/tmp\fP'' is used.
*/
- { "to_chars", DT_MBTABLE, R_BOTH, &ToChars, IP " +TCFL" },
+ { "to_chars", DT_MBTABLE, R_BOTH, &ToChars, IP " +TCFLR" },
/*
** .pp
** Controls the character used to indicate mail addressed to you.
** .dt 4 .dd C .dd Your address is specified in the ``Cc:'' header field, but you are not the only recipient.
** .dt 5 .dd F .dd Indicates the mail that was sent by \fIyou\fP.
** .dt 6 .dd L .dd Indicates the mail was sent to a mailing-list you subscribe to.
+ ** .dt 7 .dd R .dd Your address appears in the ``Reply-To:'' header field but none of the above applies.
** .de
*/
{ "trash", DT_PATH|DT_MAILBOX, R_NONE, &Trash, 0 },