Mercurial > dovecot > original-hg > dovecot-1.2
diff src/deliver/deliver.c @ 4652:3da6580bb0ed HEAD
Don't require home directory to be given. If debug is enabled, log what we
get from dovecot-auth.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Oct 2006 15:44:22 +0300 |
parents | 5f467dc79a19 |
children | 190a66df2f82 |
line wrap: on
line diff
--- a/src/deliver/deliver.c Thu Oct 12 12:13:36 2006 +0300 +++ b/src/deliver/deliver.c Fri Oct 13 15:44:22 2006 +0300 @@ -264,7 +264,8 @@ tab[2].value = strchr(user, '@'); if (tab[2].value != NULL) tab[2].value++; tab[3].value = "DELIVER"; - tab[4].value = home; + tab[4].value = home != NULL ? home : + "/HOME_DIRECTORY_USED_BUT_NOT_GIVEN_BY_USERDB"; tab[5].value = NULL; tab[6].value = NULL; tab[7].value = my_pid;