Re: [Exim] qualify_domain is also a hostname

Top Page
Delete this message
Reply to this message
Author: Anand Buddhdev
Date:  
To: Randy Bush
CC: exim users
Subject: Re: [Exim] qualify_domain is also a hostname
On Thu, Sep 16, 1999 at 04:03:21AM -0700, Randy Bush wrote:

> > You are probably looking for an option similar to Sendmail's Masquerade
> > feature (DM). You said that in smail it is called "visible_domain". The
> > name suggests that it is also a masquerading option, to "hide" internal
> > hosts and sub-domains.
>
> precisely. seems a pretty basic thing for sites with incoming gateways.


Exim has a very flexible rewriting system, which covers the simple case
of masquerading, and so there isn't an explicit option to masquerade.

> > Exim doesn't have such an option, but masquerading can be achieved with
> > the rewrite rules.
>
> <sigh> do you have the hack?


Try:

*@*.psg.com    $1@???    Ff


This will rewrite, for example, <randy@???> to <randy@???>
in the envelope sender and the From: header. For more info, see
section 32 of the manual.

> >> which i very much need, but also
> >> o you are a valid destination for foo@???
> >> the latter is not what i want at all!
> > You have probably set your local_domains option to contain "psg.com",
> > which you should remove. It should only contain "roam.psg.com".
>
> nope. though i did set
>
> local_domains_include_host = true
>
> should i unset it?


If you set "local_domains = roam.psg.com", you don't need to set the
above option. If you set the above option, you don't need to insert your
hostname in local_domains. Toss a coin and decide which one you want :-)

--
See complete headers for more info