bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pop3d virtual domains


From: Alain Magloire
Subject: Re: pop3d virtual domains
Date: Thu, 30 Aug 2001 14:57:30 -0400 (EDT)

> 
> On Wed, Aug 29, 2001 at 10:47:18PM -0400, Alain Magloire wrote:
> > > 
> > > I just committed support for virtual domains in the pop3d. Take a look
> > > at it, it will probably need a bit more testing. It should be fairly
> > > easy to apply also to imap4d. Basically, it works this way:
> > > 
> > > 1) Configure with --enable-virtual-domains
> > > 2) For each domain, there is a password file in /etc/domains named for
> > >    the domain (eg. domain ndn.net has password file
> > >    /etc/domains/ndn.net) which is structered just like /etc/passwd
> > > 3) When a user logs in, it first tries other available authentication
> > >    methods, and only does virtual as a last resort. If the username
> > >    has in it a !, :, or @, the left part is the username and right
> > >    part is the domain to use.
> > 
> > Now why so many choices? the '@' has a nice visual effect: address@hidden
> > The ':' is practicle since not login name will ever have ':' in it ...
> > at least on Unix machines.
> 
> pop3://sparky!ndn.net:address@hidden/
> 
> Other servers I've seen supporting "virtual domains" allow the same
> options. I think @ is the most aesthetic, but breaks in many mail
> clients. A : is also pretty nice, but breaks our extended URL feature,
> so we allow ! as a last resort (and little tribute to UUCP ;).

Ok.

Suggestion:

should not we make it possible to detect this?
Meaning the virtual support for ftpd. for example, will 
call getsockname () and base on the IP/DNS choose the virtual domain
for the user.
Within the current code you add, it should be possible to add this,
although I do not think you'll have enough time in your schedule
to squeeze this one in too 8-)

--
alain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]