recording by to email

Jean Louis <[email protected]> Mon, 07 Jun 2021 23:20:53 +0300
Newsgroups gmane.comp.gnu.mailutils.bugs
Message-ID <[email protected]>
I have in ~/.mailrc following:

set byname
set folder="~/Maildir"
set record="~/Maildir/~t"

and that was meant to record by email of the recipient. But it records
into "~/Maildir/~t"

Do you think I could use this option?

'-F'
'--byname'
     Record outgoing messages in a file named after the first recipient.
     The name is the login-name portion of the address found first on
     the 'To:' line in the mail header.  This option sets the 'byname'
     variable, which see (*note byname::).

But would this option record into ~/Maildir/[email protected] ?

That is the goal.

Now I am replacing by Emacs Lisp the recipient where to record. But it
would be better to be able to use the .mailrc

Is there a way to replace this meaning in .mailrc as below?

(format "~/Maildir/%s" to-email)



Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/