Updated copyright notices to include the year 2018.
lib-mail: Make sure mail_user_hash() won't return 0 as the hash. It doesn't seem to actually happen, but this makes sure of it.
Updated copyright notices to include the year 2017.
lib: API change - var_expand*() now returns error string. This allows callers to fail properly if the format string is invalid.
global: Try to initialize var_expand_tab[] directly. This avoids accidents with the array numbering being wrong.
global: Use i_strchr_to_next() wherever useful.
Remove t_malloc in favour of t_malloc_no0 Using either t_malloc_no0 or t_malloc0 makes it clear whether the allocated memory is zeroed or not.
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/'
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>
Updated copyright notices to include year 2014.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
lib-mail: mail_user_hash() has now a faster code path for format=%Lu
Added director_username_hash setting to specify what part of the username is hashed. The default is "%u" meaning the full username. Another potentially useful value is "%d" for hashing only the domain (i.e. redirect users from the same domain always to same server so they can safely access each others' shared mailboxes).