RE: [Exim] Emulate Sendmails Virtual Domain

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Gordon McKee
Date:  
À: Philip Hazel
CC: Exim-Users@Exim. Org
Sujet: RE: [Exim] Emulate Sendmails Virtual Domain
Hi

Re the virtual Domains, I want lets say the webmaster user form one user to
get forwarded to another Email address, and the same for another domain to
get delivered to a local user.

EG
webmaster@???:    gdm
webaster@???:    gordon@???


Catchall - I mean, if the address before the @ sign is wrong it gets
delivered to root or postmaster.

Gordon

-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: 27 February 2001 21:47
To: Gordon McKee
Cc: Exim-Users@Exim. Org
Subject: Re: [Exim] Emulate Sendmails Virtual Domain


On Tue, 27 Feb 2001, Gordon McKee wrote:

> Is it possible to emulate sendmail virtual domain in exim3.20. I could

put
> them all in as rewrite rules, but there must be a more elegant way of

doing
> it.


Using rewriting for routing is a Sendmail paradigm. It is not Exim's
way.

I don't know how Sendmail does virtual domains, not having been near it
for a decade, but the usual way to do them in Exim is by alias lists.
There are examples in the manual and in the sample configurations.
Typically, for each virtual domain, you have a file with a list of local
parts in that domain and the real addresses to send messages on to.

> Also, can you put a catchall in, and still get an error sent to the

sender?

Not sure what you mean. Do you mean "if unknown local part, deliver to
this address AND send a message to sender"? That can be done using an
autoreply transport with "unseen", or a filter can be used.

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