[Exim] Address rewriting and local deliveries

トップ ページ
このメッセージを削除
このメッセージに返信
著者: kari
日付:  
To: exim-users
題目: [Exim] Address rewriting and local deliveries
I have dial-up connection to my ISP and need to rewrite addresses going to
the ISP. I have enabled the example rule in exim.conf, i.e.

*@localdomain   ${lookup{$1}lsearch{/etc/email-addresses}\
                {$value}fail} frsF


and set appropriate 'real' addresses in /etc/email-addresses.

However, this rewrites also the addresses for local deliveries in my LAN,
which causes local replies to be unnecessarily routed via ISP. Is there a
way to distinguish between local and remote deliveries and use this for
rewriting rules in exim.conf?

Kari