[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recording by to email
From: |
Sergey Poznyakoff |
Subject: |
Re: recording by to email |
Date: |
Thu, 10 Jun 2021 09:00:09 +0200 |
Hi Jean,
> 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"
FWIW, tilde is expanded only when it appears as the first character in
the string.
> Do you think I could use this option?
>
> '-F'
> '--byname'
Yes, I think so. First, please pull. The recent commits contain
important changes that should make this possible. Then, in order to
save messages by recipient name, set the following:
# Folder where files will be created
set folder="~/Maildir"
# Instruct mail to store outgoing messages in files located in
# "folder" and named after the recipient email:
set outfolder
# Name these files by entire recipient email, instead of the local
# part only:
set outfilename=email
Regards,
Sergey