Hi,

I have cPanel with Exim 4.93-5 on CentOS 7

I want to implement a solution where all incoming emails from remote
domains will have a disclaimer message appended to the body of the email.

I was able to find a solution for outgoing emails to have this but not the
other way around. Below is the solution for outgoing emails:
ROUTERS CONFIGURATIO
disclaimer:
driver = dnslookup
domains = ! +local_domains
transport = disclaimer_smtp

TRANSPORTS CONFIGURATION
disclaimer_smtp:
driver = smtp
transport_filter = /usr/local/bin/altermime  --input=-
--disclaimer=/usr/local/etc/exim/textdisclaimer
--disclaimer-html=/usr/local/etc/exim/htmldisclaimer
size_addition = 1

Can anyone suggest a solution where the disclaimer message is added to the
incoming emails instead?

Please help.
Thanks in advance
-- 
## 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/

Reply via email to