bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

recording by to email


From: Jean Louis
Subject: recording by to email
Date: Mon, 07 Jun 2021 23:20:53 +0300

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/recipient@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

[Prev in Thread] Current Thread [Next in Thread]