From b9f10525a3fb6167b0588c988f0aec4507c2c0f0 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 7 Aug 2012 13:02:41 +0300 Subject: mail: provide a way to set return address. * mail/mail.c: New option -r (--return-address). * mail/mailvar.c: New variable "return-address". * mail/send.c (send_message): Obtain the return mail address from the "return-address" variable (if set). * NEWS: Update. * doc/texinfo/programs.texi: Update. --- NEWS | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7e55823c0..ac7dbdf00 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU mailutils NEWS -- history of user-visible changes. 2012-07-19 +GNU mailutils NEWS -- history of user-visible changes. 2012-08-07 Copyright (C) 2002-2012 Free Software Foundation, Inc. See the end of file for copying conditions. @@ -149,6 +149,17 @@ The mail shell provides the following new escapes to handle attachments: ~^ N Delete Nth attachment. +** mail: the -r option + +The meaning of the `-r' option has changed. Now it introduces the +return address to use when sending mail. This is an incompatible +change. + +The return address can also be set from the mail shell, by assigning +to the `return-address' variable, e.g.: + + set return-address "gray@gnu.org" + ** MH: improved compatibility with other implementations ** MH inc: new option --moveto -- cgit v1.2.1