Ricky Chan wrote:

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.

Ah, great. I'll give it a go. Thanks.


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!).



Sure, but at some point you need to create the directory anyway. When is it time? :)


Arvinn


------------------------------------------------------- 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 courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to