diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-14 23:23:54 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-10-14 23:23:54 +0200 |
commit | 9d79926aebf81af7ca33648f992c22374def0922 (patch) | |
tree | e975057d8398951a054ff448576ab40f7bcdb6a9 /signature-log.c | |
parent | c1b287878d7ae8d146e7054002479e53de47f6cb (diff) | |
download | dovecot-antispam-9d79926aebf81af7ca33648f992c22374def0922.tar.gz dovecot-antispam-9d79926aebf81af7ca33648f992c22374def0922.tar.xz dovecot-antispam-9d79926aebf81af7ca33648f992c22374def0922.zip |
make settings per-plugin
Diffstat (limited to 'signature-log.c')
-rw-r--r-- | signature-log.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/signature-log.c b/signature-log.c index 6d697d6..ab2e46d 100644 --- a/signature-log.c +++ b/signature-log.c @@ -131,18 +131,18 @@ int backend_handle_mail(struct mailbox_transaction_context *t, void backend_init(pool_t pool) { - char *tmp; + const char *tmp; - tmp = getenv("ANTISPAM_SIGLOG_DICT_URI"); + tmp = get_setting("SIGLOG_DICT_URI"); if (tmp) { dict_uri = tmp; - debug("antispam: signature logger dict URI set to %s\n", tmp); + debug("signature logger dict URI set to %s\n", tmp); } - tmp = getenv("ANTISPAM_SIGLOG_DICT_USER"); + tmp = get_setting("SIGLOG_DICT_USER"); if (tmp) { dict_user = tmp; - debug("antispam: signature logger dict user set to %s\n", tmp); + debug("signature logger dict user set to %s\n", tmp); } signature_init(); |