authmkhome is an authentication module for courier able to create home directories when the users first log in with the pop3 or imap protocol.
It relies on a script created by the system administrator and is thus suitable for most configurations.
In the past few months, authmkhome has been available as a patch for courier. Since it is much more easier to compile an authentication module than the whole courier and since a module is something you can easily plug in an already working system without troubles, the patch is no longer maintained and will be removed on January 13th 2003 from my site.
This module was developed in less than one evening moving stuff from the old patch. Although it is a very simple bounce of ansi C lines, bugs may exist.
However, authmkhome has been used in production environments with mysql without problems, while it has never been tested with ldap or any other authentication method (any feedback is welcome). Well, from the module perspective it doesn't make any difference what method you used to authenticate the user... there shouldn't be any problem anyway.
The latest version of this document and of authmkhome is available at http://www.commedia.it/ccontavalli/.
The module was meant to be used with courier pop3d or imapd and I have no clue on using it with courier-mta (is this possible at all? does this make any sense?). I personally use postfix with the virtual-agent and I'm quite happy with that, although I'd like to move to postfix+maildrop.
If you have troubles/suggestions/corrections feel free to mail me at <ccontavalli at commedia.it>.