Alex Howansky patched Imap to support postgresql
Checkpassword: this program is used by
qmail-pop3d to check passwords against a postgresql- or mysql-database.
It can also update the 'lastlogin'-field each time a users logs in.
There's a patch for checkpassword 0.81 and 0.90. After compiling you
can check the program by running
/var/qmail/bin/qmail-popup hostname ./checkpassword pwd
It will print the homedir of that user.
Pawel Foremski is developing Helios Qmail: an advanced qmail distribution based on qmail-sql which has SMTP/ SMTPS/ POP3/ POP3S/ IMAP/ IMAPS services, antivirus and antispam filters, antispoof, SMTP-AUTH, SMTP-after-POP/IMAP, PHP5 API and many other useful tools.