I'm running the exact same setup (including versions), except for a few
things:

1.  I don't use /etc/userdb, I use the vchkpw auth module
2.  I didn't use the rpm version, I compiled it
3.  I don't use courier's POP server, I use vchkpw

I've had no authentication problems.

How come you're using Courier's POP server instead of vpopmail?  I don't
know anything about courier's pop server, so you may have a good reason.

Regarding the IMAP server, I recommend making the vchkpw auth module work
first.  I have all other modules removed my imapd.conf script.  Once that's
working, you could try getting /etc/userdb to work.  I have no experience
with it, but it seems to me that it would only really be useful in
situations with a large number of users/domains, or maybe where the are are
many authentication modules at work, with /etc/userdb as a means of
consolidating them.  Maybe someone else has another opinion on it?

Hope this helps.

Bill Shupp

on 11/17/00 11:52 AM, Chris Cioffi at [EMAIL PROTECTED] wrote:

> Hi All:
> 
> I'm in the process of setting up Qmail, vpopmail and courier-IMAP for our
> small ISP.
> 
> Qmail and vpopmail were/are working fine.  I'm having some problems with
> adding courier-imap into the mix.  First my setup:
> 
> RedHat 6.2, and all current patches from RedHat
> Qmail 1.03
> vpopmail v4.9.6
> Courier-IMAP v1.2.2
> 
> I setup Qmail+vpopmail to start with, created 3 virtual e-mail domains to
> test with and everything was working fine.  I was able to send and receive
> with all 3 domains using POP.  Great.  (BTW,vpopmail seems waaaay easier to
> setup and use than vmailmgr...)
> 
> Now it was time to add IMAP to the mix.  I want to be able to use the Qmail
> Maildir format so Courier was it.  I dl the tar ball and created the RPMs.
> I only installed the courier-imap-1.2.2-1.6.2.rpm package.
> 
> I stopped Qmail's POP server and set the IPs to listen on in the
> imapd.config and pop3d.config files and fired up the courier server using
> the SysInit V scripts.
> 
> I couldn't log in using POP or IMAP.  OK.
> 
> I stopped courier and started reading more of the docs.  Using both the
> INSTALL and vchkpw2userdb (8) files I created /etc/userdb and ran the
> vchkpw2userdb script, then ran the makeuserdb script to create the master
> db.  I don't have and don't want a "default" domain and local users on the
> machine should not get mail.  (At least for now...)
> 
> I restarted the courier daemons but I still can't login with POP or IMAP.
> So I really have 2 questions:  1)  any idea on what I might have done wrong
> and what I need to do to get this working?  2) do I need to rerun the
> vchpw2userdb script everytime I use the vpopmail utils to add domains and
> users?
> 
> [This isn't even near a production system right now... but I'm trying to
> learn enough so we can migrate off NT entirely.]
> 
> TIA...Chris
> 
> 

Reply via email to