Merge branch 'debian' into hcoop_489
[hcoop/debian/exim4.git] / debian / debconf / conf.d / rewrite / 31_exim4-config_rewriting
CommitLineData
de45f55a
AM
1
2### rewrite/31_exim4-config_rewriting
3#################################
4
89fb561f 5# This rewriting rule is particularly useful for dialup users who
de45f55a
AM
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
8.ifndef NO_EAA_REWRITE_REWRITE
9*@+local_domains "${lookup{${local_part}}lsearch{/etc/email-addresses}\
10 {$value}fail}" Ffrs
11# identical rewriting rule for /etc/mailname
12*@ETC_MAILNAME "${lookup{${local_part}}lsearch{/etc/email-addresses}\
13 {$value}fail}" Ffrs
14.endif
15
16