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 [email protected] 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@example\.com$' 'set record = /dev/null'
send-hook '~s private' 'set record = /dev/null'
---
--
Cheers,
Oleg A. Mamontov