[dovecot/core] 2ceb75: lib-storage: Implemented mailbox_is_autosubscribed...

GitHub noreply at github.com
Thu Oct 5 01:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 2ceb75f820c9415b767a17e1f4830c75093ab867
      https://github.com/dovecot/core/commit/2ceb75f820c9415b767a17e1f4830c75093ab867
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-storage: Implemented mailbox_is_autosubscribed().

Indicates whether the mailbox is automatically subscribed to when it is automatically created.


  Commit: 2d27ea5063099b1b2afb466d4db4d898b4a7fe2e
      https://github.com/dovecot/core/commit/2d27ea5063099b1b2afb466d4db4d898b4a7fe2e
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-storage: Implemented new mailbox flag MAILBOX_FLAG_AUTO_CREATE.

When this flag is enabled, the mailbox is automatically created when it is opened (if possible and appropriate).


  Commit: df97180092ae581323dc96c7795c737721e966a0
      https://github.com/dovecot/core/commit/df97180092ae581323dc96c7795c737721e966a0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-storage: Implemented new mailbox flag MAILBOX_FLAG_AUTO_SUBSCRIBE.

When this flag is enabled, the mailbox is implicitly subscribed to when it is created automatically.


  Commit: 7d716afc5d775055d07b5cbc5093334ac36a9cac
      https://github.com/dovecot/core/commit/7d716afc5d775055d07b5cbc5093334ac36a9cac
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-storage: Created mailbox_alloc_delivery(), which initializes a mailbox for message delivery.


  Commit: fe6a2885e07818ae9145ab5dbfb36a9c1b6bd54a
      https://github.com/dovecot/core/commit/fe6a2885e07818ae9145ab5dbfb36a9c1b6bd54a
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-lda: Moved most of mail_deliver_save_open() to lib-storage.

This prevents the need to link Pigeonhole lib-sieve to lib-lda, which makes no sense for IMAPSIEVE.
This also allows lib-sieve to have more control over how mailboxes are opened.


  Commit: 5356717c7944a8527b6ea10ac54012887bcc9f75
      https://github.com/dovecot/core/commit/5356717c7944a8527b6ea10ac54012887bcc9f75
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lib-smtp/Makefile.am
    A src/lib-smtp/smtp-submit-settings.c
    A src/lib-smtp/smtp-submit-settings.h
    M src/lib-smtp/smtp-submit.h

  Log Message:
  -----------
  lib-smtp: smtp-submit: Made settings parseable.


  Commit: ed89b9556292b6d7c2551086a4958f4ed601bda9
      https://github.com/dovecot/core/commit/ed89b9556292b6d7c2551086a4958f4ed601bda9
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lmtp/commands.c

  Log Message:
  -----------
  lmtp: commands: client_deliver(): Put result from mail_user_var_expand_table() in a variable.

Keeps code more compact, as this function is called several times.


  Commit: 90cdc497f02f3b4884eb3ead03a9a645fb6a575c
      https://github.com/dovecot/core/commit/90cdc497f02f3b4884eb3ead03a9a645fb6a575c
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lmtp/commands.c

  Log Message:
  -----------
  lmtp: commands: client_deliver(): Put client->state.dest_user in a variable.

Keeps code more compact, as this value is used several times.


  Commit: 1642939e4dd494b84812e55ef709b9baf1f629b6
      https://github.com/dovecot/core/commit/1642939e4dd494b84812e55ef709b9baf1f629b6
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lda/main.c

  Log Message:
  -----------
  lda: main: main(): Put result from mail_user_var_expand_table() in a variable.

Keeps code more compact, as this function is going to be called several times.


  Commit: 0f72f253d5a117dad2f28b2ce336190a5e6b79c8
      https://github.com/dovecot/core/commit/0f72f253d5a117dad2f28b2ce336190a5e6b79c8
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M configure.ac
    M src/config/settings-get.pl
    M src/lda/Makefile.am
    M src/lda/main.c
    M src/lib-lda/lda-settings.c
    M src/lib-lda/mail-deliver.h
    M src/lmtp/commands.c
    M src/lmtp/lmtp-settings.c
    M src/lmtp/main.c

  Log Message:
  -----------
  lda/lmtp: Parse SMTP submit settings.


  Commit: c2ea6b029715a74b1f3724c7db05b222537371cd
      https://github.com/dovecot/core/commit/c2ea6b029715a74b1f3724c7db05b222537371cd
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-storage: Added hostname, postmaster_address and recipient_delimiter settings to mail_storage_settings.

Copied from lda_settings.


  Commit: 3ff9a44972543bad36c1f96b958434e05aca2eec
      https://github.com/dovecot/core/commit/3ff9a44972543bad36c1f96b958434e05aca2eec
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lib-lda/Makefile.am
    R src/lib-lda/smtp-client.c
    R src/lib-lda/smtp-client.h

  Log Message:
  -----------
  lib-lda: Removed old smtp-client API.


  Commit: 06426c2f623230e039bb4db8045f10ce26225e77
      https://github.com/dovecot/core/commit/06426c2f623230e039bb4db8045f10ce26225e77
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lib-lda/Makefile.am
    R src/lib-lda/duplicate.c
    R src/lib-lda/duplicate.h
    M src/lib-storage/Makefile.am
    A src/lib-storage/duplicate.c
    A src/lib-storage/duplicate.h

  Log Message:
  -----------
  lib-lda: Moved duplicate handling to lib-storage.


  Commit: f41f6294f438bd16a35be64cef3bc90d2b66e0ea
      https://github.com/dovecot/core/commit/f41f6294f438bd16a35be64cef3bc90d2b66e0ea
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lib-lda/mail-deliver.c
    M src/lib-lda/mail-deliver.h
    M src/lib-storage/Makefile.am
    R src/lib-storage/duplicate.c
    R src/lib-storage/duplicate.h
    A src/lib-storage/mail-duplicate.c
    A src/lib-storage/mail-duplicate.h

  Log Message:
  -----------
  lib-storage: Renamed duplicate to mail_duplicate.

This makes more sense given where this is now located.


  Commit: 3d9b33dc0195e52a430a6264569b4a6eb36babdc
      https://github.com/dovecot/core/commit/3d9b33dc0195e52a430a6264569b4a6eb36babdc
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-lda: Use SMTP submit settings directly.


  Commit: a9f821804fb50da03c454cd136ed9fe445a4d1d2
      https://github.com/dovecot/core/commit/a9f821804fb50da03c454cd136ed9fe445a4d1d2
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

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

  Log Message:
  -----------
  lib-lda: Use hostname and postmaster_address settings from mail_storage_settings where possible.


  Commit: 1519df1d514ed508c9708e3d2a4daf89e9c937e0
      https://github.com/dovecot/core/commit/1519df1d514ed508c9708e3d2a4daf89e9c937e0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/imap/Makefile.am
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-settings.c
    M src/imap/main.c

  Log Message:
  -----------
  imap: Drop dependencies on lib-lda settings.

Start using lib-smtp/smtp-submit-settings instead.
Put any other settings required by IMAPSIEVE in struct imap_settings.


  Commit: ebd21ab2c92d46efd71c7da3ed02f1a7cc443a95
      https://github.com/dovecot/core/commit/ebd21ab2c92d46efd71c7da3ed02f1a7cc443a95
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lib-lda/lda-settings.c
    M src/lib-lda/lda-settings.h

  Log Message:
  -----------
  lib-lda: Dropped now useless settings from lib-lda/lda-settings.

These are now in lib-smtp/smtp-submit-settings.


  Commit: 47fa7b222e197f73042e8b36ad688bf5fcbfc6f0
      https://github.com/dovecot/core/commit/47fa7b222e197f73042e8b36ad688bf5fcbfc6f0
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/lda/main.c
    M src/lib-lda/mail-deliver.h
    M src/lib-lda/mail-send.c
    M src/lib-smtp/smtp-submit-settings.c
    M src/lib-smtp/smtp-submit-settings.h
    M src/lib-smtp/smtp-submit.c
    M src/lib-smtp/smtp-submit.h
    M src/lib-smtp/test-smtp-submit.c
    M src/lmtp/commands.c

  Log Message:
  -----------
  lib-smtp: smtp-submit: Made submission_timeout a setting rather than a function parameter.

This makes it configurable.


Compare: https://github.com/dovecot/core/compare/6c76bcb36f50...47fa7b222e19


More information about the dovecot-cvs mailing list