]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
14 years agolib-storage: Avoid creating shared user for an empty username.
Timo Sirainen [Tue, 31 Jul 2012 15:33:45 +0000 (18:33 +0300)] 
lib-storage: Avoid creating shared user for an empty username.

14 years agoimap: CATENATE command fixes.
Timo Sirainen [Mon, 30 Jul 2012 23:46:21 +0000 (02:46 +0300)] 
imap: CATENATE command fixes.
Patch by Stephan Bosch

14 years agolib-master: Assert-crashfix
Timo Sirainen [Mon, 30 Jul 2012 23:45:23 +0000 (02:45 +0300)] 
lib-master: Assert-crashfix

14 years agoauth: EXTERNAL mechanism didn't use auth_username_* settings.
Timo Sirainen [Mon, 30 Jul 2012 16:49:43 +0000 (19:49 +0300)] 
auth: EXTERNAL mechanism didn't use auth_username_* settings.

14 years agoAdded "connection" API for handling client/server connections more easily.
Timo Sirainen [Mon, 30 Jul 2012 12:56:00 +0000 (15:56 +0300)] 
Added "connection" API for handling client/server connections more easily.

14 years agoMakefile: Fixed libdovecot-ssl to actually contain libssl-iostream
Timo Sirainen [Mon, 30 Jul 2012 12:55:39 +0000 (15:55 +0300)] 
Makefile: Fixed libdovecot-ssl to actually contain libssl-iostream

14 years agodovecot.m4: Export also LIBDOVECOT_IMAP_INCLUDE
Timo Sirainen [Mon, 30 Jul 2012 12:06:29 +0000 (15:06 +0300)] 
dovecot.m4: Export also LIBDOVECOT_IMAP_INCLUDE

14 years agolib-master: Check ssl_cert/ssl_key only when running in config/doveconf.
Timo Sirainen [Sat, 28 Jul 2012 18:55:14 +0000 (21:55 +0300)] 
lib-master: Check ssl_cert/ssl_key only when running in config/doveconf.
Also if Dovecot isn't built with SSL, default to ssl=no

14 years agolib-storage: When saving a mail, set date.save to cache immediately.
Timo Sirainen [Sat, 28 Jul 2012 17:31:30 +0000 (20:31 +0300)] 
lib-storage: When saving a mail, set date.save to cache immediately.

14 years agolib-storage: When copying a mail, use a new timestamp for date.save instead of preser...
Timo Sirainen [Sat, 28 Jul 2012 17:31:13 +0000 (20:31 +0300)] 
lib-storage: When copying a mail, use a new timestamp for date.save instead of preserving it.

14 years agofts-lucene: Fixed handling non-lowercase SEARCH HEADER FROM/TO/SUBJECT/CC/BCC
Timo Sirainen [Sat, 28 Jul 2012 17:00:32 +0000 (20:00 +0300)] 
fts-lucene: Fixed handling non-lowercase SEARCH HEADER FROM/TO/SUBJECT/CC/BCC
Based on patch by Matthew Powell.

14 years agoverbose_ssl=yes: Log debug messages with debug level instead of as info...
Timo Sirainen [Sat, 28 Jul 2012 16:57:10 +0000 (19:57 +0300)] 
verbose_ssl=yes: Log debug messages with debug level instead of as info...

14 years agoverbose_ssl=yes: Log debug messages with debug level instead of as warnings.
Timo Sirainen [Sat, 28 Jul 2012 16:56:07 +0000 (19:56 +0300)] 
verbose_ssl=yes: Log debug messages with debug level instead of as warnings.

14 years agolib-charset: Removed unnecessary buffer size increases, which only caused out-of...
Timo Sirainen [Sat, 28 Jul 2012 16:33:14 +0000 (19:33 +0300)] 
lib-charset: Removed unnecessary buffer size increases, which only caused out-of-memory errors.

14 years agodovecot.m4: Updates from Pigeonhole
Timo Sirainen [Sat, 28 Jul 2012 15:03:25 +0000 (18:03 +0300)] 
dovecot.m4: Updates from Pigeonhole

14 years agoAdded libdovecot-ssl for creating SSL servers more easily using lib-ssl-iostream.
Timo Sirainen [Sat, 28 Jul 2012 14:55:46 +0000 (17:55 +0300)] 
Added libdovecot-ssl for creating SSL servers more easily using lib-ssl-iostream.

14 years agoMoved ssl_* settings from login-common to lib-master.
Timo Sirainen [Sat, 28 Jul 2012 14:54:19 +0000 (17:54 +0300)] 
Moved ssl_* settings from login-common to lib-master.
This allows creating other SSL servers more easily.

14 years agolib-master: Added base_dir to master_service_settings.
Timo Sirainen [Sat, 28 Jul 2012 14:47:34 +0000 (17:47 +0300)] 
lib-master: Added base_dir to master_service_settings.

14 years agolib-master: Added and used MASTER_SERVICE_INTERNAL_SET_PARSERS macro.
Timo Sirainen [Sat, 28 Jul 2012 14:45:47 +0000 (17:45 +0300)] 
lib-master: Added and used MASTER_SERVICE_INTERNAL_SET_PARSERS macro.

14 years agossl-params: Create also base_dir/ssl-params socket.
Timo Sirainen [Sat, 28 Jul 2012 14:37:19 +0000 (17:37 +0300)] 
ssl-params: Create also base_dir/ssl-params socket.

14 years agologin: Use lib-ssl-iostream code to handle ssl_protocols setting.
Timo Sirainen [Sat, 28 Jul 2012 14:36:53 +0000 (17:36 +0300)] 
login: Use lib-ssl-iostream code to handle ssl_protocols setting.

14 years agolib-ssl-iostream: Added protocols setting.
Timo Sirainen [Sat, 28 Jul 2012 14:36:27 +0000 (17:36 +0300)] 
lib-ssl-iostream: Added protocols setting.

14 years agolib-ssl-iostream: Name SSL iostreams based on parent streams.
Timo Sirainen [Sat, 28 Jul 2012 14:34:11 +0000 (17:34 +0300)] 
lib-ssl-iostream: Name SSL iostreams based on parent streams.

14 years agolib-ssl-iostream: Inherit output stream's error handling from parent.
Timo Sirainen [Sat, 28 Jul 2012 14:33:45 +0000 (17:33 +0300)] 
lib-ssl-iostream: Inherit output stream's error handling from parent.

14 years agolib-ssl-iostream: Added ssl_iostream_destroy() to do a clean SSL shutdown.
Timo Sirainen [Sat, 28 Jul 2012 14:32:14 +0000 (17:32 +0300)] 
lib-ssl-iostream: Added ssl_iostream_destroy() to do a clean SSL shutdown.

14 years agoconfig: Added support for plugins to contain multiple service settings.
Timo Sirainen [Sat, 28 Jul 2012 13:29:22 +0000 (16:29 +0300)] 
config: Added support for plugins to contain multiple service settings.
For example:

const struct service_settings *foo_settings_service_settings_array[] = {
&foo1_settings_service_settings,
&foo2_settings_service_settings,
NULL
};

14 years agoimap: MOVE command's COPYUID reply was missing a space
Timo Sirainen [Sat, 28 Jul 2012 12:34:28 +0000 (15:34 +0300)] 
imap: MOVE command's COPYUID reply was missing a space

14 years agoi_stream_read(): Added assert to make sure EOF isn't returned too early.
Timo Sirainen [Wed, 25 Jul 2012 16:31:28 +0000 (19:31 +0300)] 
i_stream_read(): Added assert to make sure EOF isn't returned too early.

14 years agoComment update.
Timo Sirainen [Wed, 25 Jul 2012 16:30:59 +0000 (19:30 +0300)] 
Comment update.

14 years agoistream-attachment-extractor: Fixed read() returning EOF too early.
Timo Sirainen [Wed, 25 Jul 2012 16:30:55 +0000 (19:30 +0300)] 
istream-attachment-extractor: Fixed read() returning EOF too early.

14 years agopop3c: If POP3 server doesn't support CAPA command, try to use UIDL anyway.
Timo Sirainen [Wed, 25 Jul 2012 12:39:14 +0000 (15:39 +0300)] 
pop3c: If POP3 server doesn't support CAPA command, try to use UIDL anyway.

14 years agolib-dict: Added memcached backend using its binary protocol.
Timo Sirainen [Mon, 23 Jul 2012 18:43:39 +0000 (21:43 +0300)] 
lib-dict: Added memcached backend using its binary protocol.

14 years agoredis dict: Added support for set/unset/atomic_inc.
Timo Sirainen [Mon, 23 Jul 2012 14:24:13 +0000 (17:24 +0300)] 
redis dict: Added support for set/unset/atomic_inc.
This allows using Redis as dict quota backend.

14 years agolib-dict: Allow backends to have iteration methods as NULL if they don't support it.
Timo Sirainen [Mon, 23 Jul 2012 14:23:37 +0000 (17:23 +0300)] 
lib-dict: Allow backends to have iteration methods as NULL if they don't support it.

14 years agoquota: Added quota_ignore_save_errors plugin setting.
Timo Sirainen [Mon, 23 Jul 2012 11:23:32 +0000 (14:23 +0300)] 
quota: Added quota_ignore_save_errors plugin setting.
If mail is being saved but current quota usage lookup fails with internal
error, save the mail anyway instead of failing.

14 years agoauth: Fixed error handling in GSSAPI when __gss_userok() was used.
Timo Sirainen [Tue, 17 Jul 2012 13:20:20 +0000 (16:20 +0300)] 
auth: Fixed error handling in GSSAPI when __gss_userok() was used.
An invalid username would have been treated as successful and auth process
probably would have crashed.

14 years agoauth: GSSAPI RFC compliancy fixes.
Timo Sirainen [Tue, 17 Jul 2012 13:17:40 +0000 (16:17 +0300)] 
auth: GSSAPI RFC compliancy fixes.
Patch by Ben Morrow:

The first problem is that, because of the way the client invokes
libsasl, it sends a GSSAPI request which does not ask for mutual
authentication. This means that on the server gss_accept_sec_context
returns GSS_S_COMPLETE with a zero-length output token. Dovecot
currently sends this to the client as a zero-length continuation
response, but this is incorrect according to RFC 4752: what it ought to
do instead is proceed straight to the security layer negotiations, and
send a gss_wrap packet.

The second is that Cyrus sends an empty authz identity; that is, the
security layer negotiation packet, when gss_unwrapped, is exactly 4
bytes long. Dovecot objects to this, but in RFC 4422 this is explicitly
allowed, and means the authz identity is identical to the authn
identity.

14 years agoquota: Support for fs hard limit
Jan Friesse [Tue, 17 Jul 2012 13:03:43 +0000 (16:03 +0300)] 
quota: Support for fs hard limit
Support for hard limit is implemented for NFS, but sadly not for other
filesystems. If softlimit is not set (it's 0), hardlimit should be used.
---
 src/plugins/quota/quota-fs.c |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

14 years agoconfig: Fixed error reporting when reloading settings for master process fails.
Timo Sirainen [Tue, 17 Jul 2012 12:44:36 +0000 (15:44 +0300)] 
config: Fixed error reporting when reloading settings for master process fails.

14 years agodoc: Install mkcert.sh, dovecot-openssl.cnf and solr-schema.xml files.
Timo Sirainen [Tue, 17 Jul 2012 12:31:03 +0000 (15:31 +0300)] 
doc: Install mkcert.sh, dovecot-openssl.cnf and solr-schema.xml files.

14 years agologin: Don't allow STARTTLS if ssl=no in client's settings, even if ssl=yes globally.
Timo Sirainen [Tue, 17 Jul 2012 12:28:24 +0000 (15:28 +0300)] 
login: Don't allow STARTTLS if ssl=no in client's settings, even if ssl=yes globally.

14 years agolib-master: Updated default mountpoint ignore prefix list.
Timo Sirainen [Tue, 17 Jul 2012 12:21:32 +0000 (15:21 +0300)] 
lib-master: Updated default mountpoint ignore prefix list.

14 years agodirector: Changed director_username_hash setting's default from %u to %Lu
Timo Sirainen [Tue, 17 Jul 2012 12:14:21 +0000 (15:14 +0300)] 
director: Changed director_username_hash setting's default from %u to %Lu
This allows potential trouble when username isn't always lowercased.

14 years agoexample-config: Added director_username_hash setting.
Timo Sirainen [Tue, 17 Jul 2012 12:13:21 +0000 (15:13 +0300)] 
example-config: Added director_username_hash setting.

14 years agolib-mail: mail_user_hash() has now a faster code path for format=%Lu
Timo Sirainen [Tue, 17 Jul 2012 12:10:35 +0000 (15:10 +0300)] 
lib-mail: mail_user_hash() has now a faster code path for format=%Lu

14 years agomaster: "/X is no longer mounted" warning now points to wiki page.
Timo Sirainen [Tue, 17 Jul 2012 11:57:44 +0000 (14:57 +0300)] 
master: "/X is no longer mounted" warning now points to wiki page.

14 years agodoveconf: When looking up specific settings, ignore errors found by check functions.
Timo Sirainen [Mon, 16 Jul 2012 20:15:19 +0000 (23:15 +0300)] 
doveconf: When looking up specific settings, ignore errors found by check functions.

14 years agoimap: Updated MOVE implementation.
Timo Sirainen [Mon, 16 Jul 2012 17:41:51 +0000 (20:41 +0300)] 
imap: Updated MOVE implementation.

14 years agomaster: Create missing /var/lib/dovecot/ with world-read-exec permissions.
Timo Sirainen [Mon, 16 Jul 2012 15:24:53 +0000 (18:24 +0300)] 
master: Create missing /var/lib/dovecot/ with world-read-exec permissions.
There's really nothing secret in the directory and in some setups this
change had to be done manually anyway.

14 years agoquota: ns=PREFIX setting was ignored when accessing other users' shared mailboxes.
Timo Sirainen [Mon, 16 Jul 2012 15:00:21 +0000 (18:00 +0300)] 
quota: ns=PREFIX setting was ignored when accessing other users' shared mailboxes.

14 years agolib-storage: %h variable didn't necessarily expand correctly for shared users' settings.
Timo Sirainen [Mon, 16 Jul 2012 14:40:45 +0000 (17:40 +0300)] 
lib-storage: %h variable didn't necessarily expand correctly for shared users' settings.

14 years agolib-storage: Search crashfix.
Timo Sirainen [Mon, 16 Jul 2012 13:59:51 +0000 (16:59 +0300)] 
lib-storage: Search crashfix.

14 years agologin: If ssl_key parsing fails, log the reason.
Timo Sirainen [Mon, 16 Jul 2012 13:49:16 +0000 (16:49 +0300)] 
login: If ssl_key parsing fails, log the reason.

14 years agomail-log: Log mailbox names with UTF-8 everywhere (instead of mUTF-7)
Timo Sirainen [Wed, 11 Jul 2012 17:15:03 +0000 (19:15 +0200)] 
mail-log: Log mailbox names with UTF-8 everywhere (instead of mUTF-7)

14 years agoDebian names libtextcat as libexttextcat.
Timo Sirainen [Wed, 11 Jul 2012 07:32:18 +0000 (09:32 +0200)] 
Debian names libtextcat as libexttextcat.
Patch by Stephan Bosch.

14 years agopop3c: pop3c_master_user setting broke down non-master logins.
Timo Sirainen [Sun, 8 Jul 2012 07:28:38 +0000 (10:28 +0300)] 
pop3c: pop3c_master_user setting broke down non-master logins.

14 years agoredis: Fixed connection handling.
Timo Sirainen [Sun, 8 Jul 2012 06:18:46 +0000 (09:18 +0300)] 
redis: Fixed connection handling.

14 years agolib-dict: Added initial version of Redis support.
Timo Sirainen [Sun, 8 Jul 2012 06:00:57 +0000 (09:00 +0300)] 
lib-dict: Added initial version of Redis support.
The code is a bit ugly and doesn't handle anything except key lookups.

14 years agoAdded "connection" API for handling client/server connections more easily.
Timo Sirainen [Sun, 8 Jul 2012 05:59:52 +0000 (08:59 +0300)] 
Added "connection" API for handling client/server connections more easily.

14 years agoauth: Added "dict" passdb/userdb.
Timo Sirainen [Sun, 8 Jul 2012 04:45:17 +0000 (07:45 +0300)] 
auth: Added "dict" passdb/userdb.

14 years agoAdded a simple JSON parser for parsing an object.
Timo Sirainen [Sun, 8 Jul 2012 04:37:28 +0000 (07:37 +0300)] 
Added a simple JSON parser for parsing an object.

14 years agopop3c: Don't get size of TOP output and cache it as message's virtual size.
Timo Sirainen [Sat, 7 Jul 2012 13:27:59 +0000 (16:27 +0300)] 
pop3c: Don't get size of TOP output and cache it as message's virtual size.

14 years agolib-storage: Minor code cleanup
Timo Sirainen [Thu, 5 Jul 2012 13:11:00 +0000 (16:11 +0300)] 
lib-storage: Minor code cleanup

14 years agolib-storage: Fixed searching message flags on mailboxes without private index.
Timo Sirainen [Thu, 5 Jul 2012 13:08:07 +0000 (16:08 +0300)] 
lib-storage: Fixed searching message flags on mailboxes without private index.

14 years agoimap: Fixed crashes on some FETCH commands
Timo Sirainen [Thu, 5 Jul 2012 07:51:42 +0000 (10:51 +0300)] 
imap: Fixed crashes on some FETCH commands

14 years agolib-storage: Private index needs to be synced also when messages have been expunged.
Timo Sirainen [Wed, 4 Jul 2012 10:13:56 +0000 (13:13 +0300)] 
lib-storage: Private index needs to be synced also when messages have been expunged.

14 years agolib-storage: Don't try to sync private index files if syncing already failed.
Timo Sirainen [Wed, 4 Jul 2012 09:37:02 +0000 (12:37 +0300)] 
lib-storage: Don't try to sync private index files if syncing already failed.
This fixes a crash when opening a mailbox failed.

14 years agolib-master: i_close_fd() change caused environment variables to be used as settings.
Timo Sirainen [Wed, 4 Jul 2012 08:19:44 +0000 (11:19 +0300)] 
lib-master: i_close_fd() change caused environment variables to be used as settings.

14 years agodoveadm auth cache flush usage string updated
Timo Sirainen [Wed, 4 Jul 2012 08:02:58 +0000 (11:02 +0300)] 
doveadm auth cache flush usage string updated

14 years agofile_preallocate() returned wrong value on success with OSX.
Timo Sirainen [Sat, 7 Jul 2012 11:37:54 +0000 (14:37 +0300)] 
file_preallocate() returned wrong value on success with OSX.

14 years agopop3: Fixed assert crash when doing UIDL on empty mailbox on some setups.
Timo Sirainen [Sat, 7 Jul 2012 02:51:37 +0000 (05:51 +0300)] 
pop3: Fixed assert crash when doing UIDL on empty mailbox on some setups.

14 years agodoveadm: Added "auth cache flush" command.
Timo Sirainen [Wed, 4 Jul 2012 07:57:40 +0000 (10:57 +0300)] 
doveadm: Added "auth cache flush" command.

14 years agoauth: Added CACHE-FLUSH command to flush some/all users from auth cache.
Timo Sirainen [Wed, 4 Jul 2012 07:56:53 +0000 (10:56 +0300)] 
auth: Added CACHE-FLUSH command to flush some/all users from auth cache.

14 years agoAdded signature for changeset 7e5f36fd989d
Timo Sirainen [Tue, 3 Jul 2012 02:15:14 +0000 (05:15 +0300)] 
Added signature for changeset 7e5f36fd989d

14 years agoAdded tag 2.1.8 for changeset 7e5f36fd989d
Timo Sirainen [Tue, 3 Jul 2012 02:15:04 +0000 (05:15 +0300)] 
Added tag 2.1.8 for changeset 7e5f36fd989d

14 years agoReleased v2.1.8. 2.1.8
Timo Sirainen [Tue, 3 Jul 2012 02:15:04 +0000 (05:15 +0300)] 
Released v2.1.8.

14 years agolmtp: Added lmtp_address_translate setting.
Timo Sirainen [Tue, 3 Jul 2012 01:23:03 +0000 (04:23 +0300)] 
lmtp: Added lmtp_address_translate setting.
The idea is that if you need userdb lookup to be done with a special kind of
a username like user:domain@extrainfo, you can set
lmtp_address_translate=%n:%d@ which translates the address to user@domain
after the userdb lookup is done.

14 years agolib-sql db cache: Reaching max_unused_connections caused a crash later.
Timo Sirainen [Tue, 3 Jul 2012 00:27:52 +0000 (03:27 +0300)] 
lib-sql db cache: Reaching max_unused_connections caused a crash later.

14 years agodoveadm server: Keep config socket open while running.
Timo Sirainen [Mon, 2 Jul 2012 23:59:53 +0000 (02:59 +0300)] 
doveadm server: Keep config socket open while running.

14 years agolayout=fs, mail_shared_explicit_inbox=no: Fixed listing nonexistent mailboxes in...
Timo Sirainen [Mon, 2 Jul 2012 22:52:00 +0000 (01:52 +0300)] 
layout=fs, mail_shared_explicit_inbox=no: Fixed listing nonexistent mailboxes in root.

14 years agoimap-quota: GETQUOTAROOT command used UTF-8 instead of mUTF-7 encoding for mailbox...
Timo Sirainen [Mon, 2 Jul 2012 22:06:24 +0000 (01:06 +0300)] 
imap-quota: GETQUOTAROOT command used UTF-8 instead of mUTF-7 encoding for mailbox name.

14 years agoimap-acl: MYRIGHTS command used UTF-8 instead of mUTF-7 encoding for mailbox name.
Timo Sirainen [Mon, 2 Jul 2012 22:06:10 +0000 (01:06 +0300)] 
imap-acl: MYRIGHTS command used UTF-8 instead of mUTF-7 encoding for mailbox name.

14 years agoimap: Mailbox names in STATUS replies were sent as UTF-8 instead of mUTF-7.
Timo Sirainen [Mon, 2 Jul 2012 11:54:33 +0000 (14:54 +0300)] 
imap: Mailbox names in STATUS replies were sent as UTF-8 instead of mUTF-7.

14 years agolmtp: Fixed previous change to make sure it doesn't crash on error handling.
Timo Sirainen [Mon, 2 Jul 2012 07:12:59 +0000 (10:12 +0300)] 
lmtp: Fixed previous change to make sure it doesn't crash on error handling.

14 years agolmtp: Don't idle-timeout LMTP client while proxying waits for DATA replies.
Timo Sirainen [Mon, 2 Jul 2012 07:09:15 +0000 (10:09 +0300)] 
lmtp: Don't idle-timeout LMTP client while proxying waits for DATA replies.

14 years agolmtp proxy: Reset timeout each time receiving a reply lin for DATA.
Timo Sirainen [Mon, 2 Jul 2012 07:05:46 +0000 (10:05 +0300)] 
lmtp proxy: Reset timeout each time receiving a reply lin for DATA.
This avoids timing out when there are a lot of RCPT TOs.

14 years agoconfig: Fixed IPv6 address handling for parsing v1.x style listen/ssl_listen settings.
Timo Sirainen [Mon, 2 Jul 2012 05:06:19 +0000 (08:06 +0300)] 
config: Fixed IPv6 address handling for parsing v1.x style listen/ssl_listen settings.

14 years agolib-storage: Fixed searching message flags with private flags index.
Timo Sirainen [Mon, 2 Jul 2012 02:14:22 +0000 (05:14 +0300)] 
lib-storage: Fixed searching message flags with private flags index.

14 years agolib-storage: Fixed STATUS_FIRST_UNSEEN_SEQ lookup with private flags index.
Timo Sirainen [Mon, 2 Jul 2012 02:14:02 +0000 (05:14 +0300)] 
lib-storage: Fixed STATUS_FIRST_UNSEEN_SEQ lookup with private flags index.

14 years agoo_stream_nsend() comment update
Timo Sirainen [Sat, 30 Jun 2012 19:27:34 +0000 (22:27 +0300)] 
o_stream_nsend() comment update

14 years agoistreams: Added default stat() implementation for filter streams.
Timo Sirainen [Fri, 29 Jun 2012 06:15:26 +0000 (09:15 +0300)] 
istreams: Added default stat() implementation for filter streams.

14 years agoistreams: Added default seek() implementation for seekable streams.
Timo Sirainen [Fri, 29 Jun 2012 06:01:56 +0000 (09:01 +0300)] 
istreams: Added default seek() implementation for seekable streams.

14 years agolib-storage: External mail attachment parsing didn't handle CRLF linefeeds correctly.
Timo Sirainen [Fri, 29 Jun 2012 05:05:08 +0000 (08:05 +0300)] 
lib-storage: External mail attachment parsing didn't handle CRLF linefeeds correctly.
This simply meant that if mail_save_crlf=yes was used, base64-encoded
attachments weren't saved base64-decoded.

14 years agolib-storage: Use the new istream-attachment-* APIs to handle external mail attachments.
Timo Sirainen [Fri, 29 Jun 2012 05:01:08 +0000 (08:01 +0300)] 
lib-storage: Use the new istream-attachment-* APIs to handle external mail attachments.

14 years agolib-mail: Added istream-attachment-[connector|extractor].
Timo Sirainen [Fri, 29 Jun 2012 05:00:19 +0000 (08:00 +0300)] 
lib-mail: Added istream-attachment-[connector|extractor].
istream-attachment-extractor can be used to parse messages and extract
attachment MIME parts from them to wanted output streams. The attachments
are base64-decoded if they can be later re-encoded to original input without
any changes.

istream-attachment-connector does the reverse by taking the base istream and
attachment istreams and merging them together to create the original
istream.

14 years agoistreams: Set (file), (fd) or (buffer) as default name for those input streams.
Timo Sirainen [Fri, 29 Jun 2012 04:56:02 +0000 (07:56 +0300)] 
istreams: Set (file), (fd) or (buffer) as default name for those input streams.

14 years agodbox: Fixed a potential crash when building message stream from external attachments.
Timo Sirainen [Fri, 29 Jun 2012 03:14:51 +0000 (06:14 +0300)] 
dbox: Fixed a potential crash when building message stream from external attachments.

14 years agoFixed ostream's new error handling not to always assert-crash.
Timo Sirainen [Thu, 28 Jun 2012 06:28:05 +0000 (09:28 +0300)] 
Fixed ostream's new error handling not to always assert-crash.

14 years agoimap: If selected mailbox is DELETEd, disconnect client.
Timo Sirainen [Thu, 28 Jun 2012 03:32:00 +0000 (06:32 +0300)] 
imap: If selected mailbox is DELETEd, disconnect client.

14 years agohash-format object can now be reset to build multiple hashes.
Timo Sirainen [Thu, 28 Jun 2012 00:20:34 +0000 (03:20 +0300)] 
hash-format object can now be reset to build multiple hashes.