74943466e541d8bfe3916bb0eb9fb9cb0599dfe7 |
|
07-Feb-2018 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: mail_storage_lock_create() - add support for dotlocks |
9eb5adf5cc773c1e27ae30dd6aa2bc150ae81ac1 |
|
07-Feb-2018 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Change mail_user_lock_file_create() to use mail_storage_lock_create() |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
677cc0d62b41c7506246bf1b992a400a11896474 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_user.event and give parent event in mail_user_alloc*() |
ff4ba036fcdf28d4a1a7e3c1c6c0c71793547bd6 |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: mail-user: Changed mail_user_set_vars() to accept struct mail_user_connection_data, rather than individual fields. |
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. |
fd8b93ca5cbeba64fe6fa5dc98a3e580fb046791 |
|
28-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add VOLATILEDIR setting to mail_location
This is useful for creating temporary locks that could exist in tmpfs.
Currently this is used for .vsize.lock and dovecot.autoexpunge.lock. |
55cec51dba1352482e93db30d7ced6bc4fe15f3a |
|
28-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Move autoexpunge lock creation to a generic mail_user_lock_file_create() |
5231ae561283595a73e9d838bdf4eb5d1b074679 |
|
12-May-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: add a mail user pre-deinit vfunc
This allows plugins to perform checks right before the deinit call. |
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. |
d1bf4ae66b8bf3b9e28df1823d6d4adda2b923b6 |
|
22-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Use refcounting for mail_storage_service_user
doveadm import was freeing the user too early, which resulted
mail_user._service_user pointing to freed memory. More importantly,
after 34512eaad8b1b2f929e6d6e3a2f7252c29fba97b user->set was pointing
to already freed memory. |
26bdbffc35ee46779f15a537a757ed937a4d1c91 |
|
06-Feb-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: Added mail_user_init_ssl_client_settings(). |
34512eaad8b1b2f929e6d6e3a2f7252c29fba97b |
|
06-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Don't duplicate service user's settings into mail_user
The mail_storage_service_user.user_set isn't used afterwards, so it can be
directly used to avoid wasting memory. |
3c2e763ab035567b2081a805648537b27e7cbbcf |
|
06-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Don't unnecessarily duplicate user's all setting strings
user->unexpanded_set and user->set have the same life-time, so they can
point to same strings. |
fd4130e3e6aec1dc6b16edc813eabdecbbd8d859 |
|
15-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: If namespaces weren't successfully created, don't autoexpunge at deinit. |
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 |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
bcf1cf2afb9692b0db555e6ecf662a2fbd19793d |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand_func_table.func() can now return error.
None of the existing functions were changed to return errors (yet). |
0f5dc4da3982053036be65190e44bf28a67b1ca2 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand*() now returns error string.
This allows callers to fail properly if the format string is invalid. |
acfda38b75d0f0e899ef692fef01593bd56ed85e |
|
20-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Try to initialize var_expand_tab[] directly.
This avoids accidents with the array numbering being wrong. |
4b1781e4c64be52e25b5994e5242dbe696cc7d29 |
|
20-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use i_strchr_to_next() wherever useful. |
761585b5c8798d39fbb2fb6a72667719a47bef6f |
|
20-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
%{auth_domain} shouldn't include the leading '@' |
a020eb653b2620a989e4795adceb6136037327b2 |
|
10-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Added mail_user.session_create_time and .session_restored |
9f7441a47863d44ec303c7980b499b46b3d1671b |
|
29-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: mail_user_dup() should duplicate also userdb_fields. |
287b5ba23f182fd98e7a6ba3a63669c1572f2ca4 |
|
10-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Added mail_user_set_plugin_getenv_bool() |
c4478af52de63804efef2055580adf1dfc8679c6 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Changed dict_wait() to return void.
If it encounters any failures, it should just make sure to abort any pending
async requests before returning. |
527c2b071dca35b91648344e867ab1af9c988281 |
|
03-May-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
lib-storage: add mail_user_plugin_getenv_bool
New API will check boolean-like env setting OR its exsitence.
Function returns FALSE when:
* Read out a null string,
"Or" * String starts with any letter in set {'N', 'n', 'F','f','0'}
To keep downward compatibility, For other cases including an empty
string, function returns TRUE. |
fc4e528886f47bf4d2dd0276fb8705c085c3b9ae |
|
02-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Changed mail storage initialization.
Most importantly require mail_namespaces_init_finish() after
mail_storage_create(). This was needed so that
mail_namespaces_created/added hook would always have the ns->list set, which
is required for several of the hooks to work (e.g. mailbox list index) |
d23dfc385f22d7a2c466d29501c9e0ce5a243dee |
|
10-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Deduplicate %{userdb:*} handling for mail_user and mail_storage_service_user |
8cca3b43b28365cfee4dc733c00caaeab8ecd2ad |
|
20-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Enable autoexpunge only when MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE is set. |
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/' |
1ae5d61ec366fdb2f3c5b150ca378d6141b0f4bd |
|
27-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
Added mailbox { autoexpunge } setting.
This can be used to automatically expunge mails from specified mailboxes
after they're old enough. The expunges are done when the user is being
deinitialized. mailbox_list_index=yes should be enabled to have the best
performance with this setting.
Example:
namespace inbox {
mailbox Spam {
auto = create
special_use = \Junk
autoexpunge = 30d
}
} |
265cb53cf8d5cb35edd4c4ff086ca6165605b708 |
|
09-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Support %{userdb:*} variables in mail_home and mail_chroot settings. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
c981098a515c62fdfb3261e532b5d6163a0f8946 |
|
22-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If stats plugin is enabled, set fs_settings.enable_timings=TRUE. |
326c86b1cdb555957b236958e17142e82e34074e |
|
07-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_user_init() wasn't always expanding %h correctly to settings.
This mainly affected users autocreated for accessing shared mailboxes. |
691f802ef6ec2105079d420ba26b21088402c6da |
|
06-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Store pointer to mail_storage_service_user to mail_user if it exists. |
23152672e3ad7f3512c11df43e8dabba4fe6407d |
|
28-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added %{userdb:*} expansion to mail settings. |
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8 |
|
24-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
Added imap-hibernate process for gathering IDLEing imap processes.
imap_hibernate_timeout setting controls how quickly the connection is moved
from imap process to imap-hibernate process.
Some IMAP extensions like NOTIFY, SEARCH=CONTEXT and COMPRESS aren't
supported yet.
There's also a new X-STATE command, which can be used to export the current
IMAP connection state to a string and later on imported to get back to the
original state (a quick resync feature for IMAP clients). However, this
command is disabled for now due to the current code being unoptimized for
untrusted input. |
872876c29ab50b4d3b4aeaac65546f21bfaa71f4 |
|
23-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_user_var_expand_table() may not have returned %{auth_username} correctly |
4a14ae55292476bc0b8eb314d602a262ab094a52 |
|
20-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
Removed mountpoint checking and updating code.
After a few years it seems like it has just caused more problems than it has
actually fixed. The only thing it's been used for is to make sure that
Dovecot can't create empty user directories when the user's mail filesystem
isn't mounted. But that's supposed to be normally prevented already if the
mount root directory permissions are only writable by root.
For now the mountpoint listing code and doveadm mount code still exists just
in case people have some scripts using those. Those could be removed in v2.3.
If we somehow figured out which mountpoints existed (not so easy because
they could be only visible in userdb lookups for different users), we could
maybe create some kind of a script that checks the permissions at startup.
This would work with Linux at least:
mkdir test
mount / -o bind test
ls -ld test/var/mail # assuming /var/mail mountpoint
umount test |
379175cfba8150d481d9898b78330b719d128d84 |
|
05-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
stats process/plugin redesign to be more modular.
The visible functionality doesn't actually change with this patch yet, but
it allows other plugins/services to add their own fields to stats process.
For example auth process could send auth success/failures or auth cache
hits/misses. |
1701b354e81ff1dfd0b6c7bb4412b8d9c2b9f986 |
|
17-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_user_init_fs_settings()
Also changed mailbox_list_init_fs() to use it internally. |
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> |
f182955da33263be83a8d45af4aab0253f8f274f |
|
02-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added %{session} to mail_user_var_expand_table() |
33bd898e7756b289e65f43133312d9637afc1371 |
|
25-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
Avoid logging warnings about increasing memory pool/data stack with DEBUG on.
These could have a minor effect on memory usage, but shouldn't be much. |
1e40531c1de45bc87e72a9d5866ff2af79b63ceb |
|
15-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_user_dup() |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
2f90189c6ee66a17f7bf838a8eb8a69868630fb8 |
|
14-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
auth, login, mail: Added %{auth_user}, %{auth_username} and %{auth_domain}
They expand to the SASL authentication ID. So if master user login is done,
it expands to the master user. If username changes during authentication, it
expands to the original username. Otherwise %{user} and %{auth_user} are
equal. |
4f2fa2e5f5a27e1d59dd38fbbf38e420e006596d |
|
21-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't log unnecessary errors at deinit about aborted hiearchy separator lookup.
The lookup is done asynchronously at startup. It doesn't matter if we never
get around to finishing it. |
311d3dd2078c1b711a0cef013ba43a94078c115c |
|
10-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_namespaces_added hook. |
7b64db32b95286235612eebb5d37d296a49306f7 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Crashfixes for handling shared mailboxes for nonexistent users. |
b06633c63fde22b6c8837ae70b2f95fe60075b0a |
|
26-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Never auto-remove the auto-created prefix="" namespace. |
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. |
496184578081a201b6a4fb346070d2eb20e6f5de |
|
27-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mail_user.nonexistent flag, which is filled by userdb lookup. |
117a55d4260651770705ecb96f68be2dab03b99b |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mail_user.nonexistent flag, which is filled by userdb lookup. |
9fd2181788a61500641c66aec0f8c746b19bf830 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixes to handling separation of private/shared attributes. |
87ca4b209c10954826b878da165d303d9b4dc5a2 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_user_get_storage_class(), which auto-loads storage plugins.
The auto-loading is done only if there's already a stub storage registered. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
d74c9540cd64888055c4840a4544b1de4248e584 |
|
18-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Backported parts of normalizer_func_t changes from v2.2 tree. |
d9076f5939edf5d20a261494b1a861dcbb0d32e2 |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced "decomposed titlecase" conversions with more generic normalizer function.
Plugins can now change mail_user.default_normalizer. Specific searches can
also use different normalizers by changing mail_search_context.normalizer. |
306b3f41b05da642d87e7ca7a1496efce9f5902f |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
IMAP BINARY extension supports now FETCH BINARY command. |
f9142439f2b5e86065af7420e80fe52835227dc8 |
|
16-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: %h variable didn't necessarily expand correctly for shared users' settings. |
39993536eaef0a23954105e41040dcf88afd2e7e |
|
04-May-2012 |
Timo Sirainen <tss@iki.fi> |
shared mailboxes: If successful userdb lookup doesn't return home, fallback to mail_home setting for %%h. |
08a33e7c0cf5ab2c4a0c96a55056cc3251d14c5e |
|
25-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed expanding path that ends with "~/"
For example mail_location=maildir:~/ would actually try to create '~'
directory. |
cb17980a661554ebb3fd099c77e92a5be4d304ec |
|
10-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_user_try_home_expand() now looks up home only when needed.
Before a recent code cleanup the lookup was always done, but if the home
didn't exist it still just happened to return success. The cleanup changed
it to return failure, which broke the original behavior. |
013a8a91c83c6ea24bc75322b81235f19e26fa8f |
|
09-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Set mail_user.service earlier. |
d2d5871fa9e7226df694ff7a4be511167b35b305 |
|
04-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor code cleanup. |
5736aef6d0abe6796e57c2eda68f5c25db677918 |
|
04-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: When doing a userdb lookup, use the user's service instead of "lib-storage". |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
318ef3683d67683173f1b552cf5f9af4375b3017 |
|
01-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Abort index/control/alt root dir creation if mountpoint isn't mounted. |
13b063ba3ea51256fd97d7fa883f14cb08842b0d |
|
12-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Handle %{uid} and %{gid} expansion without relying on process's euid/egid. |
88b0427d90f1d3c2c5fb3171e53a505c46e2c39d |
|
12-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Previously added %{gid} variable didn't actually work. |
a2150da2dc906c26a26219cbefbe28a119aafee2 |
|
10-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added separate %{gid} expansion to mail_user.
The default %{gid} probably works also, but it's more reliable to do this
explicitly. |
e51cfb5506de764499cb5b81a098b23cf46f90f1 |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed assert-crash in user deinit with some installations. |
65889a7d8c059e2feb159aee1633b847aba84831 |
|
28-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Default mail_user.service (from NULL) to master_service.name. |
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. |
72276c90ac2a38c9db7b4458acd3a2f5b61892bb |
|
16-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_user_get_home(): Make sure user_r is always set. |
a26b7e87b4157cfa800f9bcd8c4c044462d21268 |
|
21-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If user->error is set during initialization, fail user creation. |
55a14bce15b9f44441b5f56616d73651a294d770 |
|
15-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_dir setting, used by deliver and lmtp for creating temp mail files. |
5e751dbaecf7c337abc149f328c4a13ee5c15134 |
|
09-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Increased some initial mempool sizes.
--HG--
branch : HEAD |
a8d47e2427558d5011dfc75694b704760c1ef8ba |
|
25-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Call settings_check() after duplicating settings struct. Fixes lock_method setting.
lock_method was always ignored and the default fcntl was used.
--HG--
branch : HEAD |
b16ee3cbbcd18cb86f2f73b5cc163ebfb995ffaf |
|
25-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_user.get_temp_prefix() method added.
--HG--
branch : HEAD |
abc79eec93e58e0152cd1d483f37be66c26811b9 |
|
04-May-2010 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool sizes.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
dd7cbb32412c2f4d2d223af66672535bc1237246 |
|
07-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_user_is_plugin_loaded().
--HG--
branch : HEAD |
5666a3d6a7ea89362b8d9e8b39b15424cd9d6388 |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Plugin hook API changed to support per-user plugins within a process.
--HG--
branch : HEAD |
57f5683fd9dc9bc79816c418bb30fdbc33b68a8c |
|
18-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
mail_user_*home_expand(): Use home_expand_tilde() instead of duplicating the code.
--HG--
branch : HEAD |
2fb9ae42f9e36388ec6db24188b9108434043fd0 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed APIs to fix reading settings for multiple users.
--HG--
branch : HEAD |
4da8c6cdefabd31262318c32da3c13de1d9ea953 |
|
22-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Merged single and multi mail_storage_service_*() functions.
--HG--
branch : HEAD |
7afde4b6c600f86ef6f742ea3b01640075ce16a2 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Allow mail_users_init() without giving socket path.
--HG--
branch : HEAD |
9f10cc61ec303351b43e54155c86699ef53cb8be |
|
19-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-auth: Changed auth_master_user_lookup() API.
--HG--
branch : HEAD |
fc464e5b2b2ab4d415a5d5b90ce4475d34620a75 |
|
31-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Added auth_master_pass_lookup() and changed auth_master_used_lookup() API.
User lookup can now send local/remote IPs and ports to auth process.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
8633c38d4c5e62ca8d68d64a8e07e85dc11d035a |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
Use a larger initial "mail user" pool.
--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 |
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 |
278d6d3bd32b8a497c92111f19ea81c02a2b9f9a |
|
13-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
mail_user_alloc() now duplicates also the unexpanded_set input settings.
--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 |
70ead6466f9baa8294e71fc2fba0a4f54f488b5e |
|
26-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_user_get_temp_prefix() and mail_storage_get_temp_prefix().
--HG--
branch : HEAD |
0df9428baed48afaff90b4d4f03792d2fd756a43 |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed plugins to work with config rewrite.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
94ce7e7700cda14a8342cb08e7285507b4b531da |
|
19-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
hook_mail_namespaces_created() wasn't always called with all namespaces as parameter.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
4c892b0d94c5b1d6853dbe8e0b38059ea5b08eca |
|
16-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Added some extra checks to make sure username can't be empty.
--HG--
branch : HEAD |
d2c853636ec2d99c9f96da877ff520a3b86a18ba |
|
30-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
mail_user_get_home() looked up user's home directory from userdb even if was already known.
--HG--
branch : HEAD |
a443e5aaf632257bfd1e7aa9b3c42c09512bbe43 |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Quota works now properly with shared mailboxes.
--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 |
3398d5e2b883812de5d569721c8294b581e1d9e6 |
|
20-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Don't drop useless namespaces automatically while creating a new one.
It may free namespaces that are still being used elsewhere. Rather do it
explicitly at the beginning of each mailbox sync.
--HG--
branch : HEAD |
a1de279d1c46f168e3fab6ad5b2e0cb4ddc4467c |
|
25-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
mail user: Assume an empty home directory is the same as a missing one.
--HG--
branch : HEAD |
4654f788834c9d7920a351306b89cf5d1c21772e |
|
07-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Added initial support for shared mailboxes. Listing isn't supported yet.
Each user gets their own hidden namespace created automatically when they're
accessed the first time.
--HG--
branch : HEAD |
96f2533c48ce5def0004931606a2fdf275578880 |
|
30-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Created mail_user_[try_]home_expand(). Used them for expanding mail directories.
--HG--
branch : HEAD |
d80f37f025593d959bdfa9c378915e4322f4f504 |
|
12-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Forgot to add mail-user.* files in previous struct mail_user commit.
--HG--
branch : HEAD |