[dovecot/core] 105d85: auth: Add global auth_event with category "auth".

GitHub noreply at github.com
Wed May 30 11:00:07 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 105d8571483fad70d5223a3650fb1d9c32bfa7a4
      https://github.com/dovecot/core/commit/105d8571483fad70d5223a3650fb1d9c32bfa7a4
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/auth/auth-common.h
    M src/auth/auth.c

  Log Message:
  -----------
  auth: Add global auth_event with category "auth".


  Commit: d4afc9071142f7e6ec0b4d1b04975185c6e9c05b
      https://github.com/dovecot/core/commit/d4afc9071142f7e6ec0b4d1b04975185c6e9c05b
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/lib/event-log.c
    M src/lib/event-log.h

  Log Message:
  -----------
  lib: Add event_want_debug and event_want_debug_log macros


  Commit: 7a70a372cc8d7bbfe7914e364c41654a02023382
      https://github.com/dovecot/core/commit/7a70a372cc8d7bbfe7914e364c41654a02023382
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/login-common/login-common.h
    M src/login-common/main.c

  Log Message:
  -----------
  login-common: Add global event_auth with "auth" category.


  Commit: 3af0bfad715c02a1a440a267a4d192bfbb4b0608
      https://github.com/dovecot/core/commit/3af0bfad715c02a1a440a267a4d192bfbb4b0608
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/auth/auth-client-connection.c
    M src/auth/auth-client-connection.h

  Log Message:
  -----------
  auth: Add event with category "auth" to struct auth_client_connection.


  Commit: 73bb1085d5c3406b7eab073fb86d7b7b886ccaad
      https://github.com/dovecot/core/commit/73bb1085d5c3406b7eab073fb86d7b7b886ccaad
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/auth/auth-request-handler.c
    M src/auth/auth-request.c
    M src/auth/auth-request.h

  Log Message:
  -----------
  auth: Add event with category "auth" to struct auth_request.


  Commit: 82452b13eabe161ef0f5808030d6d58ef0663ebb
      https://github.com/dovecot/core/commit/82452b13eabe161ef0f5808030d6d58ef0663ebb
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/auth/db-oauth2.c
    M src/auth/userdb-prefetch.c
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  global: Remove unnecessary checks for mail_debug and auth_request->debug

These checks are performed before calling auth_request_log_debug() and
push_notification_driver_debug(), while the same checks are performed
inside of these functions, and they return without doing anything.


  Commit: dd703bf6751d9cba395ad16ac29d4033e03721db
      https://github.com/dovecot/core/commit/dd703bf6751d9cba395ad16ac29d4033e03721db
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/auth/auth-client-connection.c
    M src/auth/auth-master-connection.c
    M src/auth/auth-postfix-connection.c
    M src/auth/auth-request.c
    M src/auth/auth-token.c
    M src/auth/userdb-ldap.c
    M src/login-common/client-common-auth.c

  Log Message:
  -----------
  global: Replace "if(auth_debug){i_debug(...)}" with e_debug(event, ...)

event is one of: global auth::auth_event,
auth_client_connection->event, auth_request->event,
login-common::event_auth. These event have category "auth".


  Commit: c1c6edb926442888b0c0dc478f73327264f5afe5
      https://github.com/dovecot/core/commit/c1c6edb926442888b0c0dc478f73327264f5afe5
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/doveadm/doveadm-auth.c

  Log Message:
  -----------
  global: Replace check for auth_debug with event_want_debug_log in doveadm-auth::auth_connected()

These functions will create event with "auth" category and unref it in
the end.


  Commit: 573c2d2b8c801589ba3df6e60a0ff5a24d93dad9
      https://github.com/dovecot/core/commit/573c2d2b8c801589ba3df6e60a0ff5a24d93dad9
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/imap-urlauth/imap-urlauth-client.c
    M src/imap-urlauth/imap-urlauth-client.h

  Log Message:
  -----------
  imap-urlauth: Add event with "imap-urlauth" category to struct client of imap-urlauth


  Commit: b3f97a8bf862807cc896881aace111e342d7cb6d
      https://github.com/dovecot/core/commit/b3f97a8bf862807cc896881aace111e342d7cb6d
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/imap-urlauth/imap-urlauth-client.c
    M src/lib-imap-urlauth/imap-urlauth-backend.c
    M src/lib-imap-urlauth/imap-urlauth-connection.c
    M src/lib-imap-urlauth/imap-urlauth-fetch.c

  Log Message:
  -----------
  lib-imap-urlauth & imap-urlauth: replace "if(mail_debug){i_debug}" with "e_debug(client->event)"


  Commit: ef2116e618cdef175d0447e467eeffa908ab30a5
      https://github.com/dovecot/core/commit/ef2116e618cdef175d0447e467eeffa908ab30a5
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/imap/cmd-urlfetch.c
    M src/imap/imap-client-hibernate.c
    M src/imap/imap-master-client.c
    M src/imap/imap-state.c

  Log Message:
  -----------
  imap: Replace "if(mail_debug){i_debug}" with "e_debug"


  Commit: 0fbc01754dff05aa2300df5873a4ca9f5ddeac41
      https://github.com/dovecot/core/commit/0fbc01754dff05aa2300df5873a4ca9f5ddeac41
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/indexer/master-connection.c

  Log Message:
  -----------
  indexer: Replace "if(mail_debug){i_debug}" with "e_debug"


  Commit: 3f3c9aa2ff42a254a9783cb0e3a7fbf55130ab83
      https://github.com/dovecot/core/commit/3f3c9aa2ff42a254a9783cb0e3a7fbf55130ab83
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/lda/main.c
    M src/lib-lda/mail-send.c

  Log Message:
  -----------
  lda & lib-lda: "if(mail_debug){i_debug}" with "e_debug"


  Commit: e582d0b0b2a8477845f88cfe41bf3414a0db61b7
      https://github.com/dovecot/core/commit/e582d0b0b2a8477845f88cfe41bf3414a0db61b7
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/lib-storage/mail-storage-service.c

  Log Message:
  -----------
  lib-storage: Force mail_storage_service_user event debug when mail_debug=yes


  Commit: 9054f0734bcd08b765b3441dcb5a6d3483e28f07
      https://github.com/dovecot/core/commit/9054f0734bcd08b765b3441dcb5a6d3483e28f07
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/lib-storage/index/index-mail.c
    M src/lib-storage/index/index-status.c
    M src/lib-storage/index/index-storage.c
    M src/lib-storage/index/mbox/mbox-storage.c
    M src/lib-storage/index/shared/shared-storage.c
    M src/lib-storage/mail-namespace.c
    M src/lib-storage/mail-storage-service.c
    M src/lib-storage/mail-storage.c
    M src/lib-storage/mailbox-list.c

  Log Message:
  -----------
  lib-storage: Replace "if(mail_debug){i_debug}" "e_debug"


  Commit: 0850b9b071e6b5952f3b96260f5f0b3f11b4531b
      https://github.com/dovecot/core/commit/0850b9b071e6b5952f3b96260f5f0b3f11b4531b
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/plugins/acl/acl-backend.c
    M src/plugins/acl/acl-lookup-dict.c
    M src/plugins/acl/acl-mailbox-list.c
    M src/plugins/acl/acl-storage.c
    M src/plugins/apparmor/apparmor-plugin.c
    M src/plugins/charset-alias/charset-alias-plugin.c
    M src/plugins/expire/expire-plugin.c
    M src/plugins/fts/fts-parser-tika.c
    M src/plugins/fts/fts-storage.c
    M src/plugins/lazy-expunge/lazy-expunge-plugin.c
    M src/plugins/mail-crypt/mail-crypt-plugin.c
    M src/plugins/mail-crypt/mail-crypt-userenv.c
    M src/plugins/mail-filter/mail-filter-plugin.c
    M src/plugins/notify-status/notify-status-plugin.c
    M src/plugins/pop3-migration/pop3-migration-plugin.c
    M src/plugins/push-notification/push-notification-drivers.c
    M src/plugins/quota-clone/quota-clone-plugin.c
    M src/plugins/quota/quota-storage.c
    M src/plugins/replication/replication-plugin.c
    M src/plugins/trash/trash-plugin.c
    M src/plugins/virtual/virtual-storage.c
    M src/plugins/welcome/welcome-plugin.c

  Log Message:
  -----------
  plugins: replace "if(mail_debug){i_debug}" with "e_debug"


  Commit: 6b2ac67ec2f81ef22df14a3b557e4bf0fe9632ed
      https://github.com/dovecot/core/commit/6b2ac67ec2f81ef22df14a3b557e4bf0fe9632ed
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/lib-storage/list/subscription-file.c
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: Replace "if(mail_debug)" with "if(event_want_debug_log)"


  Commit: 8fb8621e8ea4161d5a04653e93d46bf35baf487d
      https://github.com/dovecot/core/commit/8fb8621e8ea4161d5a04653e93d46bf35baf487d
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M src/auth/auth-request.c

  Log Message:
  -----------
  auth: pass overriden auth_debug setting to auth process


  Commit: 56d47c7a2b33ffe276c0f8fb9e69ab029b4f12e4
      https://github.com/dovecot/core/commit/56d47c7a2b33ffe276c0f8fb9e69ab029b4f12e4
  Author: Hannu Ylitalo <hannu.ylitalo at dovecot.fi>
  Date:   2018-05-30 (Wed, 30 May 2018)

  Changed paths:
    M dovecot.service.in

  Log Message:
  -----------
  dovecot.service: Update LimitNOFILE=65535

Current value of 8192 is too low for most production setups and it needs
to be changed every time something is deployed. Setting the default to
65535 is enough for most production environments so this would be one
task less when deploying a production platform.


Compare: https://github.com/dovecot/core/compare/bd6265e47c7a...56d47c7a2b33
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list