Date: Sat, 3 Apr 1999 22:41:03 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: gmarco@giovannelli.it (Gianmarco Giovannelli) Cc: chat@FreeBSD.ORG Subject: Re: pop & sendmail and more Message-ID: <199904032241.PAA14402@usr04.primenet.com> In-Reply-To: <4.1.19990403124424.00a501a0@194.184.65.4> from "Gianmarco Giovannelli" at Apr 3, 99 12:53:29 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> The silly question is : Is there a pop3d/imapd that can read the > /etc/mail/virtualusertable to allow user to get their mail with their pop > account and not with their real account ? > > I.e > > Virtual domain : virtual.com > Real box: box.real.com > > real account1 : user1@real.com virtual account : virtualuser@virtual.com > > When user1 send mail can obviusly send it as virtualuser@virtual.com > (sendmail permitting), but when it have to get it he has to used > user1@real.com > Now what I looking for is a patch/hack or an existing pop3d/imapd that can > use the virtualtable to associate the account with the username... The problem here is the authentication database. You probably have the authentication database tied to the real UNIX password file, instead of a seperate authentication database. It's rather trivial to retarget the Cyrus and Qualcomm server code to use a different authentication database. You can also do it with the University of Washington code, but it's a bit harder. The main point is: you *can't* use the UNIX password database if you want to support POP3 APOP, anyway, so if you support this, you are already have a database in which you can create your virtual users. This is because the server has to know the cleartext of the shared secret in order to MD5 it with the generated timestamp to match the client software's hash. So my suggestion is to create the virtual user in your alternate authentication database, instead of relying on the virtuser table contents (where would you store the password? There's no field for a password in the virtusertable!). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904032241.PAA14402>