From: Matthijs Kooijman Date: Wed, 1 Sep 2010 19:42:16 +0000 (+0200) Subject: exim: Correct any real_domains in envelope addresses. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=671bbfb0923db87640a3f9ccc7aea9a6d794a765;p=matthijs%2Fservers%2Fdrsnuggles.git exim: Correct any real_domains in envelope addresses. The real_domains (e.g., vserver hostnames) are mostly not listed in the DNS, so we replace that with our public DNS name. --- diff --git a/etc/exim4/conf.d/rewrite/20_real_domains b/etc/exim4/conf.d/rewrite/20_real_domains new file mode 100644 index 0000000..8ddddd8 --- /dev/null +++ b/etc/exim4/conf.d/rewrite/20_real_domains @@ -0,0 +1,10 @@ +################################ +# If any of the real_domains is left in the envelope, rewrite it to our +# external hostname, since most real_domains are not listed in DNS. +# Don't rewrite the From address, so we can still see where a message +# comes from. +################################# + +*@+real_domains $1@EXTERNAL_HOSTNAME E + +# vim: set sts=2 expandtab sw=2 ai: