[Exim] HTML system filter

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Otis-Vigil
Dátum:  
Címzett: exim-users
Tárgy: [Exim] HTML system filter
I added this to my system_filter.exim file but the bounce is bounced to
postmaster because it has a copy of the HTML email in it. How can I make
this bounce message go through?

Daniel

# reject HTML formatted emails
if $message_body contains "<HTML>" then
  fail text "This message has been rejected because it\n\
             \tcontains HTML formatting.  HTML formatted\n\
             \temail can hide potentially damaging scripts\n\
             \tor comprimise privacy.  Please re-send in\n\
             \tplain-text format."
  seen finish
endif