From 671bbfb0923db87640a3f9ccc7aea9a6d794a765 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 1 Sep 2010 21:42:16 +0200 Subject: [PATCH] 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. --- etc/exim4/conf.d/rewrite/20_real_domains | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 etc/exim4/conf.d/rewrite/20_real_domains 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: -- 2.30.2