64c7bca60b07c3652f3071913f56c6029d6deae4 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap, pop3: Remove unnecessary call to mail_storage_service_io_deactivate()
The context is automatically deactivated when service user is freed. |
0f0bf444b82bbc8c9c269a1580f37274121ce5f2 |
|
04-Jun-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
pop3: move pop3 session locking out of client_create
As a result, we can directly return the client structure (instead of
passing it back via a _r arg).
This makes the pop3 client_create look more like the imap version. |
7c6347e851175dd64ec490999b8a1fa020927ed1 |
|
16-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3: Add client.destroyed boolean |
e7d0bea63a08b08c47c4b5c187d2cb7127859657 |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Make sure *_malloc() calculations won't cause integer overflows. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
def59847005dd515d35fe67df57abe016095d5a1 |
|
18-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
pop3: Send "OK Logged in" before reading mailbox.
This way if the reading takes a long time, the client still sees that the
login itself was successful. This is especially useful to avoid unnecessary
errors logged by proxies. |
d54067d8e67de5aa2bcfc35619514541342d0690 |
|
02-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
pop3: Fixed buffer overflow with handling pop3_deleted_flag setting.
This has been broken since v2.2.10, although the setting wasn't working
completely correctly before that version either. Afterwards it should have
become obvious quickly enough that the setting is broken, because it started
crashing POP3 sessions in normal use quite soon. So I doubt there are any
installations that are accidentally exploitable. |
febb892a3182cc4df14e1a6c91dd2acb75a17c77 |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
pop3: If transcation commit failed at QUIT, don't log any messages as expunged. |
2df651ae18342cbe72c92d5489af5fc582b65937 |
|
25-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Show user's proper log prefix when deinitializing users at exit. |
f64b66ffacc4e42002d87b940ef74f08b1e5b12f |
|
14-May-2013 |
Timo Sirainen <tss@iki.fi> |
pop3: Added pop3_deleted_flag setting. |
afb5de6acdd79680feef7981c4bedbde4d714255 |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
pop3: Fixed infinite looping |
99fca7344684b93f14048745827b0b125aa52ab9 |
|
16-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
pop3_lock_session: Use a separate dovecot-pop3-session.lock file instead of mailbox lock.
This changes the behavior in a way that it's now possible for IMAP sessions
to expunge mails during a POP3 session. But now it's no longer possible for
POP3 sessions to hang new mail deliveries. |
279ac7e2783ed3b945e2ecb378d87da35dae42f9 |
|
16-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
pop3: Minor code cleanup |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
e34d170f8f0e084bd94bfbc1a7085ece67e508df |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make sure we check all the functions' return values. Minor API changes to simplify this.
Checked using a patched clang that adds attribute(warn_unused_result) to all
functions. This commit fixes several error handling mistakes. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
bc21bdf8b72e23aaca0e3028141246e34ca27536 |
|
14-May-2012 |
Timo Sirainen <tss@iki.fi> |
pop3: Added pop3_uidl_duplicates setting. |
b55f914c0ade77252cfd798ea8eb9a84bda56315 |
|
07-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Added a "session ID" string for imap/pop3 connections, available in %{session} variable.
The session ID passes through Dovecot IMAP/POP3 proxying to backend server.
The same session ID is can be reused after a long time (currently a bit
under 9 years). |
6f2e601fa36133320aa88258106be46a175a0e53 |
|
27-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
pop3: Added module contexts to struct client, and made client_destroy() a virtual method. |
1045d05d1d96242921662a421faad62579de0ffd |
|
04-May-2011 |
Timo Sirainen <tss@iki.fi> |
pop3: Added support for showing messages in "pop3 order". |
766f20faba4142677670ab46c922583e43db7d9a |
|
04-May-2011 |
Timo Sirainen <tss@iki.fi> |
pop3: Small code cleanup. |
698545b00566380790ee7a4ea63e32954767a79d |
|
14-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
pop3: Added %u=old/new UIDL hash to pop3_logout_format.
It expands to "<old msg count>/<old hash> -> <new msg count>/<new hash>" or
if they're the same, simply "<msg count>/<hash>".
The idea is that if previous session's <new hash> doesn't match next one's
<old hash> and prev.new_msg_count = next.old_msg_count, it could indicate
that the UIDLs changed for some reason. But if they do match and client
still redownloaded messages, it's most likely a client side problem.
--HG--
branch : HEAD |
8846e6eed6177a39b662f4f1ebf9b84ad1f0b7ec |
|
27-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
pop3: Added support for verbose_proctitle=yes
--HG--
branch : HEAD |
4da8c6cdefabd31262318c32da3c13de1d9ea953 |
|
22-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Merged single and multi mail_storage_service_*() functions.
--HG--
branch : HEAD |
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Redesigned how login process passes connections to mail processes and changed related APIs.
Master process is no longer in the middle.
--HG--
branch : HEAD |
a8284e999d091cd29210fa75ecdc8076376a7345 |
|
16-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Moved imap/pop3_client_workarounds setting parsing to config checking.
--HG--
branch : HEAD |
f13c9ae4f96d4d13b3996ec716a959cf3380896c |
|
23-May-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3 no longer assume that there's only a single client in process.
--HG--
branch : HEAD |
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8 |
|
06-May-2009 |
Timo Sirainen <tss@iki.fi> |
Implemented anvil service, which is used to implement mail_max_userip_connections.
--HG--
branch : HEAD |
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8 |
|
05-May-2009 |
Mark Washenberger <none@none> |
Renamed headers to prevent collision if they were flattened on an install.
--HG--
branch : HEAD |