History log of /dovecot/src/lib-mail/mail-user-hash.h
Revision Date Author Comments Expand
c5ed1bc7a17d98e1ee5f8987d839522b83888925 05-Sep-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

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.

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.

/dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-policy.c /dovecot/src/auth/auth-request-var-expand.c /dovecot/src/auth/auth-request-var-expand.h /dovecot/src/auth/auth-request.c /dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-dict.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/passdb-imap.c /dovecot/src/auth/passdb-ldap.c /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/passdb-passwd-file.c /dovecot/src/auth/passdb-sql.c /dovecot/src/auth/passdb-static.c /dovecot/src/auth/passdb-template.c /dovecot/src/auth/passdb-template.h /dovecot/src/auth/test-auth-cache.c /dovecot/src/auth/test-auth-request-var-expand.c /dovecot/src/auth/userdb-dict.c /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb-static.c /dovecot/src/auth/userdb-template.c /dovecot/src/auth/userdb-template.h /dovecot/src/director/director-request.c /dovecot/src/director/director.c /dovecot/src/director/doveadm-connection.c /dovecot/src/director/notify-connection.c /dovecot/src/director/test-user-directory.c /dovecot/src/director/user-directory.c /dovecot/src/director/user-directory.h /dovecot/src/doveadm/doveadm-auth-server.c /dovecot/src/doveadm/doveadm-auth.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-dsync.c /dovecot/src/doveadm/doveadm-print-formatted.c /dovecot/src/imap-hibernate/imap-client.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/main.c /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c /dovecot/src/lib-lda/mail-send.c mail-user-hash.c mail-user-hash.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h /dovecot/src/lib-sql/driver-cassandra.c /dovecot/src/lib-storage/index/shared/shared-storage.c /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib/test-var-expand.c /dovecot/src/lib/var-expand.c /dovecot/src/lib/var-expand.h /dovecot/src/lmtp/client.c /dovecot/src/lmtp/commands.c /dovecot/src/login-common/client-common.c /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-settings.c /dovecot/src/plugins/acl/acl-shared-storage.c /dovecot/src/plugins/dict-ldap/dict-ldap.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-commands.c
5733207dc3ec10e6e5a6e0a8b30fbd1b061062b9 05-Mar-2012 Timo Sirainen <tss@iki.fi>

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).