conditional automatic cc header?

raf mutt at raf.org
Wed Apr 1 04:22:21 UTC 2020


Hi,

What's a good way to automatically add a Cc: header
for a particular address when sending/replying/forwarding?
But not if they're already going to receive the email.
And only when sending from a particular address.

e.g. Add a CC header to fred at work.com whenever
sending/replying/forwarding from me at work.com unless the
email is already going to fred at work.com.

Can it be done in .muttrc or should I automate it in
the editor? I already have mutt's editor variable set
to a script that uses perl to preprocess the file
slightly before starting vim so I could just add to
that but I was wondering if there's another way.

cheers,
raf



More information about the Mutt-users mailing list