Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!news-peer.gsl.net!news.gsl.net!news-lond.gsl.net!news.gsl.net!dispatch.news.demon.net!demon!xciv.demon.co.uk!usenet From: paul@xciv.org (Paul Civati) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: same user id's Date: 14 Dec 1996 13:38:47 GMT Organization: XCIV Lines: 39 Message-ID: <58ual7$7q@xciv.demon.co.uk> References: <58kkkp$7f6@home.mem.net> Reply-To: paul@xciv.org NNTP-Posting-Host: pantera.xciv.org X-NNTP-Posting-Host: xciv.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:4988 In article <58kkkp$7f6@home.mem.net>, bbarton@mem.net (Ben Barton) writes: > I am currently hosting several domains on my machine, and am rather > nerw to doing this. However, a problem surfaced the other day when > one of my customers wanted to use sales@hisdomain.com when the user > id sales was already in the system, just registered to another domain. Presumably you are providing their mail by POP3? > These are virtual sites I am hosting, all on one machine. I am also > acting as the mail server for these domains also. Does anyone have an > idea that would allow me to have sales@domain1.com and > sales@domain2.com?? This is a difficult problem, and there are 2 parts to it. Firstly setting up an MTA to actually store the incoming mail in separate areas so that mailboxes don't clash. I think this is relatively easy to solve if you use the right MTA. Then, working out a way of implementing a POP3 server that will differentiate between the different domains, because POP3 has no concept of domains, only mailboxes. Well, you could modify the POP3 daemon to take an extended format for the POP3 username (much like my ISP has done), ie. user@domain.xxx for the username (and user+domain.xxx for those POP3 clients that complain about you having a '@' in the username). The other method would be to modify the POP3 daemon to make it a virtual server, much like virtual web servers that use multiple IP's and aliased interfaces. But then that means you'd using a lot of IP addresses if you're serving mail for a lot of domains. -Paul- -- Paul Civati =O= Home: paul@xciv.org =O= http://www.xciv.org/ London UK =O= Home: paul@xciv.demon.co.uk =O= Slackware is.