diff --git a/src/plugins/lda-sieve/lda-sieve-plugin.c b/src/plugins/lda-sieve/lda-sieve-plugin.c index 2e11ec30d2b0384d9f0128beaa61b96384fcfe29..a6b74c248298276f165c56e4d73034e4147153f0 100644 --- a/src/plugins/lda-sieve/lda-sieve-plugin.c +++ b/src/plugins/lda-sieve/lda-sieve-plugin.c @@ -31,6 +31,8 @@ static const char *lda_sieve_get_path(void) return NULL; } + script_path = home_expand(script_path); + if (*script_path != '/' && *script_path != '\0') { /* relative path. change to absolute. */ script_path = t_strconcat(getenv("HOME"), "/",