Re: [Exim] Five domains in the same machine

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy C. Reed
Data:  
Para: Gustavo Palacios
CC: exim-users
Asunto: Re: [Exim] Five domains in the same machine
Gustavo:

On Tue, 18 Jan 2000, Gustavo Palacios wrote:
> How can I do for make the same machine manage 5 domains with separate
> aliases file and users.


Look at these config samples (and others) from the website
or ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/config.samples.tar.gz

C007: "If I host a domain foo.dom on my machine as a virtual domain I
expect it to be completely virtual and separate from other mail domains
that end up on my machine."

C009: "These are suggested parts of a configuration for looking up users
in /etc/passwd.domain rather than in /etc/passwd ..."

You may also need a way for the users to get the emails.

I wrote a patch for gnu-pop3d that allows using separate password files
and separate mail spool directories (for each domain or realm).

The user simply appends a colon or at-sign and a domain name (or realm
name) at the end of his/her pop3 user name, like "jeremy@???".
You can also compile the patch to automatically attempt to use the domain
name the user used to connect to your server. (With this option, you'd have
to have separate IPs for each virtual domain name.)

Of course, you'd need to configure your mail server to deliver the mail
appropriately. I use the Exim MTA which is very easy to configure. I also
have separate email alias files for each domain.

More info about my patch is at
http://www.reedmedia.net/projects/virtualmail/

I chose gnu-pop3d to patch, because the code is extremely easy to follow.
gnu-pop3d is available via
http://www.nodomainname.net/software/gnu-pop3d/

Hope this helps,

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net