|
Message-ID: <20031018190627.GA16506@data.is> Date: Sat, 18 Oct 2003 19:06:27 +0000 From: "Hallgrimur H. Gunnarsson" <hhg@...a.is> To: popa3d-users@...ts.openwall.com Subject: Re: Virtual Domains On 18.10.2003 Tim van Erven <tve@...mig.net> wrote: > On Sat, 18/10/2003 22:15 +0400, Solar Designer wrote: > > On Sat, Oct 18, 2003 at 07:08:06PM +0200, Tim van Erven wrote: > >> On Sat, 18/10/2003 17:48 +0400, Solar Designer wrote: > >>>>>> file = VIRTUAL_HOME_PATH/127.0.0.1/mail/${local_part} > > > >>> I don't really like this suggestion. If you do use popa3d's sample > >>> virtual domain support code unmodified, then please also place the > >>> domain information where the code expects it, -- in place of the > >>> "127.0.0.1". Yes, it means that you may need to have your MTA or LDA > >>> translate the recipient's domain name into the corresponding virtual > >>> mail server's IP address. (OK, perhaps the sample virtual.c should be > >>> enhanced to also support name-based virtual domains.) > >> > >> What do you mean by a `virtual mail server'? > > > > In this context, a POP3 (and maybe also SMTP) server that the users of > > a domain may treat as if it were a dedicated mail server for just their > > domain. The sample virtual.c implements the POP3 side of it. > > So you're thinking of a scenario where multiple users are sharing a > server, each being allowed to admin their own domain? Whether users can admin their own domain is a separate issue and depends on configuration. > > And in that case it would not be uncommon to use separate IPs for the > virtual mailservers for the domains, so the IP for the virtual > mailservers could be used in place of the "127.0.0.1" to differentiate > between domains? Yes, that's pretty much the definition of it. Instead of running a separate popa3d server on each interface, you run one instance that recognizes what interface you're coming from (IP-based) or uses the supplised username like user@...ain (name-based). -- hhg
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.