Re: [Exim] Emulate Sendmails Virtual Domain

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Gordon McKee
Υ/ο: Exim-Users@Exim. Org
Αντικείμενο: 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.