Here is mine. To enable add ENABLE_CREATEDIR=1 in your authlib start up config, pretty self explainatory. (okay I know if not enabled it will try chdir twice and can be tidied up to avoid this).


if (chdir(ainfo->homedir)) { /* try at least once the create dir if createdir defined */ if(getenv("ENABLE_CREATEDIR")) { auth_mkdir(ainfo->homedir); }

                if(chdir(ainfo->homedir))
                {
                        fprintf(stderr, "WARN: %s: chdir(%s) failed!!\n",
                                ainfo->address, ainfo->homedir);
                        perror("WARN: error");
                        return (1);
                }
        }


------------------------------------------------------- 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