]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agodirector: Directors weren't always marked as restarted when they were.
Timo Sirainen [Fri, 20 Sep 2013 07:12:24 +0000 (10:12 +0300)] 
director: Directors weren't always marked as restarted when they were.

12 years agodirector: Fix & improvement to debug logging.
Timo Sirainen [Fri, 20 Sep 2013 07:11:45 +0000 (10:11 +0300)] 
director: Fix & improvement to debug logging.

12 years agodirector: Added more debug logging.
Timo Sirainen [Fri, 20 Sep 2013 07:00:48 +0000 (10:00 +0300)] 
director: Added more debug logging.

12 years agodirector: Don't assert-crash if PASS lookup fails.
Timo Sirainen [Fri, 20 Sep 2013 06:46:31 +0000 (09:46 +0300)] 
director: Don't assert-crash if PASS lookup fails.

12 years agodsync: Don't log "Mailbox changes caused a desync" warning when running via doveadm...
Timo Sirainen [Fri, 20 Sep 2013 01:27:29 +0000 (04:27 +0300)] 
dsync: Don't log "Mailbox changes caused a desync" warning when running via doveadm-server.

12 years agossl-params: Long-running ssl-params process shouldn't cause Dovecot restart to fail.
Timo Sirainen [Fri, 20 Sep 2013 01:20:22 +0000 (04:20 +0300)] 
ssl-params: Long-running ssl-params process shouldn't cause Dovecot restart to fail.

12 years agolib-ssl-iostream: Give better error message if CA settings are missing.
Timo Sirainen [Fri, 20 Sep 2013 01:01:10 +0000 (04:01 +0300)] 
lib-ssl-iostream: Give better error message if CA settings are missing.

12 years agodbox: Fixed "UIDVALIDITY=0" error race condition.
Timo Sirainen [Fri, 20 Sep 2013 00:54:31 +0000 (03:54 +0300)] 
dbox: Fixed "UIDVALIDITY=0" error race condition.
If session 1 had mkdir()ed but not yet created the initial index, while
session 2 attempted to open the mailbox, it would create an empty index and
log the error.

12 years agomaster: Make sure new processes aren't created after stop signal is received.
Timo Sirainen [Fri, 20 Sep 2013 00:41:51 +0000 (03:41 +0300)] 
master: Make sure new processes aren't created after stop signal is received.

12 years agombox: Handle correctly if MAIL_FETCH_HEADER_MD5 lookup fails because mail is already...
Timo Sirainen [Thu, 19 Sep 2013 23:38:53 +0000 (02:38 +0300)] 
mbox: Handle correctly if MAIL_FETCH_HEADER_MD5 lookup fails because mail is already expunged.

12 years agolib-auth: Don't leave stale pointers to stack lying around in memory.
Timo Sirainen [Thu, 19 Sep 2013 23:28:45 +0000 (02:28 +0300)] 
lib-auth: Don't leave stale pointers to stack lying around in memory.

12 years agoioloop-kqueue: Added assert
Timo Sirainen [Thu, 19 Sep 2013 21:59:36 +0000 (00:59 +0300)] 
ioloop-kqueue: Added assert

12 years agoimap: If FETCH fails, log the stream's error string instead of errno.
Timo Sirainen [Thu, 19 Sep 2013 21:22:15 +0000 (00:22 +0300)] 
imap: If FETCH fails, log the stream's error string instead of errno.

12 years agoistream-chain/concat/seekable: When child stream fails, copy its error to ourself.
Timo Sirainen [Thu, 19 Sep 2013 21:20:19 +0000 (00:20 +0300)] 
istream-chain/concat/seekable: When child stream fails, copy its error to ourself.

12 years agoistream-file: Assert-crash if read() fails with EBADF.
Timo Sirainen [Thu, 19 Sep 2013 21:14:11 +0000 (00:14 +0300)] 
istream-file: Assert-crash if read() fails with EBADF.
Something's already wrong at that point and it may not be safe to continue.
Also crashing makes it easier to debug such situation.

12 years agoiostreams: Set stream error string when it provides extra information.
Timo Sirainen [Thu, 19 Sep 2013 21:12:45 +0000 (00:12 +0300)] 
iostreams: Set stream error string when it provides extra information.

12 years agoiostream: Added ability to set/get error strings for streams.
Timo Sirainen [Thu, 19 Sep 2013 21:00:49 +0000 (00:00 +0300)] 
iostream: Added ability to set/get error strings for streams.

12 years agodoveadm: Added "auth lookup" command to do a passdb lookup.
Timo Sirainen [Thu, 19 Sep 2013 19:44:20 +0000 (22:44 +0300)] 
doveadm: Added "auth lookup" command to do a passdb lookup.

12 years agoauth: Fixed non-auth passdb lookup when password had ".<encoding>" suffix.
Timo Sirainen [Thu, 19 Sep 2013 19:43:45 +0000 (22:43 +0300)] 
auth: Fixed non-auth passdb lookup when password had ".<encoding>" suffix.

12 years agoimapc: Abort pending commands before any deinitialization to avoid crashes.
Timo Sirainen [Thu, 19 Sep 2013 19:20:56 +0000 (22:20 +0300)] 
imapc: Abort pending commands before any deinitialization to avoid crashes.

12 years agolib-http: Created tests for http_request_parser.
Stephan Bosch [Wed, 18 Sep 2013 20:24:30 +0000 (23:24 +0300)] 
lib-http: Created tests for http_request_parser.

12 years agouri-util: Improved authority 'host' parse error.
Stephan Bosch [Wed, 18 Sep 2013 20:24:22 +0000 (23:24 +0300)] 
uri-util: Improved authority 'host' parse error.

12 years agolib-http: http-url: Fixed return of proper error message in case of a failure to...
Stephan Bosch [Wed, 18 Sep 2013 20:24:11 +0000 (23:24 +0300)] 
lib-http: http-url: Fixed return of proper error message in case of a failure to parse request target Host header.
Assigned the error to the parser object rather than returning it directly.

12 years agolib-http: Fixed handling of limits=NULL parameter for http_request_parser_init.
Stephan Bosch [Wed, 18 Sep 2013 20:24:02 +0000 (23:24 +0300)] 
lib-http: Fixed handling of limits=NULL parameter for http_request_parser_init.
Got messed up in patch queue.

12 years agodsync: Don't attempt to access mailbox contents with -g "" or -m "" parameter.
Timo Sirainen [Tue, 17 Sep 2013 21:00:05 +0000 (00:00 +0300)] 
dsync: Don't attempt to access mailbox contents with -g "" or -m "" parameter.

12 years agolib-storage: Added a separate prefix for server metadata that aren't deleted with...
Timo Sirainen [Tue, 17 Sep 2013 20:32:57 +0000 (23:32 +0300)] 
lib-storage: Added a separate prefix for server metadata that aren't deleted with INBOX.

12 years agodsync: Improved debug/error logging for changes during sync.
Timo Sirainen [Tue, 17 Sep 2013 20:12:03 +0000 (23:12 +0300)] 
dsync: Improved debug/error logging for changes during sync.

12 years agolib-http: Added (non-default) support for parsing user:pasword from HTTP URL.
Stephan Bosch [Tue, 17 Sep 2013 18:57:48 +0000 (21:57 +0300)] 
lib-http: Added (non-default) support for parsing user:pasword from HTTP URL.

12 years agolib-imap: imap-url: Forgot to check for the presence of ':' in userinfo, which is...
Stephan Bosch [Tue, 17 Sep 2013 18:57:14 +0000 (21:57 +0300)] 
lib-imap: imap-url: Forgot to check for the presence of ':' in userinfo, which is not allowed.

12 years agoimap: Fixed/improved error logging for FETCH
Timo Sirainen [Mon, 16 Sep 2013 07:05:24 +0000 (10:05 +0300)] 
imap: Fixed/improved error logging for FETCH

12 years agolib-http: http-client: Allow overriding all implicitly generated special headers.
Stephan Bosch [Mon, 16 Sep 2013 23:40:17 +0000 (02:40 +0300)] 
lib-http: http-client: Allow overriding all implicitly generated special headers.
Which are: Connection, Content-Length, Date, Expect, Host, and Transfer-Encoding.

12 years agoFixed uri_parse_slashslash_authority() to skip over "//".
Timo Sirainen [Mon, 16 Sep 2013 10:17:52 +0000 (13:17 +0300)] 
Fixed uri_parse_slashslash_authority() to skip over "//".

12 years agolib-http: http-client: Fixed segfault caused by earlier improvement of connection...
Stephan Bosch [Sun, 15 Sep 2013 22:02:03 +0000 (01:02 +0300)] 
lib-http: http-client: Fixed segfault caused by earlier improvement of connection output locking.
Segfault was triggered when an aborted request received a response.

12 years agolib-http: http-client: Implemented explicit HTTP/1.0 support.
Stephan Bosch [Sun, 15 Sep 2013 00:56:47 +0000 (03:56 +0300)] 
lib-http: http-client: Implemented explicit HTTP/1.0 support.

12 years agolib-http: Added support for handling HTTP/1.0 messages explicitly.
Stephan Bosch [Sun, 15 Sep 2013 00:56:25 +0000 (03:56 +0300)] 
lib-http: Added support for handling HTTP/1.0 messages explicitly.
This means that default connection persistence semantics are inverted for
HTTP/1.0 and keep-alive Connection option is recognized.

12 years agolib-http: Added support for parsing Expect: header (currently only accepts `100-conti...
Stephan Bosch [Sun, 15 Sep 2013 00:55:57 +0000 (03:55 +0300)] 
lib-http: Added support for parsing Expect: header (currently only accepts `100-continue').

12 years agolib-http: http-request-parser: Added function to test whether payload from previous...
Stephan Bosch [Sun, 15 Sep 2013 00:55:11 +0000 (03:55 +0300)] 
lib-http: http-request-parser: Added function to test whether payload from previous request is still being parsed.
This is needed in the server implementation to check whether a request is
completely read.

12 years agolib-http: Implemented limits on request method and target length.
Stephan Bosch [Sun, 15 Sep 2013 00:54:04 +0000 (03:54 +0300)] 
lib-http: Implemented limits on request method and target length.

12 years agolib-http: Added support for enforcing a payload limit for incoming HTTP messages.
Stephan Bosch [Sun, 15 Sep 2013 00:52:01 +0000 (03:52 +0300)] 
lib-http: Added support for enforcing a payload limit for incoming HTTP messages.

12 years agolib-http: Adjusted message and request parsers to return an error code.
Stephan Bosch [Sun, 15 Sep 2013 00:50:08 +0000 (03:50 +0300)] 
lib-http: Adjusted message and request parsers to return an error code.

12 years agolib-http: Adjusted request parser to pre-parse the request target and host header...
Stephan Bosch [Sun, 15 Sep 2013 00:47:54 +0000 (03:47 +0300)] 
lib-http: Adjusted request parser to pre-parse the request target and host header into a proper target url.

12 years agolib-http: Added support for parsing request target URLs.
Stephan Bosch [Sun, 15 Sep 2013 00:47:29 +0000 (03:47 +0300)] 
lib-http: Added support for parsing request target URLs.

12 years agolib-http: Improved display of invalid characters in parse error messages.
Stephan Bosch [Sun, 15 Sep 2013 00:46:25 +0000 (03:46 +0300)] 
lib-http: Improved display of invalid characters in parse error messages.

12 years agolib-http: Implemented limits on overall HTTP header size, size of individual header...
Stephan Bosch [Sun, 15 Sep 2013 00:46:12 +0000 (03:46 +0300)] 
lib-http: Implemented limits on overall HTTP header size, size of individual header fields and the number of fields in the header.

12 years agolib-http: Unified http-request.h and http-response.h headers.
Stephan Bosch [Sun, 15 Sep 2013 00:44:42 +0000 (03:44 +0300)] 
lib-http: Unified http-request.h and http-response.h headers.
Renamed struct http_response_header to struct http_header_field,
encapsulated the array in struct http_header and put it all in
http-header.h/c Added inline utility functions for header querying and
getting response/request payload size.

12 years agolib-http: Improved message header and body parsing for better RFC compliance.
Stephan Bosch [Sun, 15 Sep 2013 00:39:45 +0000 (03:39 +0300)] 
lib-http: Improved message header and body parsing for better RFC compliance.
Added pre-parsed transfer-encoding and connection header content (array) to
parsed message struct. Fixed message body handling for when both
transfer-encoding and content-length headers are missing. Now duplicates of
unique important message headers yield an error.

12 years agolib-http: Added support for parsing HTTP word syntax, which includes quoted-string.
Stephan Bosch [Sun, 15 Sep 2013 00:37:59 +0000 (03:37 +0300)] 
lib-http: Added support for parsing HTTP word syntax, which includes quoted-string.

12 years agolib-http: Adjusted message parser to accept pool from caller.
Stephan Bosch [Sun, 15 Sep 2013 00:36:44 +0000 (03:36 +0300)] 
lib-http: Adjusted message parser to accept pool from caller.

12 years agolib-http: Adjusted response and request parsers to accept a request/response object...
Stephan Bosch [Sun, 15 Sep 2013 00:36:18 +0000 (03:36 +0300)] 
lib-http: Adjusted response and request parsers to accept a request/response object to fill with data, rather than have it return one.

12 years agolib-http: Added support for asynchronous payload for requests.
Stephan Bosch [Sun, 15 Sep 2013 00:35:04 +0000 (03:35 +0300)] 
lib-http: Added support for asynchronous payload for requests.
This means that the payload stream passed to the request can be a
non-blocking socket stream from some other connection (e.g. proxy client
connection).

12 years agouri-util: Added support for parsing bare authority URI component (for use in HTTP).
Stephan Bosch [Sun, 15 Sep 2013 00:34:06 +0000 (03:34 +0300)] 
uri-util: Added support for parsing bare authority URI component (for use in HTTP).

12 years agolib-http: http-client: Requests now automatically generate a Date header.
Stephan Bosch [Sun, 15 Sep 2013 00:33:44 +0000 (03:33 +0300)] 
lib-http: http-client: Requests now automatically generate a Date header.
The used date value is normally the submission time of the request, but it
can be set explicitly.

12 years agolib-http: Fixed client connection and peer log labels to show proper IPv6 peers.
Stephan Bosch [Sun, 15 Sep 2013 00:33:04 +0000 (03:33 +0300)] 
lib-http: Fixed client connection and peer log labels to show proper IPv6 peers.
The labels did not put IPv6 addresses in square brackets.

12 years agolib-http: Removed useless prev,next fields from struct http_client_request.
Stephan Bosch [Sun, 15 Sep 2013 00:32:11 +0000 (03:32 +0300)] 
lib-http: Removed useless prev,next fields from struct http_client_request.

12 years agolib-http: Fixed handling of non-standard CRLF at end of request.
Stephan Bosch [Sun, 15 Sep 2013 00:31:51 +0000 (03:31 +0300)] 
lib-http: Fixed handling of non-standard CRLF at end of request.

12 years agolib-http: http-client: Fixed request scheduling and connection management.
Stephan Bosch [Sun, 15 Sep 2013 00:31:28 +0000 (03:31 +0300)] 
lib-http: http-client: Fixed request scheduling and connection management.

12 years agolib-http: http-client: Fixed leak of ostream when request was resubmitted upon 417...
Stephan Bosch [Sun, 15 Sep 2013 00:29:03 +0000 (03:29 +0300)] 
lib-http: http-client: Fixed leak of ostream when request was resubmitted upon 417 response regarding 100-continue.
This would only occur when the server refuses Expect: 100-continue with a
417 response. The payload_output stream would be overwritten without being
freed first.

12 years agolib-http: http-client: Connection was using wrong request index in request_wait_list...
Stephan Bosch [Sun, 15 Sep 2013 00:28:21 +0000 (03:28 +0300)] 
lib-http: http-client: Connection was using wrong request index in request_wait_list to continue sending outgoing payload.

12 years agolib-http: http-client: Fixed pipelining when payload synchronizatio (100-continue...
Stephan Bosch [Sun, 15 Sep 2013 00:27:31 +0000 (03:27 +0300)] 
lib-http: http-client: Fixed pipelining when payload synchronizatio (100-continue) is used.
Forgot to lock the connection output, which meant that new requests would
enqueued for the connection while waiting for 100 Continue. This would
cause an assert failure.

12 years agoComment update.
Timo Sirainen [Fri, 13 Sep 2013 21:26:58 +0000 (00:26 +0300)] 
Comment update.

12 years agolib-fs: If backend doesn't implement exists(), emulate it with stat().
Timo Sirainen [Fri, 13 Sep 2013 21:26:45 +0000 (00:26 +0300)] 
lib-fs: If backend doesn't implement exists(), emulate it with stat().

12 years agodoveadm: Don't refer to old doveadm_proxy_port setting name in error message.
Timo Sirainen [Thu, 12 Sep 2013 00:52:01 +0000 (03:52 +0300)] 
doveadm: Don't refer to old doveadm_proxy_port setting name in error message.

12 years agoistream-hash: Data was hashed multiple times in some situations
Timo Sirainen [Wed, 11 Sep 2013 23:58:51 +0000 (02:58 +0300)] 
istream-hash: Data was hashed multiple times in some situations

12 years agoistream: Improved "stream not seekable" panic message.
Timo Sirainen [Wed, 11 Sep 2013 23:33:01 +0000 (02:33 +0300)] 
istream: Improved "stream not seekable" panic message.

12 years agoistream-hash: Allow seeking, but only after reading the hash.
Timo Sirainen [Wed, 11 Sep 2013 23:32:47 +0000 (02:32 +0300)] 
istream-hash: Allow seeking, but only after reading the hash.

12 years agoauth: auth-client socket should be owned by $default_internal_user
Timo Sirainen [Wed, 11 Sep 2013 22:38:54 +0000 (01:38 +0300)] 
auth: auth-client socket should be owned by $default_internal_user
It's mostly the same as auth-login, which is also owned by it.

12 years agolib-fs: Added support for asynchronous fs iteration.
Timo Sirainen [Tue, 10 Sep 2013 01:11:03 +0000 (04:11 +0300)] 
lib-fs: Added support for asynchronous fs iteration.

12 years agolib-fs: Added support for giving a hash of the written data to be verified by storage.
Timo Sirainen [Mon, 9 Sep 2013 21:27:12 +0000 (00:27 +0300)] 
lib-fs: Added support for giving a hash of the written data to be verified by storage.

12 years agoliblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen [Mon, 9 Sep 2013 01:34:58 +0000 (04:34 +0300)] 
liblib: Added istream-hash, similar to ostream-hash.

12 years agoMinor code cleanup.
Timo Sirainen [Mon, 9 Sep 2013 01:34:45 +0000 (04:34 +0300)] 
Minor code cleanup.

12 years agohmac: Fixed crashes on CPUs that don't allow unaligned memory access.
Timo Sirainen [Sun, 8 Sep 2013 16:20:39 +0000 (19:20 +0300)] 
hmac: Fixed crashes on CPUs that don't allow unaligned memory access.

12 years agoauth: Removed unnecessary NULL check.
Timo Sirainen [Fri, 6 Sep 2013 15:30:54 +0000 (18:30 +0300)] 
auth: Removed unnecessary NULL check.

12 years agoimapc: Don't crash if server sends EXISTS while mailbox isn't selected.
Timo Sirainen [Fri, 6 Sep 2013 15:28:59 +0000 (18:28 +0300)] 
imapc: Don't crash if server sends EXISTS while mailbox isn't selected.

12 years agofts-lucene: Fixed crash in doveadm dumping lucene index.
Timo Sirainen [Fri, 6 Sep 2013 15:26:48 +0000 (18:26 +0300)] 
fts-lucene: Fixed crash in doveadm dumping lucene index.

12 years agoAvoid doing side effects in assert.
Timo Sirainen [Thu, 5 Sep 2013 23:39:56 +0000 (02:39 +0300)] 
Avoid doing side effects in assert.

12 years agolib-index: Minor fix to regenerating missing transaction log parts.
Timo Sirainen [Thu, 5 Sep 2013 23:39:16 +0000 (02:39 +0300)] 
lib-index: Minor fix to regenerating missing transaction log parts.

12 years agolib-lda: Fixed passing through error message when mailbox couldn't be opened.
Timo Sirainen [Thu, 5 Sep 2013 18:06:50 +0000 (21:06 +0300)] 
lib-lda: Fixed passing through error message when mailbox couldn't be opened.

12 years agoAnd removed accidentally committed nbsp.
Timo Sirainen [Wed, 4 Sep 2013 19:43:47 +0000 (22:43 +0300)] 
And removed accidentally committed nbsp.

12 years agoFixed file descriptor leaks in rather unimportant places.
Timo Sirainen [Wed, 4 Sep 2013 19:41:42 +0000 (22:41 +0300)] 
Fixed file descriptor leaks in rather unimportant places.
Found by Coverity scan.

12 years agolib-index: Fixed modseq updates when modseq was over 32bits long
Timo Sirainen [Wed, 4 Sep 2013 19:16:02 +0000 (22:16 +0300)] 
lib-index: Fixed modseq updates when modseq was over 32bits long

12 years agoi_close_fd() didn't handle errors correctly with gcc.
Timo Sirainen [Wed, 4 Sep 2013 19:13:01 +0000 (22:13 +0300)] 
i_close_fd() didn't handle errors correctly with gcc.

12 years agoFixed off-by-one buffer overflows (practically non-exploitable).
Timo Sirainen [Wed, 4 Sep 2013 18:23:33 +0000 (21:23 +0300)] 
Fixed off-by-one buffer overflows (practically non-exploitable).
Found by Coverity scan.

12 years agomaster: Fix to previous pre-forking change.
Timo Sirainen [Mon, 2 Sep 2013 14:44:39 +0000 (17:44 +0300)] 
master: Fix to previous pre-forking change.

12 years agomaster: Pre-fork processes only while master doesn't have more important things to do.
Timo Sirainen [Mon, 2 Sep 2013 14:37:47 +0000 (17:37 +0300)] 
master: Pre-fork processes only while master doesn't have more important things to do.

12 years agolib-master: If net_connect_unix() fails with EAGAIN, point to a wiki link for reasons.
Timo Sirainen [Mon, 2 Sep 2013 14:06:49 +0000 (17:06 +0300)] 
lib-master: If net_connect_unix() fails with EAGAIN, point to a wiki link for reasons.

12 years agolib-ssl-iostream: Don't assert-crash if stream buffer gets full.
Timo Sirainen [Thu, 29 Aug 2013 13:42:55 +0000 (16:42 +0300)] 
lib-ssl-iostream: Don't assert-crash if stream buffer gets full.

12 years agolib-storage: Auto-create dovecot-uidvalidity's missing parent directory
Timo Sirainen [Wed, 28 Aug 2013 21:57:13 +0000 (00:57 +0300)] 
lib-storage: Auto-create dovecot-uidvalidity's missing parent directory

12 years agoFixed compiling with old gcc.
Timo Sirainen [Wed, 28 Aug 2013 21:53:30 +0000 (00:53 +0300)] 
Fixed compiling with old gcc.

12 years agodbox: When fixing a broken file, try harder to find only valid message/metadata posit...
Timo Sirainen [Tue, 27 Aug 2013 01:06:43 +0000 (04:06 +0300)] 
dbox: When fixing a broken file, try harder to find only valid message/metadata positions.
The previous method sometime broke with compressed mail content, because the
magic blocks were so short.

12 years agodirector: Reset last-seen-sync-sequence after remote director restarts.
Timo Sirainen [Wed, 21 Aug 2013 20:30:07 +0000 (23:30 +0300)] 
director: Reset last-seen-sync-sequence after remote director restarts.

12 years agolib-storage: When doing a fast sync, refresh index to see if it had any changes.
Timo Sirainen [Wed, 21 Aug 2013 17:03:13 +0000 (20:03 +0300)] 
lib-storage: When doing a fast sync, refresh index to see if it had any changes.
I'm pretty sure this used to be done earlier, but probably some
optimizations dropped it at some point.

12 years agoimap: Fixed potential assert crash in APPEND.
Timo Sirainen [Wed, 21 Aug 2013 16:40:54 +0000 (19:40 +0300)] 
imap: Fixed potential assert crash in APPEND.

12 years agoman: doveadm-pw.1: Option -p can also be used with -t.
Pascal Volk [Sat, 17 Aug 2013 15:01:25 +0000 (15:01 +0000)] 
man: doveadm-pw.1: Option -p can also be used with -t.

12 years agodirector: Previous change caused legitimate SYNC resends to be ignored.
Timo Sirainen [Thu, 15 Aug 2013 17:25:12 +0000 (20:25 +0300)] 
director: Previous change caused legitimate SYNC resends to be ignored.

12 years agolmtp: Make it clear that the lda_settings is unexpanded in struct client.
Timo Sirainen [Tue, 13 Aug 2013 18:02:04 +0000 (21:02 +0300)] 
lmtp: Make it clear that the lda_settings is unexpanded in struct client.

12 years agoMinor change to prevent invalid code changes.
Timo Sirainen [Tue, 13 Aug 2013 17:59:39 +0000 (20:59 +0300)] 
Minor change to prevent invalid code changes.

12 years agolib-lda: Default postmaster_address wasn't being set.
Timo Sirainen [Tue, 13 Aug 2013 17:58:56 +0000 (20:58 +0300)] 
lib-lda: Default postmaster_address wasn't being set.
This broke after it was set to allow %variables.

12 years agolib-lda: Don't alow %variables for hostname setting after all.
Timo Sirainen [Tue, 13 Aug 2013 17:57:41 +0000 (20:57 +0300)] 
lib-lda: Don't alow %variables for hostname setting after all.
I was thinking maybe %d could be used there, but with LMTP the hostname is
used already in the greeting message before any RCPT TO is even done.

12 years agoauth: Added %{domain_first} and %{domain_last} variables.
Timo Sirainen [Mon, 12 Aug 2013 16:02:07 +0000 (19:02 +0300)] 
auth: Added %{domain_first} and %{domain_last} variables.
They are both equal to %d normally, but differ when there are multiple '@'
characters in the domain.

12 years agolib-storage: If dovecot.index.thread corruption is noticed, delete the file.
Timo Sirainen [Mon, 12 Aug 2013 14:24:05 +0000 (17:24 +0300)] 
lib-storage: If dovecot.index.thread corruption is noticed, delete the file.