hmm, i think my patch will do what you want it to do, in concept, just in 
a different method than you describe.

the patch pulls an email address from the mysql table for the login name, 
auths off that, and directly maps that to the mail spool. that's the user, 
there's no /etc/passwd usage.
so a user may login to qpopper as [EMAIL PROTECTED], and then qpopper will 
look in /var/spool/mail/domain.com/user for the mail. That's the default 
anyway.
It may be closer to what you want in the fact that you can specify a 
username-indepedent place where the mail is. for example, in the spool 
field of the mysql table for [EMAIL PROTECTED], you could say the mail was 
in /var/spool/mail/joeblow or /var/spool/mail/domain/janesuck or wherever, 
the mailbox doesn't have to be called 'user'

--Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
[EMAIL PROTECTED]              http://www.asteroid-b612.org

       "You find magic from your god, and I find magic everywhere" 
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Fri, 23 Jan 2004, Ken Anderson wrote:

> Hello,
> 
> Does qpopper support virtualhosting the way sendmail does it, using the 
> virtusertable and generics table to map incoming mail to 
> [EMAIL PROTECTED] to a local user and map outgoing mail from a local user 
> to [EMAIL PROTECTED]
> 
> To clarify the question, how could I map [EMAIL PROTECTED] to local users 
> so that a pop3 user could use [EMAIL PROTECTED] as their username to 
> login to qpopper? The goal is to make the real username invisible to the 
> virtual user.
> 
> Something tells me I'm talking about virtual users, and not real users 
> in /etc/passwd now, and I should look at things like the mysql patch for 
> qpopper to make this work? Any other ideas?
> 
> Thanks,
> Ken Anderson
> Pacific.Net
> 
> 

-- 
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
[EMAIL PROTECTED]              http://www.asteroid-b612.org

       "You find magic from your god, and I find magic everywhere" 
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

Reply via email to