[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: Conditional FCC
From:       Ben Boeckel <mathstuf () gmail ! com>
Date:       2020-05-01 14:19:42
Message-ID: 20200501141942.GA400555 () erythro ! dev ! benboeckel ! internal
[Download RAW message or body]

On Fri, May 01, 2020 at 15:36:10 +0300, Oleg A. Mamontov wrote:
> folder-hook foo 'set record = /dev/null'

You also need a catch-all folder-hook to reset it if you leave that
folder (as the setting is not scoped to your use of folders which
match). Basically, for things like this, every folder must hit some
folder hook for it.

    # No Fcc for emails composed from this folder.
    folder-hook secret 'set record = /dev/null'
    # Every other folder sets Fcc according to the account it belongs
    # to.
    folder-hook account1 'set record = ...'
    folder-hook account2 'set record = ...'
    folder-hook account3 'set record = ...'

--Ben
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic