RE: [Exim] Mailboxes on Virtual Domains

Top Pagina
Delete this message
Reply to this message
Auteur: Ryan Hayle
Datum:  
Aan: 'Jeremy C. Reed'
CC: 'exim-users'
Nieuwe Onderwerpen: [Exim] Retrieving virtual domain user mbox.
Onderwerp: RE: [Exim] Mailboxes on Virtual Domains
Jeremy,
Thanks for the info... I have set it up and it appears to be working
okay, as long as one uses the user@??? for a username. I have
enabled the IP_BASED_VIRTUAL option in pop3d, however it doesn't seem to
work. Here's what I get when I don't enter the domain in the username:
Jan 11 20:29:43 mail gnu-pop3d[4842]: connect from nt.savvynet.com
Jan 11 20:29:43 mail gnu-pop3d[4842]: Incoming connection opened
Jan 11 20:29:43 mail gnu-pop3d[4842]: gethostbyaddr failure 1
Jan 11 20:29:43 mail gnu-pop3d[4842]: Socket closed

Any ideas on this one? Should I add the virtual domains to my /etc/hosts or
something?

Thanks again...
Ryan Hayle

-----Original Message-----
From: Jeremy C. Reed [mailto:reed@wcug.wwu.edu]
Sent: Friday, 07 January, 2000 7:02 PM
To: Ryan Hayle
Cc: 'exim-users@???'
Subject: Re: [Exim] Mailboxes on Virtual Domains


Ryan:

On Fri, 7 Jan 2000, Ryan Hayle wrote:
> biggest question is, can you create seperate user lists for the different
> domains? So I can have bill@??? and bill@??? hosted on

the
> same server? If so, could anyone help me figure out how to go about this?
> Also, can I avoid creating regular system accounts for each user I want to
> add? (obviously I couldn't create two accounts called "bill", so this

gets
> back to my first problem). How have other people implemented this? Any
> help would be -greatly- appriciated!


There used to be some great examples at the www.Exim.org website.
But now it seems to be a download.
ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/config.samples.tar.gz
Look at these config samples (and others):

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 will 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




--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##