diff --git a/src/plugins/lda-sieve/lda-sieve-plugin.c b/src/plugins/lda-sieve/lda-sieve-plugin.c index 9e92d72d8ed4b5b644781fa334c8b18bbf4f541a..57c4593f040fe00fe198252927e79bfc6df23010 100644 --- a/src/plugins/lda-sieve/lda-sieve-plugin.c +++ b/src/plugins/lda-sieve/lda-sieve-plugin.c @@ -136,7 +136,7 @@ static const char *lda_sieve_get_personal_path(struct mail_user *user) return NULL; } - script_path = home_expand(script_path); + script_path = mail_user_home_expand(user, script_path); if (*script_path != '/' && *script_path != '\0') { /* relative path. change to absolute. */ @@ -157,7 +157,7 @@ static const char *lda_sieve_get_personal_path(struct mail_user *user) return NULL; } - script_path = home_expand(SIEVE_DEFAULT_PATH); + script_path = mail_user_home_expand(user, SIEVE_DEFAULT_PATH); } return script_path;