History log of /dovecot/src/lib-storage/index/dbox-single/sdbox-file.h
Revision Date Author Comments Expand
19557f192d37cd54a1a090a8a26d9d47265e4413 01-Nov-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

global: Fix spelling mistakes in comments Original work by @andreasschulze and @jsoref

/dovecot/doc/example-config/conf.d/20-pop3.conf /dovecot/doc/example-config/conf.d/90-quota.conf /dovecot/m4/notify.m4 /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/config/config-parser.c /dovecot/src/director/director-connection.c /dovecot/src/imap-urlauth/imap-urlauth.c /dovecot/src/imap/cmd-sort.c /dovecot/src/lib-dcrypt/ostream-encrypt.c /dovecot/src/lib-fs/fs-metawrap.c /dovecot/src/lib-fts/fts-filter.h /dovecot/src/lib-http/test-http-client-errors.c /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-map-hdr.c /dovecot/src/lib-index/mail-index-map.c /dovecot/src/lib-index/mail-index-strmap.h /dovecot/src/lib-index/mail-index-transaction-finish.c /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-mail/message-part-data.h /dovecot/src/lib-ntlm/ntlm-des.c /dovecot/src/lib-ntlm/ntlm-types.h /dovecot/src/lib-otp/otp-hash.c /dovecot/src/lib-settings/settings.c /dovecot/src/lib-smtp/lmtp-client.h /dovecot/src/lib-ssl-iostream/ostream-openssl.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.c sdbox-file.h /dovecot/src/lib-storage/index/index-search-mime.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/list/mailbox-list-index-backend.c /dovecot/src/lib-storage/list/mailbox-list-index-status.c /dovecot/src/lib-storage/mailbox-attribute.c /dovecot/src/lib/array.h /dovecot/src/lib/buffer.c /dovecot/src/lib/failures.c /dovecot/src/lib/ioloop-epoll.c /dovecot/src/lib/ioloop-kqueue.c /dovecot/src/lib/istream.h /dovecot/src/lib/net.h /dovecot/src/lib/path-util.c /dovecot/src/lib/sendfile-util.c /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/wildcard-match.c /dovecot/src/master/sd-daemon.h /dovecot/src/master/service.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/fs-compress/fs-compress.c /dovecot/src/plugins/mail-crypt/doveadm-mail-crypt.c /dovecot/src/plugins/mail-crypt/fs-crypt-common.c /dovecot/src/plugins/mail-filter/istream-ext-filter.c /dovecot/src/plugins/mail-filter/ostream-ext-filter.c /dovecot/src/pop3/pop3-client.c
172b6edea36e425b0d0c35a854721ae63f57c289 23-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

sdbox: Don't log an error if stub is added twice There's no locking for them, so it's fine if two processes add the same mail. The second one could be ignored, but it was a bit easier to just let it rename over the first one.

cc0a651962a3e54d5a62231ac5847ae7f9f7de7f 19-Jan-2015 Timo Sirainen <tss@iki.fi>

dbox: Added asserts to make sure the mail body isn't tried to be read too early while saving. If the mail headers are still being written, the opening will just fail thinking the mail is corrupted.

4ca83616715c3bd417e34ced2c1d61852513e427 21-Oct-2010 Timo Sirainen <tss@iki.fi>

dbox: Reverted the "check if altpath is mounted" change for now. If alt path didn't yet exist, it reported bogus errors. It should somehow check if there is anything under the alt root dir.

763155262f295ab5e6c68244fd047d9b3edb0626 21-Oct-2010 Timo Sirainen <tss@iki.fi>

dbox: If alt path is lost, fail with an error rather than rebuilding indexes. This could be simply because alt storage is unmounted at the time and rebuilding would just lose messages. If this error happens unintentionally, it's still possible to fix it with "doveadm force-resync".

b9f564d00b7a115f465ffd6840341c7b8f9bfc8a 19-Oct-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added support for saving mail attachments separately via filesystem API. Currently this works only with sdbox and mdbox backends.

/dovecot/src/config/settings-get.pl /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/cydir/cydir-storage.c /dovecot/src/lib-storage/index/dbox-common/Makefile.am /dovecot/src/lib-storage/index/dbox-common/dbox-attachment.c /dovecot/src/lib-storage/index/dbox-common/dbox-attachment.h /dovecot/src/lib-storage/index/dbox-common/dbox-file.c /dovecot/src/lib-storage/index/dbox-common/dbox-save.c /dovecot/src/lib-storage/index/dbox-common/dbox-storage.c /dovecot/src/lib-storage/index/dbox-common/dbox-storage.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-purge.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c Makefile.am sdbox-copy.c sdbox-file.c sdbox-file.h sdbox-save.c sdbox-storage.c sdbox-storage.h sdbox-sync.c /dovecot/src/lib-storage/index/index-attachment.c /dovecot/src/lib-storage/index/index-attachment.h /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/istream-attachment.c /dovecot/src/lib-storage/index/istream-attachment.h /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/raw/raw-storage.c /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage-settings.c /dovecot/src/lib-storage/mail-storage-settings.h /dovecot/src/lib-storage/test-mailbox.c /dovecot/src/plugins/virtual/virtual-storage.c
c2d2161296e2361f97ee48b70b168602157069e6 09-Jul-2010 Timo Sirainen <tss@iki.fi>

dbox: dbox_file_move() was used by only single-dbox, so moved it there. --HG-- branch : HEAD

e8762c2b4914db7997fa9eb644a91586952d1876 21-Mar-2010 Timo Sirainen <tss@iki.fi>

sdbox: Copying is now done with hard links. --HG-- branch : HEAD

1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9 07-Oct-2009 Timo Sirainen <tss@iki.fi>

Split dbox (single-dbox) and mdbox (multi-dbox) into separate storage backends. This cleans up the code, makes it faster and also fixes some bugs. Super-fast maildir migration code was also dropped, at least for now. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/dbox-common/Makefile.am /dovecot/src/lib-storage/index/dbox-common/dbox-file-fix.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.h /dovecot/src/lib-storage/index/dbox-common/dbox-mail.c /dovecot/src/lib-storage/index/dbox-common/dbox-mail.h /dovecot/src/lib-storage/index/dbox-common/dbox-save.c /dovecot/src/lib-storage/index/dbox-common/dbox-save.h /dovecot/src/lib-storage/index/dbox-common/dbox-storage.c /dovecot/src/lib-storage/index/dbox-common/dbox-storage.h /dovecot/src/lib-storage/index/dbox-common/dbox-sync-rebuild.c /dovecot/src/lib-storage/index/dbox-common/dbox-sync-rebuild.h /dovecot/src/lib-storage/index/dbox-multi/Makefile.am /dovecot/src/lib-storage/index/dbox-multi/mdbox-file-purge.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-file.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-file.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-mail.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map-private.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-settings.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-settings.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.h Makefile.am sdbox-file.c sdbox-file.h sdbox-mail.c sdbox-save.c sdbox-storage.c sdbox-storage.h sdbox-sync-file.c sdbox-sync-rebuild.c sdbox-sync.c sdbox-sync.h /dovecot/src/lib-storage/index/dbox/dbox-file-maildir.c /dovecot/src/lib-storage/index/dbox/dbox-file-maildir.h /dovecot/src/lib-storage/index/dbox/dbox-mail.c /dovecot/src/lib-storage/index/dbox/dbox-save.c /dovecot/src/lib-storage/index/dbox/dbox-settings.c /dovecot/src/lib-storage/index/dbox/dbox-settings.h /dovecot/src/lib-storage/index/dbox/dbox-storage-rebuild.h /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync-file.c /dovecot/src/lib-storage/index/dbox/dbox-sync-rebuild.c /dovecot/src/lib-storage/index/dbox/dbox-sync.c /dovecot/src/lib-storage/index/dbox/dbox-sync.h