Arvinn L�kkebakken wrote:
I tried to script this in maildroprc, but it looks like it won't run at all as long as the home directory doesn't exist.

Not that I know off.

However, if you are comfortable with writing some code, you can look at authdaemon.c, find chdir(ainfo->homedir), it fails here cause homedir doesn't exist.. You can write some code to auto-create the directory structure for you in thise case.

This is the way I did it as we get a hundred's of users added all the time but a large percentage never use the system, so it wastes inodes/diskspace by pre-creating. (It does matter when you have a couple of hundreds of inodes used on our your storage which are not used!).

Ricky


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to