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/recipi...@example.com ?

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/

Reply via email to