Looking to make a couple changes to qpopper for myself (and will share if it works).
1) As mail comes in, I'd like to be lookup the username into a make (ldap eventually, but .db for now) to get where her spool is. So "lisa" would return either /var/spool/$COMPANY/lisa" or, for better security, just "$COMPANY/lisa" ($COMPANY would just be the company she is with). Goal: This lets me separate users by some logical groupings, cause I'm hosting a few people. Eventually, perhaps a $PREFIX based on which interface they attach to... 2) Replace the getpw*() calls with a "popper_getpwent()" which will first to a real getpw*(), then will call my own. So if the user doesn't exist in /etc/passwd but I have them in /etc/popper.passwd it WILL work. (LDAP also a goal). Goal: Let me have pop-only users that don't have "real" accounts. Machine has no PAM, so that's out, unfo (NetBSD and OpenBSD). Questions: Has anyone already done either of these? I'd rather reuse work and spend the effort tuning it than writing from scratch. chuck
