Durga Prasad Malyala: > 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?
Yes. http://www.postfix.org/postconf.5.html#smtpd_client_restrictions http://www.postfix.org/access.5.html smtpd_client_restrictions = check_client_access cidr:/etc/postfix/client_access.cidr /etc/postfix/client_access.cidr # An "internal" source. 127.0.0.0/8 dunno 192.168.0.0/16 dunno # Everyone else. 0.0.0.0/0 prepend 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. I suppose lawyers love this. Otherwise I think it is useless. Wietse
