Update base config to exim 4.89
[hcoop/config/exim.git] / conf.d / rewrite / 31_exim4-config_rewriting
CommitLineData
725c9874 1
2### rewrite/31_exim4-config_rewriting
3#################################
4
c6ffa96a 5# This rewriting rule is particularly useful for dialup users who
725c9874 6# don't have their own domain, but could be useful for anyone.
7# It looks up the real address of all local users in a file
c6ffa96a
CE
8.ifndef NO_EAA_REWRITE_REWRITE
9*@+local_domains "${lookup{${local_part}}lsearch{/etc/email-addresses}\
10 {$value}fail}" Ffrs
725c9874 11# identical rewriting rule for /etc/mailname
c6ffa96a
CE
12*@ETC_MAILNAME "${lookup{${local_part}}lsearch{/etc/email-addresses}\
13 {$value}fail}" Ffrs
14.endif
725c9874 15
16