Re: [Exim] Virtual domains, on one host

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: ryan
CC: Exim Users
Betreff: Re: [Exim] Virtual domains, on one host
On Sat, 18 Dec 1999 ryan@??? wrote:

> I'm trying to setup virtual domains, all on one host, and I need to make
> sure that the To and From headers don't get touched at all once leaving
> the MUA. I haven't been able to get this to work so far - it seems like
> the headers are being rewritten to the primary hostname of the machine
> doing the hosting.


Exim will not do this unless it is configured in its runtime
configuration file.

> One related question: With a director like 
>  virtual:
>   driver = aliasfile
>    domains = "lsearch;/etc/exim/local-host-names"
>    search_type = lsearch*
>    no_more
>    file = /etc/exim/$domain-aliases

>
> If I put a line like "*: ryan" in the alias file for a subdomain, does
> that reroute *all* mail to anyone in that subdomain to the user ryan on
> the local machine?


No. Only those local parts that don't match another entry in the file.

> If I other users that want to get mail in that domain,
> but I want anything else to go to a specific user, how do I do that? Is
> it easily possible?


Sorry, I don't follow. Why doesn't

*: specifcuser@???

work?

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.