Re: Why was exim selcted as the default MTA?
Jor-el <jorel@ibm.net> writes:
> 3. As I mentioned in my original post, conditional rewriting will
> _not_ fix the problem. How would it handle the case when a mail destined
> for an external address is also CC'd to a local address?
Lucky for me the ISP I use is also the ISP I admin so I just rewrite all @home
to @dundee.lia.net at the smarthost. If an e-mail shouldn't go out on to the
net it won't so it won't get rewritten.
>
> If you want to rewrite headers on externally bound mail only, that is,
> mail going through your smarthost router, you can use the headers_add
> and headers_remove options to this router.
headers_add|remove don't work on envelope From unfortunately
HTH
--
-----------------------------------------------------------------------------
Sarel Botha | Computer & | +27 341 81341
(sjb@dundee.lia.net) | Accounting | BOX 2065, Dundee
| Services | 3000, South Africa
-----------------------------------------------------------------------------
"The End is near." -- http://www.geocities.com/Athens/Olympus/7771/666.htm
-----------------------------------------------------------------------------
Reply to: