On 23Apr2023 12:50, Todd Zullinger <t...@pobox.com> wrote:
An alternative (or addition) to the above is a message-hook:

message-hook ~A 'unalternative_order "*"; alternative_order text/enriched 
text/plain text'
message-hook '~C "misbehaving-group@example\.com"' 'unalternative_order "*"; 
alternative_order text/html'

I use that approach, but I've got a whole mutt group for senders whose text/plain is rubbish:

    message-hook . 'unalternative_order *; alternative_order text/plain 
text/html'
    message-hook '~h "X-Mailer: Apple Mail" ~X 1-' 'unalternative_order *; 
alternative_order text/html multipart/mixed text/plain'
    message-hook '%f htmlers | ~f @no-re...@cc.yahoo-inc.com | ~f @outlook.com 
| ~f live.com | ~f @facebookmail.com' 'unalternative_order *; alternative_order 
text/html text/plain'

So my "htmlers" group lists source addresses who send bad text/plain.

Cheers,
Cameron Simpson <c...@cskk.id.au>

Reply via email to