diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 18:42:42 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-10-01 18:42:42 +0200 |
commit | 306addd1d2987bf0df182910ad741d4edb52ba55 (patch) | |
tree | 27191ef4dba7a32b6d44f64f53d7a6be8b04c4af /Makefile | |
parent | 3e4d592e8c4993847892894a436f2626480da05d (diff) | |
download | dovecot-antispam-306addd1d2987bf0df182910ad741d4edb52ba55.tar.gz dovecot-antispam-306addd1d2987bf0df182910ad741d4edb52ba55.tar.xz dovecot-antispam-306addd1d2987bf0df182910ad741d4edb52ba55.zip |
add non-working SQL logger backend
It doesn't work with sqlite for the following reasons:
(1) sqlite is buggy and needs sql_connect() before starting a transaction
although the API states that isn't the case
(2) sqlite doesn't understand ON DUPLICATE
(1) leads to a segfault when used with dict-proxy. Also see the comment
in the source code for the broken transaction handling in this backend.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,7 @@ CFLAGS += -I$(DOVECOT)/src/lib/ CFLAGS += -I$(DOVECOT)/src/lib-storage/ CFLAGS += -I$(DOVECOT)/src/lib-mail/ CFLAGS += -I$(DOVECOT)/src/lib-imap/ +CFLAGS += -I$(DOVECOT)/src/lib-dict/ CFLAGS += -I$(DOVECOT)/src/imap/ # debug rules @@ -33,6 +34,9 @@ endif ifeq ("$(BACKEND)", "dspam-exec") objs += signature.o endif +ifeq ("$(BACKEND)", "signature-log") +objs += signature.o +endif # main make rules CFLAGS += -fPIC -shared -Wall |