exim: Correct any real_domains in envelope addresses.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / rewrite / 20_real_domains
1 ################################
2 # If any of the real_domains is left in the envelope, rewrite it to our
3 # external hostname, since most real_domains are not listed in DNS.
4 # Don't rewrite the From address, so we can still see where a message
5 # comes from.
6 #################################
7
8 *@+real_domains $1@EXTERNAL_HOSTNAME E
9
10 # vim: set sts=2 expandtab sw=2 ai: