annotate src/pop3-login/Makefile.am @ 22715:20415dd0b85a

dsync: Add per-mailbox sync lock that is always used. Both importing and exporting gets the lock before they even sync the mailbox. The lock is kept until the import/export finishes. This guarantees that no matter how dsync is run, two dsyncs can't be working on the same mailbox at the same time. This lock is in addition to the optional per-user lock enabled by the -l parameter. If the -l parameter is used, the same lock timeout is used for the per-mailbox lock. Otherwise 30s timeout is used. This should help to avoid email duplication when replication is enabled for public namespaces, and maybe in some other rare situations as well.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 28 Dec 2017 14:10:23 +0200
parents 266101990d63
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
1 pkglibexecdir = $(libexecdir)/dovecot
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
2
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3 pkglibexec_PROGRAMS = pop3-login
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4
2796
fb7f862194b5 Upgrades to autoconf 2.5 and automake >1.4.
Timo Sirainen <tss@iki.fi>
parents: 2768
diff changeset
5 AM_CPPFLAGS = \
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
6 -I$(top_srcdir)/src/lib \
10111
9a71228ea41c imap-login: If imap_capability is set, use it.
Timo Sirainen <tss@iki.fi>
parents: 10091
diff changeset
7 -I$(top_srcdir)/src/lib-settings \
1702
43815588dd6b Moved client side code for auth process handling to lib-auth. Some other login process cleanups.
Timo Sirainen <tss@iki.fi>
parents: 1094
diff changeset
8 -I$(top_srcdir)/src/lib-auth \
16487
266101990d63 imap/pop3-login: Use libsasl for authenticating to remote IMAP/POP3 server.
Timo Sirainen <tss@iki.fi>
parents: 11923
diff changeset
9 -I$(top_srcdir)/src/lib-sasl \
9159
6324a79d3ee1 Initial commit for v2.0 master rewrite. Several features are still missing.
Timo Sirainen <tss@iki.fi>
parents: 9146
diff changeset
10 -I$(top_srcdir)/src/lib-master \
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
11 -I$(top_srcdir)/src/login-common
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
12
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
13 pop3_login_LDADD = \
9104
c6d306772f4e Added configure --without-shared-libs to link built binaries against static libraries.
Timo Sirainen <tss@iki.fi>
parents: 9017
diff changeset
14 $(LIBDOVECOT_LOGIN) \
11923
b45e0637a5ef Makefile: imap/pop3-login now links SSL_LIBS explicitly.
Timo Sirainen <tss@iki.fi>
parents: 10111
diff changeset
15 $(LIBDOVECOT) \
b45e0637a5ef Makefile: imap/pop3-login now links SSL_LIBS explicitly.
Timo Sirainen <tss@iki.fi>
parents: 10111
diff changeset
16 $(SSL_LIBS)
9146
1e26166a3cf8 Some binaries were missing list of library dependencies.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
17 pop3_login_DEPENDENCIES = \
1e26166a3cf8 Some binaries were missing list of library dependencies.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
18 $(LIBDOVECOT_LOGIN) \
10091
6a1c96577476 Makefiles: Separated LIBDOVECOT and LIBDOVECOT_DEPS.
Timo Sirainen <tss@iki.fi>
parents: 9159
diff changeset
19 $(LIBDOVECOT_DEPS)
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
20
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
21 pop3_login_SOURCES = \
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
22 client.c \
2768
d344be0bb70f Added IMAP and POP3 proxying support.
Timo Sirainen <tss@iki.fi>
parents: 1702
diff changeset
23 client-authenticate.c \
10111
9a71228ea41c imap-login: If imap_capability is set, use it.
Timo Sirainen <tss@iki.fi>
parents: 10091
diff changeset
24 pop3-login-settings.c \
2768
d344be0bb70f Added IMAP and POP3 proxying support.
Timo Sirainen <tss@iki.fi>
parents: 1702
diff changeset
25 pop3-proxy.c
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
26
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
27 noinst_HEADERS = \
1094
c1e099b65be0 Missing headers
Timo Sirainen <tss@iki.fi>
parents: 1049
diff changeset
28 client.h \
2768
d344be0bb70f Added IMAP and POP3 proxying support.
Timo Sirainen <tss@iki.fi>
parents: 1702
diff changeset
29 client-authenticate.h \
10111
9a71228ea41c imap-login: If imap_capability is set, use it.
Timo Sirainen <tss@iki.fi>
parents: 10091
diff changeset
30 pop3-login-settings.h \
2768
d344be0bb70f Added IMAP and POP3 proxying support.
Timo Sirainen <tss@iki.fi>
parents: 1702
diff changeset
31 pop3-proxy.h