Fwd: maildrop and qmail with virtual users, a howto. Also, please help with setting up sqlite3

Robert Johnson <[email protected]> Mon, 16 Jan 2017 20:39:20 -0500
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>

-------- Beginning of forwarded message --------
> Robert Johnson writes:
> 
>> Authenticated: [email protected] (uid 1000, gid 1000)
>> Home Directory: /home/user/vusers/test
>> Maildir: (none)
>> Quota: (none)
>> Encrypted Password:
>> Cleartext Password: pass
>> Options: (none)
>>
>> domain1.com exists (as a different, functional domain), as does the
>> directory /home/user/vusers/test/Maildir and its three subdirs, cur, new,
>> and tmp).
>> /etc/courier/authdaemonrc is set at defaults with the following,
>> authmodulelist="authuserdb authpwd authpgsql authldap authmysql authsqlite
>> authpipe"
>> authsqliterc also is still set at defaults.
>>
>> When I try to login via sqwebmail, I see
>> "invalid user id or password"
>> tail /var/log/maillog shows
>> sqwebmaild: LOGIN FAILED, [email protected], ip=[192.168.1.100]
>>
>> Why would authtest succeed but sqwebmail fail to login? What can I do to
>> make sqwebmail work with sqlite?
> 
> The only thing I can think of is that sqwebmail is different installation of
> courier-authlib on the same box, and sqwebmail is compiled to point to the
> wrong one.

Certainly seems likely. I have installed packages from OpenBSD6.0:
courier-authlib-0.66.4p1.tgz                                                   libltdl-2.4.2p1.tgz
courier-authlib-userdb-0.66.4p1.tgz                                            maildrop-2.8.3.tgz
courier-unicode-1.4.tgz                                                        sqwebmail-5.8.3
courier-utils-2.8.3.tgz                                                        sqwebmail-5.8.3.tar.bz2
expect-5.45p5.tgz                                                              tcl-8.5.18p1.tgz
gdbm-1.12.tgz
gmake-4.2.1.tgz

but, as suggested in the list above, I installed sqwebmail-5.8.3 from source.
Which packages would  you suggest I compile from source?
Both courier-authlib- packages? Just one? And what about the courier-unicode and courier-utils-?
And how about maildrop?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot