Hi Ken,

thank you very much for your programs and your effort to help people event
with these problems. You are the best.

kind

regards

Juergen Hoffmann

On Mon, Oct 09, 2000 at 11:18:29PM -0500, Ken Jones wrote:
> Ken Jones wrote:
> > 
> > Juergen Hoffmann wrote:
> > >
> > > Hi all,
> > >
> > > I have to correct certain issues from my previous mail. Even if the user has
> > > not been authenticated before he is still able to use webmail regardless of
> > > vmodusers flags. Is this a bug? can someone confirm?
> > >
> > > Here is the call:
> > >
> > > vmoduser -w -r -p [EMAIL PROTECTED]
> > 
> > I found the solution. in the authlib/preauthvchkpw.c file
> > 
> > int auth_vchkpw_pre(const char *userid, const char *service,
> >         int (*callback)(struct authinfo *, void *),
> >                         void *arg)
> > 
> > service = webmail for sqwebmail
> > server  = imap for courier-imap
> > 
> > So I can add a check for service type and check the vpopmail
> > bit flags.
> > 
> > I'll update MrSam with a new preauthvchkpw.c this week
> > 
> > Ken Jones
> 
> I've put a copy of a new preauthvchkpw.c file at
> http://www.inter7.com/vpopmail/preauthvchkpw.c
> 
> I tested it with sqwebmail and it allows vmoduser -w user@domain
> to turn off webmail access. I haven't tested it with courier-imap
> but that should work as well.
> 
> Ken

-- 


Mit freundlichen Gr��en

J�rgen Hoffmann
Produktentwicklung

ByteAction GmbH
Altheimerstr. 47
64839 M?nster
HRB3271

mobil:       +49 (0) 171 415 73 66
phone:       0700 byteaction / 0700 29832284
fax:         +49 (0)6071 62340
Email:       [EMAIL PROTECTED]
Internet:    www.byteaction.de
--------------------------------------------------------------------------
This communication is intended only for the party to whom
it is addressed, and may contain information which is
privileged or confidential. Any other delivery, distribution,
copying or disclosure is strictly prohibited and is not a waiver
of privilege or confidentiality. If you have received this
telecommunication in error, please notify the sender
immediately by return electronic mail and destroy the message.
--------------------------------------------------------------------------

Reply via email to