On Wed, 1 Apr 2020, at 06:22, raf wrote:
> e.g. Add a CC header to f...@work.com whenever
> sending/replying/forwarding from m...@work.com unless the
> email is already going to f...@work.com.

I think a combination of hooks or only a send2-hook could be used.

How about something along these lines (not tested):

send2-hook "~f m...@work.com !(~C f...@work.com)" "my_hdr cc: f...@work.com"

I do not know if my_hdr would respect headers that are already there. For 
example, if you set a header using the editor CCing a few people, Fred should 
only be added.

Reply via email to