You know this problem actually sounds familiar, vpopmail installs to
/home/vpopmail now (i think it used to be /var/vpopmail before), anyways
courier and qmailadmin expect vpopmail to be in /home/vpopmail and if
that isnt true, you have to edit some configure scripts.  Or you can
just create a symlink from /home/vpopmail to wherever it exists now. 
But other than that I cant think of what could be causing it.  Maybe
some error logs would help?

On Sat, 2003-06-28 at 21:11, OSC Hosting SysAdmin wrote:
> Thanks for the tips, Eric, however, I had a working implementation before this using
> precisely the methods you outline below.
> I can also use the new MySQL method for creating new users/domains and vpopmail
> updates the db fine, so it's not a permissions issue.
> When I use vpopmail to create or view info about users/domains from the command
> line, I have no problem whatever.
> As I mentioned, there is also no problem accessing these new users/domains (that
> exist in MySQL) using POP, but I can't authenticate using Qmailadmin or IMAP.
> 
> -Todd Brill
> 
> ====================================
> OSC Hosting Inc.
> Affordable Dedicated eMail, eCommerce, and Web servers.
> !!! 30-day CASH BACK Guarantee !!!
> !!! Unbeatable Price Guarantee !!!
> http://www.1osc.com
> 
> > When you configure courier, you need to make sure it links with vpopmail
> > authentication and not mysql.  so when you configure courier be sure to
> > pass the option --without-authmysql and also --with-authvchkpw.  I ran
> > configure on my qmail server with vpopmail/courier/mysql with the
> > following arguments:
> >
> > # ./configure  --disable-root-check --without-authdaemon
> > --without-authmysql --with-authvchkpw
> > --enable-workarounds-for-imap-client-bugs
> >
> > then once built, you need to make the following changes.
> > Edit /usr/lib/courier-imap/etc/imapd
> >    Change 'AUTHMODULES="..."' to 'AUTHMODULES="authvchkpw"'
> >    Change 'IMAPDSTART=NO' to 'IMAPDSTART=YES'
> >
> > As far as getting qmailadmin to work with mysql, there shouldnt be any
> > problems there, so if qmailadmin can't authenticate, theres something
> > wrong with your vpopmail.  When compiling vpopmail make sure you edit
> > the mysql.h file to use the correct mysql host/user/pass, and also make
> > sure you give the --enable-mysql=y when configuring vpopmail.
> >
> > If it still fails, the only other thing i can think of is that the mysql
> > user which vpopmail uses, doesnt have the required rights it needs to
> > edit the vpopmail db.
> >
> >
> >
> > On Fri, 2003-06-27 at 23:17, Michael Bowe wrote:
> >> > That's interesting, Tom.  I created a new domain called 'test1.com' and a
> >> new user
> >> > called 'test' and all the records in the database work and POP mail works
> >> fine,
> >> > however, Qmailadmin and IMAP won't authenticate.
> >> >
> >> > I double-checked the info for that domain/user on the command line and
> >> vuserinfo
> >> > reports back the correct information.
> >>
> >> Not sure if this is your problem, but it is something that trips a lot of
> >> people up... :
> >>
> >> Every time you recompile vpopmail, you then need to go and recompile any
> >> of the other apps that make use of the vpopmail authentication libraries
> >> (eg qmailadmin, courier-imap)
> >>
> >> Michael.
> >>
> >>
> >
> >
> >
> 
> 


Reply via email to