Conditional FCC
Oleg A. Mamontov
oleg at mamontov.net
Fri May 1 18:34:00 UTC 2020
On Fri, May 01, 2020 at 09:06:35PM +0300, Nikolay Brovko wrote:
>> I think below approach shoud do the trick?
>> ---
>> folder-hook foo 'set record = /dev/null'
>> ---
>Not actually. I want it to work for single account. Some mail should be
>stored in =Sent, some mail shouldn't.
>
>For example messages for addr1 at example.com should not be saved. Or
>messages, which Subject header matches ".*private.*" regex.
Please try the following approach:
---
send-hook '~t .' 'set record = =sent'
send-hook '~t ^addr1 at example\.com$' 'set record = /dev/null'
send-hook '~s private' 'set record = /dev/null'
---
--
Cheers,
Oleg A. Mamontov
More information about the Mutt-users
mailing list