e0dae5d76ea0a4aef849602750ce73dfae995bc8 |
|
12-Feb-2018 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Flip MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT to ..._ALLOW_ROOT |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
838d6a4751c3fbe17c3ec45c0e109629c4156815 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Enable MASTER_SERVICE_FLAG_SEND_STATS for mail processes |
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. |
211caf3c233d562b0c8137e5eefae3cb1ef13003 |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: mail-user: Added more information about the client connection.
Submission service will need it to pass to the backend MTA in XCLIENT and for creating the "Received:" header. |
60670187b0dd0e7f23f99a58feab11b862ad77ac |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: Moved connection information in struct mail_user into separate struct mail_user_connection_data. |
7f4bcbb9f2d97745a12d301b9ee276200ac58605 |
|
02-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap, pop3: Don't access login_set.*_socket_path after they're freed from data stack
Call master_login_init() before master_service_init_finish(), which frees
all the data stack done in initialization.
This didn't normally cause any visible problems, because data stack wasn't
currently being used in a way that the strings were invalidated. However,
it was causing failures if --enable-devel-checks was used. |
c13ec2148cc43cb36f61e781f2514705f563cf47 |
|
06-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3: Expand settings to fix rawlog_dir
Even if %variables weren't used in rawlog_dir, the path was always prefixed
with "0". |
07470e90d392d4bbb77c8f75b852d4497bb9a571 |
|
04-Jun-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
pop3: send back auth reply sooner
If possible (i.e., pop3_lock_session=no), we can send back the OK
response earlier. |
bd5cf4556e8a5ffd0b40dbbf404f25a2e840b2d2 |
|
04-Jun-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
pop3: initialize namespaces explicitly
(instead of relying on mail user initialization to instantiate them for
us) |
11b8ec1586ee7c54c42fdbdf207576b06bb47b90 |
|
04-Jun-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
pop3: client_create_from_input shouldn't process input
This makes the pop3 code resemble the imap code more. Making the subsequent
changes easier. |
6616907d9668d9df7bacbd863d439a31084b3d3c |
|
04-Jun-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
pop3: client_create_from_input should return the client struct
This makes the code more similar to imap's, making subsequent changes
easier. |
813009c4303c095ed66a6a01c110b5cfe84ea3c3 |
|
04-Jun-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
pop3: rename login_client_connected() client arg to login_client
This makes the next commit cleaner. |
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. |
646817f0cfb39b0e0eb545900f1566b76a851b20 |
|
23-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Replace MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE with explicit mail_user_autoexpunge()
This allows better control of which users are being autoexpunged. This
patch changes behavior at least in two ways now:
1) After shared folder access, the owner user isn't autoexpunged at deinit.
Although this is a bit questionable of whether it should be or not.
2) LMTP's quota check at RCPT TO stage doesn't trigger autoexpunging. |
3c6a7ca2d3ed89dd999cc6885220097777090791 |
|
16-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap, pop3, indexer-worker: Add (deinit) to process title before autoexpunging runs.
lmtp should also do this, but it needs a bit larger changes. |
b1c85a1f889a5e71f491e320bdac95df3c9fe550 |
|
30-Jan-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: Add error_r to t_abspath and its callers |
dfa2201c6ac8ddb2d2798dee15662cfe774e644e |
|
30-Jan-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: Rename abspath to path-util |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
2812f5744f44ffb070bb6f8bede8dcaa04fe6337 |
|
03-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap, pop3, imap-urlauth: Added -a <auth-master socket path> parameter |
1fba10ff6f401ee03b0bc8a70150440baf4486cf |
|
20-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap, pop3, lmtp: Enable MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
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. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
f87938eab9249ad84681f4fa747aab7b9a719670 |
|
10-May-2015 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
2df651ae18342cbe72c92d5489af5fc582b65937 |
|
25-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Show user's proper log prefix when deinitializing users at exit. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
d6b3cfd855c0eebed68be50d3111de1b5a6afeb0 |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Call master_service_init_finish() only after all of the initialization is done.
This way if the init crashes, the master process will throttle a buggy
service. |
279ac7e2783ed3b945e2ecb378d87da35dae42f9 |
|
16-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
pop3: Minor code cleanup |
348d897426ff46ae23aaa432aff0087ce4d034d5 |
|
16-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
pop3: Use RFC 3206 [SYS/*] and [AUTH] response codes. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
3281669db44d09a087a203201248abbc81b3cc1a |
|
06-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed buffer_create_*data() to buffer_create_from_*data() for consistency.
Especially i_stream_create_from_data() was a very similar function, which
made it difficult to remember which one should have "from" and which one
shouldn't. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
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. |
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. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
53dff078a5f49e9d28d6c81d3437755e27526e3e |
|
20-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Added -t parameter to specify post-login script timeout. |
01758d8aaa05940397c8210af52d7f45a5b676ae |
|
16-May-2011 |
Timo Sirainen <tss@iki.fi> |
pop3: If mail storage couldn't be initialized, send -ERR to client before disconnecting. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
d47aaddba741b9194dd82bf9b76a6f9ea182fea8 |
|
19-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Fixed giving any -parameters. |
d482079eb385cd071bbc9637cacee225e4aff968 |
|
15-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
"Running standalone?" check now uses a new DOVECOT_CHILD_PROCESS environment rather than GENERATION.
The GENERATION environment was already set in some systems for Java. |
0e6bd4b9af5bf002325c3fcea7813b6b1ab2a0bd |
|
02-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Use absolute path to auth-master socket. |
6469403946bdf147886daba5ee8de07516c32238 |
|
30-Jun-2010 |
Pascal Volk <user@localhost.localdomain.org> |
imap, pop3: Added an assert to client_connected().
--HG--
branch : HEAD |
db693bf6fcae96d834567f1782257517b7207655 |
|
27-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master API changed to avoid accidentally leaking client connections.
This change also fixes many such leaks.
--HG--
branch : HEAD |
747c5d36868aa738b64ceedc87cda169aa1dbe96 |
|
29-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix.
--HG--
branch : HEAD |
3b22894b8805b186c73d8b754001e8d7e944be85 |
|
31-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Added support for userdb lookup to fail with a reason (many API changes).
--HG--
branch : HEAD |
a1f9314bdd7da1a8f5596b49ec6b7b5c5daa4079 |
|
27-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
pop3: Don't crash if INBOX can't be opened.
--HG--
branch : HEAD |
124e615e2949883473e30950a15a563feef26406 |
|
25-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Added -u <username> parameter to do userdb lookup.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
af15bd5da7fcb8244554dcb56b9ffd61c613349e |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Don't crash if post-login socket path wasn't given.
--HG--
branch : HEAD |
1d3b9fce06b466bcf64f9ab7b622f3a6e4e939ba |
|
12-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Added back ability to run post-login scripts.
--HG--
branch : HEAD |
6667f4006484bcaf9ab8fd03b97a7a3ae84ce0d5 |
|
11-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: If client creation fails, update lib-master connection count.
--HG--
branch : HEAD |
b71f152acb8a197d20b709ca74366e6d765bd200 |
|
11-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Check for missing username in lib-master code.
--HG--
branch : HEAD |
3ba9a079592f46e94ce846e5aa80e4d479cd5e41 |
|
27-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Connection counting fixes.
Multiple real connections can come from "login connections". For now don't
even try to count login connections.
--HG--
branch : HEAD |
8846e6eed6177a39b662f4f1ebf9b84ad1f0b7ec |
|
27-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
pop3: Added support for verbose_proctitle=yes
--HG--
branch : HEAD |
86791365b10f45982c88e70f2eb94fd6c3fea151 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Handle shutdown_clients globally for all services.
Delay shutting down processes until it's convenient for them, but if they're
not gone in 30 seconds forcibly stop. And if that doesn't help, master will
start killing them in 60 seconds.
--HG--
branch : HEAD |
573731df7d9b2ebb9028311a6c33b338dd2dd34d |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap/pop3: Cleaned up initialization code.
--HG--
branch : HEAD |
ff68bb15ea27c179bbb98f4d40d669df11f05f81 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap/pop3 now supports multiple connections/process, removed the restriction.
--HG--
branch : HEAD |
4da8c6cdefabd31262318c32da3c13de1d9ea953 |
|
22-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Merged single and multi mail_storage_service_*() functions.
--HG--
branch : HEAD |
a3fe8c0c54d87822f4b4f8f0d10caac611861b2b |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved process title init to lib-master. With Linux-hack enabled it now preserves command args.
--HG--
branch : HEAD |
578ef2538ccf42e2a48234c24a8b709397101d88 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved most of getopt() handling to lib-master.
--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 |
15a772a036234a9065ed0717983ea47384b08f3b |
|
06-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Process permissions weren't properly dropped.
--HG--
branch : HEAD |
b9f801d33dcb13ac65987e32d442da15b405886a |
|
06-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Root mail access wasn't properly disallowed.
--HG--
branch : HEAD |
7cc26a6fd2308906d03baaca8885f39a9d777a43 |
|
04-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: shutdown_clients setting wasn't working.
--HG--
branch : HEAD |
a9ba65037107e370c126d2b7e8c6e3f2a4aafd23 |
|
26-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
imap/pop3: Compiling fix.
--HG--
branch : HEAD |
cef2be5fb553b05f421f86c1ef497f0dc29d069e |
|
25-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
If imap/pop3 service is tried to be started without being auth_dest_service, log better error.
If login_executable=imap/pop3, give better error message.
--HG--
branch : HEAD |
b935d08e155589103e674b6f3a865a89e44b9423 |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
imap, pop3: Fixed assert-crash on exit.
--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 |
4d4d6d4745682790c20d759ba93dbea46b812c5d |
|
22-May-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master has now a global master_service variable that all binaries use.
There should always be only one of them anyway.
--HG--
branch : HEAD |
1358e2c58ce29231485a5cfa454756d429ad3d2c |
|
12-May-2009 |
Timo Sirainen <tss@iki.fi> |
config handling fixes and improvements. Separated module/service lookups. Added support for per-lip/rip settings.
--HG--
branch : HEAD |
1b951cef684757acf8fc4a49e53e3f1af7e6752a |
|
05-May-2009 |
Timo Sirainen <tss@iki.fi> |
pop3: Don't verify fd leaks here.
--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 |
37fb6d7f94e846c2df3c388f017ffe1dcbd7b9da |
|
30-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Moved pop3_uidl_format checking to mail-storage-settings.
--HG--
branch : HEAD |
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 |
|
24-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for v2.0 master rewrite. Several features are still missing.
--HG--
branch : HEAD |
d1fff80640050631b06bfab904a34b2ad24601e8 |
|
21-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Pass remote/local IPs to mail_users. Standalone mail programs now log with mail_log_prefix.
--HG--
branch : HEAD |
812883e7758a86f615b9508ef10df1339123da83 |
|
15-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
mail_storage_service_init*() can now take multiple set_roots.
--HG--
branch : HEAD |
1b04762685272a53643ac2179939537a44c7c044 |
|
12-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
imap and pop3 now use mail-storage-service API.
--HG--
branch : HEAD |
8d3278a82b964217d95c340ec6f82037cdc59d19 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Currently only the standalone applications (e.g. deliver) uses this.
--HG--
branch : HEAD |
a85d9c3e0b7cb1744a5c8f71501b3039d678c47a |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Cleaned up restrict_access*() API.
--HG--
branch : HEAD |
b70234f335410d6a8913f145d1cc9befa6f00b42 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
When a process is killed, show the signal code and the sending process's pid and uid.
--HG--
branch : HEAD |
1c7fa51b35231f375998f66d5756f214519218f8 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
lib-signals: Changed callback API to return siginfo_t.
--HG--
branch : HEAD |
a55742ae2e6b3fd53c8e2b5b63565d081ecfb1fc |
|
03-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Improved logging for core dumping. With Linux use PR_SET_DUMPABLE for imap/pop3.
--HG--
branch : HEAD |
528862222dfae36874e51753a6782e3f7acc9ec5 |
|
03-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Improved logging for core dumping. With Linux use PR_SET_DUMPABLE for imap/pop3.
--HG--
branch : HEAD |
a9d103504e67fe02abfc726fa68ebe384284a90e |
|
27-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
pop3: When mail_debug=yes, log also home directory.
--HG--
branch : HEAD |
2421fd34d51fed6da985c62b5e078d7e96640653 |
|
10-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
pop3/imap: When master closes our log fd, don't die when trying to log disconnect reason.
--HG--
branch : HEAD |
ad0f1d2f2e7f1d42b2de403b04a0ffe1675109cc |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Plugin setting backwards compatibility support and other fixes.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
67c47dbb3fde79218320fd38a45c33f61bbf3012 |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
mail_user_*() now handles home directory lookups when necessary.
Namespace owner is now a pointer to struct mail_user rather than a string.
--HG--
branch : HEAD |
e3fabe8d0faa9aab7cae2d0eee9653f581a3061d |
|
19-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Added a simple flat file dict backend.
--HG--
branch : HEAD |
092018b35bb1dc5bd61848a38189fe6ac8f791dd |
|
12-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Removed pool parameter from mail_namespaces_init*(). Use mail_user's pool intead.
--HG--
branch : HEAD |
d23c747de9d33966483fbdd41f08ad7766da7c5c |
|
12-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Added struct mail_user and fixed the code to support multiple users per process.
--HG--
branch : HEAD |
ab0d9eecd85f74acae18fe88529302e0776cc500 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
extern/static fixes (from a sparse check by Diego Liziero)
--HG--
branch : HEAD |
d988c6c1055a553dfa90bee8acc3df910027bb0a |
|
12-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
imap/pop3: Don't open /dev/urandom at startup. Nothing needs it.
--HG--
branch : HEAD |
7753eaa6a4275e074b4ce8428b85d9d04fc67f31 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Send login command OK reply in IMAP/POP3 process.
--HG--
branch : HEAD |
cd94aeaa294f7cc507206b4b2075852f00e14d61 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
If commands are pipelined after the login command, pass them to the
IMAP/POP3 process so it can process the command instead of discarding it.
--HG--
branch : HEAD |
e959e240bb8975cba293a94dbc61712b232904f6 |
|
05-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Reverted "environment array" changes. It broke overriding imap/pop3 settings
from userdb and the performance improvements weren't all that great anyway.
--HG--
branch : HEAD |
cffa5888a8bd922e0a84f3b3ffe0ab7392e6dc3f |
|
02-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Build environment using envarr and pass it to execve(). This is faster than
using putenv() directly. restrict_access_*_env() API changed to take
environment array parameter.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
da1444b45ce6ffaa0e6c423cf1a6a648e6223147 |
|
09-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
If namespace initialization fails, die with a fatal error message instead of
just exiting.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
042a07daa4a5614159532a2a3878e76e3f176965 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed strocpy() to i_strocpy().
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
182a8b5b6e495bb590c38303e88b556a90468891 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Set pop3_uidl_format default to %08Xu%08Xv
--HG--
branch : HEAD |
d21740edc2d9b82023389e27ff8a6b3e45f7c62b |
|
22-May-2007 |
Timo Sirainen <tss@iki.fi> |
Changed pop3_uidl_format error message once again.
--HG--
branch : HEAD |
e8490a52a1bc71bc53034e68f464435684ad810f |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Moved namespace handling to lib-storage. Beginnings of namespace support for
non-IMAP parts of Dovecot.
--HG--
branch : HEAD |
0a3b01714dadf97dcc7439ad4eeba690ab044966 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed mail_storage_create_with_data(). mail_storage_create() with
driver=NULL behaves the same way. Removed parameters from
mail_storage.create(), they're now put into the storage structure before
calling create().
--HG--
branch : HEAD |
d4e141553b783ed96d0709ff52a6a41c0384206e |
|
17-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
We defaulted plugin_dir to <moduledir>/imap instead of /pop3.
--HG--
branch : HEAD |
174a54c74848b8668acd72ddf36d9b4745e1ad5e |
|
15-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling log prefixes. imap/pop3 processes now log the
mail_log_prefix even when started with --exec-mail.
--HG--
branch : HEAD |
b439928e47cb120eacee4ff1eb53156ae31d30dc |
|
08-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed pool parameter from io_loop_create()
--HG--
branch : HEAD |
41590df9f518459d66a9f7b9be2126f2e31fb221 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Don't compare to PACKAGE_VERSION in lib/ core directly, rather make
module_dir_load() have the version string as parameter. Plugin version
checks can be skipped with version_ignore=yes.
--HG--
branch : HEAD |
4449ad85fcbd4f6fedbaa9a5bdfe58a9ae60f8ae |
|
16-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
module_dir_load() doesn't call init() functions anymore. Added a new
module_dir_init() which does it. This way imap/pop3 can load the modules
before chrooting and initialize them after.
--HG--
branch : HEAD |
937bf470e2ba090f282ae25b8ca442c483be681a |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
"Set pop3_uidl_format in config file" may be easier to understand..
--HG--
branch : HEAD |
59151b71059df1190acd75d8717ed04a7920c862 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added context parameter type safety checks for most callback APIs.
--HG--
branch : HEAD |
84c8de119f2a07785796c0ff6aca20486ea576c5 |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Only imap binary was actually working.
--HG--
branch : HEAD |
d9fdacd5fb3e07997e5c389739d2054f0c8441d8 |
|
06-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Lock handling changes. Everything goes through file-lock API now and there's
only a single enum listing the different lock methods. This change exposed
some unneeded (or possibly even wrong?) unlock calls in index file handling
which were fixed.
--HG--
branch : HEAD |
5fb3bff645380804c9db2510940c41db6b8fdb01 |
|
25-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
--HG--
branch : HEAD |
05b422b01541f742c4d145c1aa48f4b03256f1ae |
|
10-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Require that master's version number matches the child's, unless
version_ignore=yes. Usually it's an accidental installation problem if the
version numbers don't match.
--HG--
branch : HEAD |
419cf63077e755935ce105747d6ebc67b7d38a7f |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Berkeley DB dict support is now enabled only when using --with-db configure option.
--HG--
branch : HEAD |
c86392a82185a4854ae1e69a857daa7f2f201e90 |
|
27-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Changed the mail_plugins/mail_plugin_dir settings to be passed as the same
environments. If MAIL_PLUGIN_DIR environment isn't given, use the built-in
default.
--HG--
branch : HEAD |
eb49a3378f746e95366be78448995253ff4f1412 |
|
04-May-2006 |
Timo Sirainen <tss@iki.fi> |
Use lib_signals_ignore() for signals we really want ignored.
--HG--
branch : HEAD |
9dd0fae306efb630d9b0dc1e4517cccbc8447164 |
|
02-May-2006 |
Timo Sirainen <tss@iki.fi> |
Built-in pop3_logout_format default wasn't updated.
--HG--
branch : HEAD |
2be6f5fae2e5081e601be05c41acb059a6c60e98 |
|
27-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
hook_mail_storage_created: Make it compatible with imap and lda by not
taking a pointer to pointer to storage.
--HG--
branch : HEAD |
bba9bf9760690778fcd46b8ce3a1390f60f7d816 |
|
13-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Destroy client connection at deinit before unloading modules.
--HG--
branch : HEAD |
b725e5503d72a29a3eb18f93c1cbe597c4c31dcd |
|
12-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Added shutdown_clients setting to control if existing imap/pop3 processes
should be killed when master is.
--HG--
branch : HEAD |
f99fab9747beba303a64e7db9026e3185425833d |
|
09-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Added pop3_lock_session setting.
--HG--
branch : HEAD |
f9ef36afc131626754716d6f4874a2ad04da0ac4 |
|
09-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
When master dies (by closing log file descriptor), kill ourself also.
--HG--
branch : HEAD |
457cafc9e72edb81eacfe88b35f14a75a96cf00a |
|
26-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced mail_use_modules and mail_modules settings with mail_plugins and
mail_plugin_dir. Now instead of loading all plugins from the directory,
you'll have to give a list of plugins to load. If the plugin couldn't be
loaded, the process exits instead of just ignoring the problem (this is
important with ACL plugin).
--HG--
branch : HEAD |
6303fb1055fd85c3e3ca9320bc5754186dbd3a5a |
|
02-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Moved mailbox flag and lock method parsing to lib-storage.
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
c000aa8509e03b4f7b0574f910d38a7e5e7e002a |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Register proxy dictionary support and link libdict. Currently it's used only
by quota plugin, but later it'll be useful for more things..
--HG--
branch : HEAD |
8b63896feaef40e8c85fa00acdcc123b508e8d42 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Clarify that workaround lists are space separated. But allow commas as
well..
--HG--
branch : HEAD |
afccb70aad7b6609144971e9db9ece96a5ed8dc9 |
|
06-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Don't allow pop3_uidl_format without at least one valid %var in it.
--HG--
branch : HEAD |
38a72d61d3a114816771f3045f374d56e2194232 |
|
02-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added syslog_facility setting to config file.
--HG--
branch : HEAD |
8aed62c664b031c5bb5965e62ba8530dba37fb80 |
|
20-Nov-2005 |
Timo Sirainen <tss@iki.fi> |
Changed "pop3_uidl_format not set" error message.
--HG--
branch : HEAD |
130191cd9b8dfaf988fd28f9a7d52c1bddc24045 |
|
28-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Ignore SIGALRM signal. We don't want to crash when it happens.
--HG--
branch : HEAD |
9287a73641f0c4d56eb07c2000fc5293cfc8b4f4 |
|
16-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Complain about missing pop3_uidl_format also if it's empty
--HG--
branch : HEAD |
3850134d919d823bd6e6f09f04ff8a5b90c034ff |
|
16-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
pop3_uidl_format is now required to be explicitly set. There is no default
anymore.
--HG--
branch : HEAD |
9cde9d9d676667b2b4673020dc6495cb2e4c7e14 |
|
03-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
And lock_method fixes..
--HG--
branch : HEAD |
59fdd6f58b18cfbad531727c1d6f118c1ba2284f |
|
03-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Default lock_method to flock instead of fcntl. This is at least useful for
not allowing Dovecot's indexes to be used accidentally with wrong settings
in NFS mounted partitions.
--HG--
branch : HEAD |
321221ddc2dedc4ad79839770765adc40d311a0d |
|
25-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Implemented new signal handling framework, which makes handling signals much
easier.
--HG--
branch : HEAD |
63d6d0218e5945ad3a7d3fa02e6dc1be2982e257 |
|
11-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Added pop3_reuse_xuidl setting. Patch by Chris Wakelin
--HG--
branch : HEAD |
9439bed2f07d6475febd8a247cd2f0990fb32a13 |
|
14-May-2005 |
Timo Sirainen <tss@iki.fi> |
Added configurable logging for login process. Added configurable pop3 logout
string. Based on a patch by Andrey Panin.
--HG--
branch : HEAD |
c066a8aca1390e9db17214f0119db17eb6fdbe5a |
|
11-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
We weren't calling mail_storage_init() at startup so we crashed.
--HG--
branch : HEAD |
bf661a542d17273066e720b4f75868a1ff975a4c |
|
03-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Moved several getenv()s from lib-storage to main code. deliver binary was
missing several getenvs..
--HG--
branch : HEAD |
5ffb4d27772d2ad19d5e1e8136bbac4b7cdc0706 |
|
29-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Print effective uid/gid when mail_debug is enabled.
--HG--
branch : HEAD |
8d630c15a8ed6f85553467c3a231a273defca5f6 |
|
29-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added mail_debug setting. Moved full_filesystem_access from global variable
to flag in mail_create*() functions.
--HG--
branch : HEAD |
366d6311c9d5bac6613e3cd64619eb878adce9ec |
|
19-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added %f pop3_uidl_format for maildir. Patch by Andrey Panin.
--HG--
branch : HEAD |
00f5efa3156ab6a0b4f21e8c703d0eb816cf3091 |
|
15-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added pop3_uidl_format setting.
--HG--
branch : HEAD |
43a2293a8bddfbeed84b29193c599071c44d17c7 |
|
07-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added oe-ns-eoh workaround.
--HG--
branch : HEAD |
4dbe08e1f7f1271299ada9338ff5015367efd0b7 |
|
09-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Make sure imap or pop3 processes cannot be started from inetd.
--HG--
branch : HEAD |
9beca5d6e1f018a7851a57117c036540d823957f |
|
10-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Renamed pop3_mails_keep_recent to pop3_no_flag_updates which includes
not updating seen-flag.
--HG--
branch : HEAD |
a1fa538bac7e5f18d507446e84be49a163c6697d |
|
12-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Added pop3_enable_last setting to enable deprecated LAST command.
--HG--
branch : HEAD |
84f80d9231b6ddc80ebfae425fd3674620fdf746 |
|
22-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Moved namespace and hierarchy separator handling to imap-specific code. LIST
now shows non-hidden namespaces in the LIST reply.
--HG--
branch : HEAD |
fa45f3f1ad423381ba07056e415ffc4d6449f089 |
|
10-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Split client_workarounds to imap_ and pop3_ ones. Added outlook-no-nuls POP3
workaround.
--HG--
branch : HEAD |
b565c76999227da8db3670ec2f4b0c39690d8c40 |
|
23-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
DEBUG: If GDB environment is set, don't do fd leak checks.
--HG--
branch : HEAD |
c0a05ba822189ff4f2c86645c38a5a904943192a |
|
30-May-2004 |
Timo Sirainen <tss@iki.fi> |
Added support for password scheme plugins. auth module dir defaults under
module_dir now.
--HG--
branch : HEAD |
316dad8277db6575354eba30d3fc7a1c0447c513 |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
Write all logging through master process. Fixes problems with log rotation,
chrooting, etc. Master process also allows max. 10 log messages per second
per child process, it then begins throttling them (eventually making the
child process start blocking on stderr).
--HG--
branch : HEAD |
b728c54e411fd1964195497572ab7066138206cb |
|
27-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Mail storages support now configurable namespace prefix and hierarchy
separator. Subscription file handling needs some more thought.
--HG--
branch : HEAD |
8f1d14e3ada93a6d6ee64f73c6e6ae2364d8eba1 |
|
26-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Added pop3 hooks
--HG--
branch : HEAD |
aa78a2506ee69a6bd58cc706210ee79b62ec0954 |
|
14-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Added missing randgen initialization.
--HG--
branch : HEAD |
9e708a17f984ef7690ff2468ec19ad62c95b1ac2 |
|
14-May-2003 |
Timo Sirainen <tss@iki.fi> |
Added support for dynamically loadable imap/pop3 modules.
--HG--
branch : HEAD |
966e9213f116ae8423634433106b02c833d9376b |
|
16-Apr-2003 |
Timo Sirainen <tss@iki.fi> |
cleanup
--HG--
branch : HEAD |
67b785ce2485243c490f0a8b0753ac4a5d347265 |
|
16-Apr-2003 |
Timo Sirainen <tss@iki.fi> |
Crashfix if there was some errors while opening mailbox
--HG--
branch : HEAD |
18d788657cff0fc3905b6a484d33c8c9fc2b9eba |
|
11-Apr-2003 |
Timo Sirainen <tss@iki.fi> |
minor memory leak/cleanup fixes
--HG--
branch : HEAD |
4f2a24a029bf3e088cc2f804e051a1430bdb4db3 |
|
03-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
We don't need to raise SIGHUP in alarm handler, that was just a mistake in
first tests. That also means gdb won't break at SIGALRM and I can remove the
DISABLE_ALARMHUP kludge.
--HG--
branch : HEAD |
548f87789cf9865572b7b86f7be5a9bbfa132f3f |
|
27-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Initial code for POP3 server. RETR isn't working right yet, there's some
syncing problems to figure out (pop3 wants to keep the mailbox locked) and
the whole pop3-login process is still missing.
--HG--
branch : HEAD |