diff options
| author | Sam Varshavchik | 2015-06-20 09:24:07 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2015-06-20 09:24:07 -0400 | 
| commit | afccad1050d7185220b45ff5f67d2e1fd126337d (patch) | |
| tree | 719dcd17c8bdbf3811da01886bc1defcd26aa9fb /maildrop/main.C | |
| parent | 7d29d9d57b815c6d40d7c3ff2238f7ddea2b1906 (diff) | |
| download | courier-libs-afccad1050d7185220b45ff5f67d2e1fd126337d.tar.bz2 | |
maildrop: use auth_mkhomedir
Diffstat (limited to 'maildrop/main.C')
| -rw-r--r-- | maildrop/main.C | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/maildrop/main.C b/maildrop/main.C index 9818551..b22ee0a 100644 --- a/maildrop/main.C +++ b/maildrop/main.C @@ -265,6 +265,12 @@ static int callback_authlib(struct authinfo *auth,  {  	Maildrop &maildrop=*(Maildrop *)void_arg; +	if (auth_mkhomedir(auth)) +	{ +		perror(auth->homedir); +		exit(1); +	} +  	if (VerboseLevel() > 1)  	{  		Buffer b; | 
