c116e589182c258b463850327755e6dd9a731616 |
|
18-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Move common recipient handling code to separate file. |
823802b00ed82188e8666ad980379070e89c9009 |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Removed useless ssl_start parameter for client_create().
The same information is already contained in the conn parameter. |
b8b2cc4e58aef3759ed071d78afaa8319266afc4 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Changed message data handling to use iostream-temp.
The existing code predates iostream-temp. |
88201d8446bad86d232ae18945f1c8fc56f70cd7 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: client: Made client_remote_id() static. |
b73539ef2de3db3abc0ad5f729406e695e4cb76b |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Ported to use lib-smtp/server.
Implicitly fixes handling of multi-line replies from proxy backend.
Implicitly adds support for mixing local and proxy recipients.
Implicitly adds support for SMTP CHUNKING.
RCPT failures are reported back to the client immediately, rather than waiting for the DATA command. |
2b7d6fbaadd62e66c858bae0358232c02369b43b |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Split off local delivery in a struct separate from the client.
This mimics proxy delivery, making the implementation better structured. |
ce7a45d15786c7434546bd9da60fae08fc157f13 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: client: Dropped useless rcpt_idx state.
Recent refactoring made it obsolete. |
447ae13a88887d9503c05be61a4368cfae44d96d |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Renamed struct mail_recipient to struct lmtp_recipient. |
3a1c07860253ea9c7dd7801f9d8a94b6827b94d7 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: client: Moved soon-to-be-obsolete output handling functions to end of the file. |
eac03bb795495c3934022059989d3fe360e904bb |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: client: Moved soon-to-be-obsolete input handling functions to end of the file. |
0029bf606761c2adb611571c00cad699ae37c36a |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_rcpt_anvil_disconnect() from client.c to lmtp-local.c. |
09cd817096fb74cc16634ea5823e95ac6a3dfdfa |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Changed implemention to use lib-smtp/smtp-client. |
de0971aff3009fe6906c3631e8322908658a5e93 |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-lda: Added SMTP parameter fields to struct mail_deliver_context.
This moves the original recipient field inside the SMTP parameters.
This also affects both lda and lmtp. Changes are applied there accordingly. |
3d7828efd92ecc0d08049f727d9be0154d1d681b |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-lda: Changed struct mail_deliver_context address fields to use the new struct smtp_address type. |
553a131eddb46d97967fd9610408b7f0829eab6f |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Increase user's concurrency limit already after RCPT TO.
This way it's not possible for a lot of mails to arrive to user concurrently
and bypass the lmtp_user_concurrency_limit. |
ced943b0a9b49a5be38516302fe1631c1883deba |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: If user has rached lmtp_user_concurrency_limit, fail at RCPT TO stage.
Otherwise LMTP client would have to send the entire email body before
getting the failure. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
aeea3dbd1f4031634f7b318614adf51dcfc79f42 |
|
07-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Use separate session ID suffixes for each RCPT TO delivery.
Otherwise each delivery will use the same session ID when talking to stats
process, which results in errors like:
Error: stats: FIFO input error: CONNECT: Duplicate session ID ME3ZHCi+A1dUDQAAvAUe3g for user foobar service lmtp
Warning: stats: Couldn't find session ID: ME3ZHCi+A1dUDQAAvAUe3g
(There was a DISCONNECT for the session ID between these two log lines.) |
009217abb57a24a4076092e8e4e165545747839e |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Changed type of internet port values to in_port_t everywhere.
Created special SET_IN_PORT setting type for internet port values.
Created net_str2port() for parsing internet port values.
Removed several atoi() invocations in the process. |
6b6011c2242e470b41316f92512b282b5e306dac |
|
21-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
lda, lmtp: Added delivery_time and session_time variables to deliver_log_format
session_time is meaningful only with LMTP. The delivery_time is separate for
each mail delivery. The results are in milliseconds now. If needed we could
add a new %modifier that converts it into secs.millisecs. |
42abccd9b2a5a4190bd3c14ec2dcc10d51c0f491 |
|
06-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added lmtp_user_concurrency_limit setting.
This allows limiting the number of concurrent deliveries to a single user.
Useful in case one user is receiving a lot of mails and causing other
deliveries to be delayed. If the limit is reached, Dovecot returns temporary
failure error at DATA stage. |
b02e7bac5b8b19795884229f64e6fbbd93a0d2de |
|
06-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Changed rcpt_to array to contain pointers to struct mail_recipient
This allow storing the pointers so they don't change. |
38f624b427aa8b6fad3765e6efd97c85a7f97a09 |
|
13-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added support for DSN ORCPT parameter.
If the parameter is specified, it's used as the original recipient address
in Sieve. The ORCPT parameter is also proxied to destination LMTP server if
used (without checking if it supports it). We don't currently advertise DSN
extension, so this feature won't be enabled automatically. |
d65cc3312d3126d34b51ae8eccd6b48215d50029 |
|
12-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Show more information in process title.
Most importantly show the username while messages are being delivered. |
4fbf59562594dbbbe037f8d4c480dbf88f3fc708 |
|
29-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added support for STARTTLS command. |
ee77aba32f3d05ecd87cca445c77e1f1095035e2 |
|
20-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Put back the deduplication code.
Too dangerous after all to change it in the middle of v2.2.x. It's also not
causing that much trouble even when it breaks.. |
0c7087c6503ba5d081bbe6465f1c84d8994e1ea6 |
|
04-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Small code cleanup |
c61164c50f56bfe3ec9458d8ddcce51f7c7ac25e |
|
03-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Removed code that attempts to deduplicate mail files by copying them between user mailboxes.
This sometimes started failing if the mail that was being used for copying
was deleted by the user. There's no good way for lmtp code to fix that
situation.
If deduplication is needed, it could be implemented in a more generic way
inside mailbox_copy() where after initial copy it would store the
destination struct mail to src_mail->last_copy_dest_mail. If another mail is
copied, the last_copy_dest_mail could be attempted to be used for the
copying and if that doesn't work it would fallback to regular copying. This
should probably be attempted only for lda/lmtp processes as it would just
cause extra overhead for others. |
32efae185f1f86167b3f00ea84f8502940c6c677 |
|
13-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: Make it clear that the lda_settings is unexpanded in struct client. |
2ba9851abbaffe9592c06c0060dce40bb6da3b78 |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: Log a bit nicer message when client QUITs.
I did think about removing the connect and successful disconnect messages
entirely, but these may be useful when debugging problems with MTA. |
30fc0b14f0d99a86c04aacff311e4cf2ddd5ff12 |
|
05-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: If verbose_proctitle=yes, update the process state in the title. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
a566d9f8797dd66b4d5432a20ab2b9f7c8f76102 |
|
28-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Forward proxy_timeout to backend and set mail_max_lock_timeout based on it.
This automatically avoids duplicate mail deliveries caused by long lock
waits. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
ddbdc644a15f56f4b43596f1b8c0fc196c101445 |
|
25-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
imap/pop3/lmtp proxy: Implemented detection of proxy loops with TTL.
If proxying tries to continue after 5 forward connections, it fails. The
limit of 5 is hard coded currently. |
b015d3d3af5b1c0fd526f31d78229bf9f633db56 |
|
23-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp: Implemented Postfix-compatible XCLIENT extension for changing client's ip/port. |
8aa60989067046e35c4809a616b46473fce0113e |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Code cleanup. |
ed45903d7ad49b3d54f0883b203632fbccf8eff2 |
|
30-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Log the current state in disconnect message. |
fcd443a32b01c4da131f36649d5a5fa5f8452dcf |
|
17-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't forget LHLO host when sending multiple messages in session. |
4afd50dff16661684ad2acddad7284bcd8c564db |
|
30-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Recent change broke accessing mail_temp_dir.
Also when it happened, an error message wasn't always logged. |
c5c61a6a9d748525ff3b2dd2705844464bed324f |
|
16-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Reverted accidentally committed debug code |
55a14bce15b9f44441b5f56616d73651a294d770 |
|
15-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_dir setting, used by deliver and lmtp for creating temp mail files. |
e93ab1b206e3792a8dabc460ad2ee60aaf6830b1 |
|
23-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: BODY=* setting wasn't reset with RSET
--HG--
branch : HEAD |
9deb15b8dec1a593940d72532ececc673c6b48ff |
|
25-May-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Add Return-Path: header. Also with only one RCPT TO, add Delivered-To: header.
--HG--
branch : HEAD |
9a935c34e98ba7a9cc90784ceb63b2fbdab4105f |
|
11-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Added recipient_delimiter setting that LMTP server now uses.
--HG--
branch : HEAD |
4818cf6ae9cda663ad68823fd83b18ac380a8a4d |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Disable idle timeout while proxying.
--HG--
branch : HEAD |
eed03830015b7138b9d4522e72bef650aa24b45f |
|
05-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Add Received: header, with a session ID. Log the session ID also.
--HG--
branch : HEAD |
2fb9ae42f9e36388ec6db24188b9108434043fd0 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed APIs to fix reading settings for multiple users.
--HG--
branch : HEAD |
4da8c6cdefabd31262318c32da3c13de1d9ea953 |
|
22-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Merged single and multi mail_storage_service_*() functions.
--HG--
branch : HEAD |
458acd7b39c84bae0d18c36ff9ddff9a49b4ae4a |
|
12-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added lmtp_proxy setting (it's no longer hardcoded to yes).
--HG--
branch : HEAD |
c2ebc8f28b5504f280cd5d4adfe57ed70f9a7d83 |
|
31-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added initial support for proxying mails to other LMTP/SMTP servers.
--HG--
branch : HEAD |
c4390dad33b03dd51ba2a475f550347c86ebdb9a |
|
23-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Use dot istream for reading DATA input.
--HG--
branch : HEAD |
315ce5be539bfe8bc7777ab0654499c49583cea2 |
|
17-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial implementation of LMTP server. Master process doesn't yet execute it though.
--HG--
branch : HEAD |