> The easiest way of doing this is to use maildir spool format and use
> the qmail popper. This takes a separate (very small) authentication
> program which also sets the directory of the pop maildir. The auth
> program could easily be written in perl or similar to allow prototyping
> or very wierd processing....
>
> If you need IMAP as well then life would probably be a little more
> interesting, but doable as long as the layout was saneish. One
> definitely possibility would be to have a checkpasswd program for the
> qmail pop program which took a username like <mailbox>:<username> and
> then authed against username and changed to mailbox.
There is courier imap, which AFAIK uses a very flexible scheme for
authentication, and understands maildir. Actually, maildir++, but I
posted patches for Exim 3.16 that allow maildir++ quota calculation.
URL:
http://www.inter7.com/courierimap/
Michael