On 9 Sep 2018, at 13:35 (-0400), Durga Prasad Malyala wrote:
Hello Friends,
I would like to make postfix add a warning message for all external
incoming emails - Something like this at the top of each mail.
WARNING: This email originated outside of our organization. Do not
click any links or open any attachments unless you recognize the
sender and know the content is safe
How is this possible in postfix?
It's not possible in Postfix itself.
This can be done in a milter. The MIMEDefang milter has a function to
add arbitrary MIME parts to a message before or after the existing
content and if you are up to writing a few lines of Perl and learning
how the MIME::Entity module works, you could even modify existing
plaintext and/or HTML parts.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steadier Work: https://linkedin.com/in/billcole