I think its better to do it like this: add_header = Keywords: =?UTF-8?Q?=E2=9A=A0=EF=B8=8F External Mail - be careful of attachments and links!?=
That will add a nice banner on top of the email with the information instead. It can even be colorized, but has to be done in the client. Just doubleclick the banner, and then choose a color, and choose Add. In the email list view, you can add the column "Categories" to have at-a-glance view of which emails are external and internal. This can be added based on the sender domain, provided you reject emails from your own domain if they aren't authenticated or a trusted source. For trusted internal mails you can do: add_header = Keywords: =?UTF-8?Q?=E2=9C=94=EF=B8=8F Trusted internal email! You can trust this email!?= Remember to scrub any Keywords headers from incoming emails so any attacker cannot add fake headers. -----Ursprungligt meddelande----- Från: Francisco Garcia Perez via Exim-users <[email protected]> Skickat: den 31 augusti 2020 21:08 Till: [email protected] Ämne: [exim] Body rewrite Hi to everyone, I want to add a warning message like this: *CYBER SECURITY WARNING:* This email is from an external source - be careful of attachments and links In top of all incoming emails that come from external sources. Anyone know how to do this? Regards -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
smime.p7s
Description: S/MIME Cryptographic Signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
