Re: [Exim] Idea Request again

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Jason
CC: exim-users
Tárgy: Re: [Exim] Idea Request again
On Fri, 19 May 2000, Jason wrote:

> The idea is so that for example in /etc/passwd
> I could have
> d1.user1:password:---
> d2-user2:password:---
> d3xuser3:password:---


I realized that. I was pointing out that this is not a good idea if the
numbers get large. You can currently do that and handle it in a variety
of ways with smartuser directors like the one I suggested:

> > virtualdomain1:
> > driver = smartuser
> > domains = domain1.com
> > new_address = d1.$local_part


For explicitness, perhaps write

new_address = d1.$local_part@qualify_domain

It would be easy enough to have a table like

domain1.com: d1.
domain2.com: d2+

or whatever, and look up the prefix instead of hard-wiring it into the
director, making it easy to handle a number of domains.


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