bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
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. |
1aae941faa3c07037f54a48d5c81ad78f079b078 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Removed structural comments that are now useless. |
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. |
f0a4f00d0312c101a69e2d5b2612d6300bb89367 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Created local variable for client->dot_input in client_input_data_handle(). |
7bb87935448ddcb2ead23022f556a595c4946bf8 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Renamed client_input_add() to cmd_data_input_add(). |
d8720e440375f80a2f55fe9c9650b1d3b2e37159 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Renamed client_input_add_file() to cmd_data_input_add_file(). |
d41037c2b3e258e4e1fc73366d3fb191ffce64b6 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Renamed client_get_input() to cmd_data_get_input(). |
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. |
bc1306f129e92eae1738a544a89bd7b2e4f6f735 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Moved RCPT command handling relating to local recipients to lmtp-local.c. |
8a68f5bb807b5233e191641e7e7f993e707ae369 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed client_input_data_write_local() to lmtp_local_data(). |
652962cb6083925a85e80a70469e69c9b77db957 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Changed return type of lmtp_proxy_rcpt() from bool to int. |
e4161404db08e61e835b330e8e12a4d0eb321ed3 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Renamed client_proxy_rcpt() to lmtp_proxy_rcpt(). |
447ae13a88887d9503c05be61a4368cfae44d96d |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Renamed struct mail_recipient to struct lmtp_recipient. |
ebdfdb765f3ce2176c3483b5416b51af9593aca2 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Added structural comments. |
5f2855fe620b87f960dc24e16c578a4c820ef45c |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved code relating to proxy from commands.c to lmtp-proxy.c. |
cbd1d1a197f57d894c22863058b0ea3f2d2f68ff |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_input_data_write_local() from commands.c to lmtp-local.c. |
e3d554ca3408b7ea692f6f0b9ef5e6579e345627 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_open_raw_mail() from commands.c to lmtp-local.c. |
420dc25a312689198499a7d1a917f54da24e506f |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_rcpt_fail_all() from commands.c to lmtp-local.c. |
fb2e20a30de93e83bbfe407f8231181f69ae684f |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_deliver_to_rcpts() from commands.c to lmtp-local.c. |
4c10d203d1581b9e850a0e4552567fe7fec9598b |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_deliver() from commands.c to lmtp-local.c. |
a3259cc32f0d62c6e495b959393b2c2f4184167b |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved rcpt_anvil_lookup_callback() from commands.c to lmtp-local.c. |
1d2e367e199368932c02a306ddedbc7566553a15 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved cmd_rcpt_finish() from commands.c to lmtp-local.c. |
4df5abb0254e611264c801535a9a6cad8a6ac7b1 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved lmtp_anvil_init() from commands.c to main.c.
It fits better there. |
09cd817096fb74cc16634ea5823e95ac6a3dfdfa |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Changed implemention to use lib-smtp/smtp-client. |
ad8d2060ac0eac3b61fa490bf42bdce54267c969 |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Grouped deliver context field assignments by topic in client_deliver(). |
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. |
a77f136d3603a36f6cdd2e3685a5b18dd3712d79 |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-lda: Renamed struct mail_deliver_context fields for consistency with lib-smtp.
New fields are added in subsequent commits. |
d13bee3f3d66a6298fac37f0e16a414b1b1e7ac3 |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Removed lmtp_address_translate setting.
It is assumed not to be used. |
6ee910623ad15fd5fab17b18cc03204d9aded709 |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Accept XCLIENT ADDR field IPv6 address both with and without "IPV6:" prefix.
This is the format that Postfix actually prescribes.
The new lib-smtp will add the prefix by default. |
d1ba8ecbb936ace90179d2292952546708d68f71 |
|
30-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace o_stream_nfinish() with o_stream_flush() |
9dd47ae5c1f0c20f1994a7ec1a862fe8beef8913 |
|
21-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Fixed passing SMTP submit settings to plugins.
This caused Sieve to crash upon SMTP message submission; e.g., during redirect. |
47fa7b222e197f73042e8b36ad688bf5fcbfc6f0 |
|
05-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-smtp: smtp-submit: Made submission_timeout a setting rather than a function parameter.
This makes it configurable. |
0f72f253d5a117dad2f28b2ce336190a5e6b79c8 |
|
05-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lda/lmtp: Parse SMTP submit settings. |
90cdc497f02f3b4884eb3ead03a9a645fb6a575c |
|
05-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: client_deliver(): Put client->state.dest_user in a variable.
Keeps code more compact, as this value is used several times. |
ed89b9556292b6d7c2551086a4958f4ed601bda9 |
|
05-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
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. |
0dab9cb35a976c49b28a11e28d5570f5191f1a7a |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox_transaction_begin()
Remove mailbox_transaction_set_reason(). |
0d1b8b6bec79746c5d89d57dd8c1688946bd9237 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on timeout_remove(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- timeout_remove(&E);
- }
+ timeout_remove(&E); |
31434f7b892ad056d18c859d677aa16ce19fa876 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp proxy: Avoid DNS lookup for "host" if passdb also returns "hostip" |
bad08efc4476d3ab6f13b10e8b78e05014a93ba7 |
|
06-Jul-2017 |
Sergey Kitov <sergey.kitov@open-xchange.com> |
lmtp: client_input_data_write_local() refactored
loops in client_input_data_write_local() and in client_deliver_next()
are merged as they are essentially the same loop,
client_deliver_next() renamed to client_deliver_to_rcpts(). |
2092da86f3a332e8d7eae1300a3b9852fed8f2f8 |
|
06-Jul-2017 |
Sergey Kitov <sergey.kitov@open-xchange.com> |
lmtp: Fix for wrong session id of mail user when saving mail, quota checking on
When quota is checked mail user is allocated with custom ":quota" session id
suffix without incrementing service user session id counter |
133a609acde637dd8f517903f9db978d96b7097e |
|
03-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lmtp: Use message_detail_address_parse |
167dbb662c2ddedeb7b34383c18bdcf0537c0c84 |
|
02-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Fix assert-crash when proxy overrides mail_max_lock_timeout
Time unit is required or the call fails. |
61cf001f1944d92eb25f113ba4c08985d6e30d53 |
|
03-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add mailbox_set_reason() calls
Added to the most important places. |
0c9dda2bad67db38d67d92d64839a14214f7d293 |
|
23-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Trigger autoexpunging only for the last RCPT TO.
Otherwise if the autoexpunging takes a long time, the LMTP client could
disconnect due to a timeout. The mails would still eventually get delivered
though, so it would result in duplicate mails being delivered.
An alternative to this would be to keep all the mail_users referenced until
the delivery is finished and then autoexpunge all of them at the end. It
increases memory usage though and complicates the code, so at least for now
it's not implemented. |
646817f0cfb39b0e0eb545900f1566b76a851b20 |
|
23-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Replace MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE with explicit mail_user_autoexpunge()
This allows better control of which users are being autoexpunged. This
patch changes behavior at least in two ways now:
1) After shared folder access, the owner user isn't autoexpunged at deinit.
Although this is a bit questionable of whether it should be or not.
2) LMTP's quota check at RCPT TO stage doesn't trigger autoexpunging. |
bf7dc750b95039981c0e9d728f313d50cf38a156 |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Log internal storage error on failure |
8d2e45a300932ae6c49d2c9bf4b6fe7820cc25a8 |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lmtp: Log internal error on STATUS_CHECK_OVER_QUOTA failure |
eb318ea05532d2e54ed3bfc89bc15dcf1adae838 |
|
22-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace mail_storage_service_user_free() with _unref() |
d03980c62bca1d8501d67e5cf3b6f9904d166dd4 |
|
21-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Fix lmtp_user_concurrency_limit when userdb changes the username
Anvil LOOKUP was done with the original username, while CONNECT/DISCONNECT
was done with the changed username. So LOOKUP always thought that there
were zero concurrent sessions for the user. |
3bb61142ca8dc0c71efd430fa8f805a4c7262aa8 |
|
09-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Don't deliver truncated email when client disconnects before "." line
This didn't happen always, because the EOF was handled in two different
places in different ways. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
0f5dc4da3982053036be65190e44bf28a67b1ca2 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand*() now returns error string.
This allows callers to fail properly if the format string is invalid. |
bc37bab86f0ae7b9d7149d2418340b88e6ef212f |
|
10-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Handle lmtp_user_concurrency_limit before lmtp_rcpt_check_quota
The quota lookup is more expensive, so it shouldn't be done unnecessarily. |
6b2b18f8bb74e2d122b811351d1fb45830a1b493 |
|
18-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Support %{userdb:*} variables in mail_log_prefix |
accba2f170529d73097e098d0bb6c13b7b4d6abf |
|
10-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Fixed using default port 24
Broken by dfe53c824. |
dfe53c824fb6f6e3736ee2958665dd6f545724b1 |
|
08-Aug-2016 |
Wido den Hollander <wido@widodh.nl> |
lmtp: Use port 24 if no port has been provided
This allows using the LMTP, IMAP and POP3 proxy on the same
Dovecot installation without the userdb providing the port
to connect to.
TCP port 24 is registered at IANA as: "any private mail system"
LMTP being the Local Mail Transfer Protocol classifies as a private
mail system and thus justifies the usage of port 24.
Prior to this patch the LTMP client would connect to TCP port 0 by
default if the userdb did not provide a port to connect to. |
1c6d55fc292c099f0b4b20daf9208031d982e757 |
|
11-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Don't send double-DISCONNECT to anvil.
Happened with lmtp_user_concurrency_limit > 0. Fixes errors like:
Error: connect limit: disconnection for unknown pid 123 + ident lmtp/username |
a29670d7a951c9d640fc0db95ba02a28c7f42170 |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Removed assert, which triggers if anvil connect fails. |
ddf6020f6fefe71c4422a8c55d012a62648ae3ad |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Fixed pipelining of commands after RCPT TO
We should stop while waiting for anvil reply. Broken by ced943b0a. |
3edfbca796edb8f1efeb48da916e109850adfc0f |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: If anvil lookup fails, ignore lmtp_user_concurrency_limit
Previously it was randomly allowing or disallowing the client. |
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. |
e93184a9055c2530366dfe617e07199603c399dd |
|
06-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove autoclose parameter from [io]_stream_create_fd
Use [io]_stream_create_fd_autoclose() for autoclose. |
61d3fd14828b68d789f3df73d1dbed56e37b7931 |
|
30-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: mail_storage_service_next() now returns error string. |
f6008a666d9c3df66fd8a437369133e8519b4e24 |
|
30-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp, quota-status: Don't send mail_storage_service_lookup() error to client.
This is in preparation for changing the returned error to contain the full
error string. The current error string is pretty useless for any purpose. |
61d89b0ca0300e230c7882b71e8360edf62d9cd0 |
|
18-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Fixed error logging when writing to temp file |
5a6ad44f13668817043427f98616c1f7a5cc2606 |
|
11-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Removed (Dovecot) from Received header.
Some people want to hide it, and I don't really see much benefit in
including it anyway. So lets just hide it from everyone. |
6de95f63d4590814354fa5e35e92946c58d4562e |
|
29-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Connect to anvil earlier while still running as root
This was a problem only with lmtp_rcpt_check_quota=yes. |
972c9172e9e6a0fc6053efb3d2ee9d354b67727f |
|
22-Apr-2016 |
Lennart Weller <lhw@ring0.de> |
Support multiple recipient_delimiters
The recipient_delimiter is treated as multiple one-character delimiters
rather than one multi-character delimiter if more than one character is
supplied. The address is split on the first character in
recipient_delimiter found. |
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.) |
a50f8b9c6196b0f0bb0a7aac3ae9c12b1c42b93b |
|
06-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp: Changed default LMTP proxy timeout to 125 seconds.
The main problem with LMTP proxy timing out too early is that it causes
duplicates if the backend actually finishes the mail delivery.
The 30 seconds is bad, because there are various timeouts in backend set
to 30 seconds also. 125 seconds is hopefully large enough to hit most of
the 2 minute timeouts and we'll have a few extra seconds left to see the
failure. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
191a22ee13135fd752fcf03a43ef2f1b070937f5 |
|
08-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Memory leak fixes on handling some RCPT TO failures. |
170834eda87ac8e6b8b6577738ef373fc68f117d |
|
06-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: quota_full_tempfail=yes didn't work with lmtp_rcpt_check_quota=yes |
46b823ac3bce2c0f9f0fc73911e48d3a77b04fbe |
|
08-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Replaced unlink() calls with i_unlink*() wherever possible. |
c93aca832ee532010ead91b85fa9f614132e1be2 |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Removed all invocations of atoi(). |
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. |
2010ab3fb1f5b758dae4c5e4e033c617d552985b |
|
10-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixed assert-crash on anvil lookup failures.
If anvil_client_query() fails, it immediately calls the callback and returns
NULL. So we need to increase anvil_queries even before calling
anvil_client_query() |
47fb62a01078a49815be71f9ce13edbaddfad280 |
|
11-May-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Earlier compiler warning fix broke compiling completely.. |
de05e7b6a2fae2e2a799f4bd94803fcb1290d463 |
|
10-May-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: chdir() to base_dir shouldn't fail - log an error if it does |
1ac7b6969120bfdb15497663229f0dd168ae4ab8 |
|
24-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added lmtp_hdr_delivery_address=final|original|none setting.
This controls what username is used for logging Delivered-To: header and the
"for user@domain" in Received: header. The default "final" is the regular
username as earlier, "original" logs the RFC822 address received via ORCPT
parameter or fallbacks to username, "none" logs nothing. |
da0420f1b5d5f5ab1079d1204d70dd51866ce025 |
|
21-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
lib-lda: Assume that the caller sets delivery_time_started
This is required because parts of the delivery time may be done at the time
the user is being initialized, so it needs to be set before the user init is
done. |
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. |
f24f2b5e17ea1ce029b5627a1dc50ba80f02c9c7 |
|
06-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixed lmtp_user_concurrency_limit=0 to actually mean unlimited |
d25877a69c21fcd004f77bbfb1b8d0895d78e4dd |
|
06-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
lda/lmtp: Added a hardcoded LDA_SUBMISSION_TIMEOUT_SECS=30 timeout for SMTP client.
Maybe we could have a new setting if needed later on, but we've been working
pretty successfully without any timeout for a long time.. |
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. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
0dc719a06fc1bbe11238762f9beb0c1faa4a2b75 |
|
21-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added TLS security information to Received: header when STARTTLS was used. |
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. |
18458233e89c8467e30d8b93b1823128f26bc174 |
|
25-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Use mail_log_prefix while mails are being delivered. |
baca4c450997038255854aae5a1ce051e7a1f00d |
|
25-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added missing session_id to mail_user |
1ee1a73bde20380ba39d572681397ad05dcdf9a1 |
|
08-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lda, lmtp: Use mail_deliver_context.tempfail_error first if it exists (instead of storage error). |
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.. |
2ed2459dbd183bb371da4a0aecb2d2b74ae7c815 |
|
15-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
Handle "out of disk space" and "out of user quota" as separate cases.
"Out of disk space" is a temporary error that should be logged as error and
the failure should be sent to user as "Internal server error".
Obsolete the use of MAIL_ERROR_NOSPACE and MAIL_ERRSTR_NO_SPACE. Use the
clearer MAIL_ERROR_NOQUOTA and MAIL_ERRSTR_NO_QUOTA instead. |
a192134d1aaf3ff73bff040c7cd9ab3e9a8fe1dd |
|
10-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Remove <> from Delivered-To: header.
This annoyingly changes Dovecot behavior in the middle of v2.2.x series, but
the earlier value was definitely wrong.. Perhaps we still need to provide a
setting for this, but that's pretty annoying as well. |
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. |
75e2c45e2e60ba22728b7520818aa0a191f8ca3d |
|
27-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Reduce corking so we get command replies more quickly even if they are pipelined.
This may help avoid some LMTP client timeouts. |
5b946df482ca0e5278ee93eea0d53f2cf09fadc1 |
|
16-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Removed some unnecessary code |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
32efae185f1f86167b3f00ea84f8502940c6c677 |
|
13-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: Make it clear that the lda_settings is unexpanded in struct client. |
39622d42aa198b19fb77d203e78a2418de68f740 |
|
08-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't write extra ([]) to Received: line for mails via UNIX socket. |
b9dce659b9135c87c7708b2bb0f14e8742db7e15 |
|
01-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lda/lmtp: If mail delivery fails with tempfail, don't fallback to saving to INBOX. |
ed74f1121a4b8e814427fbce8325108e39e1c805 |
|
01-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: Give the DATA input stream a name, so the raw mailbox gets a name and doesn't fail. |
8c30a8e508dd05b63c9b1fa7ae9c637d132dac6f |
|
13-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lda, lmtp: postmaster_address = postmaster@%d works now. |
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. |
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765c |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Replaced all -1U and (unsigned int)-1 with UINT_MAX.
It's somewhat clearer this way. Also clang's -fsanitize=integer gives
runtime errors about -1U (but not about explicit casts, so no need to change
(type)-1 casts). |
9508ac436fff0e1dcea975855c139cd251deb703 |
|
21-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
proxying cleanup: Send TTL=1 (instead of TTL=0) as "no more proxying". |
30fc0b14f0d99a86c04aacff311e4cf2ddd5ff12 |
|
05-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lmtp: If verbose_proctitle=yes, update the process state in the title. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
ca4526e3b5fbf5ea3dd477a2098522a44c9ac52c |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
i_set_failure_prefix() now takes printf-like parameters.
This avoids using t_strdup_printf() with it, which was done very commonly. |
02e8b5f55210f413853998a0ba5832eb3f9a6dc6 |
|
24-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added lmtp_rcpt_check_quota setting to check quota already on RCPT TO. |
a795ff053b41be95cb94a33cd5501f8d2e843e20 |
|
21-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp: After successful proxying RCPT TO, the second one to nonexistent user gave tempfail error.
Instead of "unknown user" it gave "Can't handle mixed proxy/non-proxy
destinations". |
7ffa9e9809f10884a9167c19c09c980e3c1792b1 |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp proxying: Don't auto-set mail_max_lock_timeout higher than it was. |
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. |
eaa33f01525f428f7f3e65ea6aab0cc123a3264f |
|
28-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Include session ID string in timeout reply text. |
e7b1f9db0128384b152b58ea65303d66484c9d7b |
|
03-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
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. |
fb340f9dfd8ca3a66ef6830c047333a220e8f9b3 |
|
02-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't idle-timeout LMTP client while proxying waits for DATA replies. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
7f250fe7eede5f1d17c5e177c7f2dc0dd742e224 |
|
19-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
LMTP: Don't add Return-Path: header when proxying.
The backend also adds it and we don't want duplicates. |
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. |
3322dfd56c9cae5015a33bab4c80124c08c3d9ca |
|
23-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Send client's IP/port to destination server via XCLIENT if possible. |
b015d3d3af5b1c0fd526f31d78229bf9f633db56 |
|
23-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp: Implemented Postfix-compatible XCLIENT extension for changing client's ip/port. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
ffaa309c211897ab875bbe0b093bc7e709bb1e5d |
|
20-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp: Make core dumping work also after the first mail delivery. |
701c9fc6dc06415bbf15490125e001d9db8c7cbd |
|
10-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Simplify LMTP proxying by first reading the whole input to memory/disk.
This hopefully fixes problems related to LMTP proxying, at the cost of
having to write large mails to temp directory. |
bfd8127fc0836b181b1ae65680bd6e3806b64fd1 |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: If lmtp_save_to_detail_mailbox=yes and there was no detail, mail was logged as saved to "". |
d16cbc7557bc2e9f790c9c907212eb5df57a4ab2 |
|
16-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Include local/remote port in userdb lookups. |
8aa60989067046e35c4809a616b46473fce0113e |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Code cleanup. |
15dd1857d40544e2c356d4f1c87c42a0579c665c |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lda/lmtp: Moved common raw mailbox allocation code to raw-storage. |
ed45903d7ad49b3d54f0883b203632fbccf8eff2 |
|
30-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Log the current state in disconnect message. |
e5b06a21b5f857d7037fd6ff41ba3bd449d1232a |
|
13-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixed parsing quoted strings with spaces as local-part for MAIL FROM and RCPT TO. |
16dfe1f9c1c1a5abc5e5a12efa25619586f7e4e6 |
|
09-May-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: With lmtp_save_to_detail_mailbox=yes, save mail to <inbox ns prefix>detail.
The previous behavior required using prefix="" namespace to work. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
fcd443a32b01c4da131f36649d5a5fa5f8452dcf |
|
17-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't forget LHLO host when sending multiple messages in session. |
7b22071c71a99bcb71ee9fcfbb83ed5bf5e08a2d |
|
04-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixed handling recipient_delimiter when it was found from domain name. |
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_last_*error() wrappers and use them. |
16b3aad0065ff383a3c8804912048b40b9047018 |
|
19-Jan-2011 |
Pascal Volk <user@localhost.localdomain.org> |
lmtp: Write "+ext" part to Delivered-To: header.
(reverted changeset 19231e3585db) |
44f3f472a49078312432b785fddcfe7b95928391 |
|
03-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lmtp: If delivering duplicate messages to same user's INBOX, use different GUIDs.
This is to avoid POP3 clients getting confused with duplicate UIDLs, when
using GUIDs as UIDLs. |
70af4db1c95a5ea3749213da539359b76abcfcd1 |
|
30-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Added lmtp_save_to_detail_mailbox setting. |
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. |
7aa2dd189748ed57c2fb8d8d9b7cb3c4ac2f7ea5 |
|
08-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't allow mixed proxy/non-proxy RCPT TO destinations.
Although the code attempts to handle this case already, the DATA replies
aren't sent in correct order. |
4143cfa11582989252741398b5ee0a6041d3da15 |
|
16-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't access freed memory if input couldn't be opened as raw mail.
This shouldn't really have ever happened. |
efb0def040a3e98da05ea77c170cd6711a9c8747 |
|
15-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Reverted last change after all. Besides, the error code was wrong. |
979b2a063fc20738a01014bc78a790ca2db18c1c |
|
15-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't allow saving zero byte sized messages. |
85f8811e47003717620cbe066bb05494124308fa |
|
01-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Make sure we partial messages aren't saved if client disconnects during DATA. |
71564d36ea3aba6dd6a0d2560da46ffda733b679 |
|
14-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
Added lda_original_recipient_header setting. Removed non-standard use of Envelope-To: header. |
9c45821d7448c6f63391d318a6dff785e46e58ee |
|
14-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lda: Added -r parameter to specify final recipient address.
(As opposed to -a which specifies original recipient address.)
This is going to be used by Sieve checks. |
8873384cf1429232ec1b44f5e856f6748c158607 |
|
20-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't write "+ext" part to Delivered-To: header. |
b5babd4ea611616f0b3b2b9fb5917c78d1999a7b |
|
16-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Removed FIXME comment |
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 |
3bd374bc3ff357d7464920ec54cef46043aecf31 |
|
12-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Make static analyzer happier.
--HG--
branch : HEAD |
d2a2e0b6d302c17c33638a6fd48bd665a1c81e46 |
|
07-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Fixed passdb username change.
--HG--
branch : HEAD |
78a5b3e697af5db96fe0dffed600b0d6370bb8e5 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Compile fix.
--HG--
branch : HEAD |
75e789ce60fba8e9ad07f51a8fd186fa65823328 |
|
31-May-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixes to seteuid calls.
When delivering to multiple users, the first user's mail should be
deinitialized with that user's effective uid. Also there's no point in
setting uid to 0 between deliveries to multiple users.
--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 |
e189f82228a102e1dfa72a3da29e3b07180c3803 |
|
26-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Removed duplicate checking, at least for now.
If duplicate checking is done, DATA should also send proper reply for them.
--HG--
branch : HEAD |
6b72856cca2917864b43d346b2aff987bb3397d2 |
|
12-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Crashfix to multiple RCPT TOs when the first mail couldn't be used as a copy source.
--HG--
branch : HEAD |
d80a44b0aab5f56e6044bd587ac3731c379aaa14 |
|
10-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixed crash when multiple mails were saved and second one failed.
--HG--
branch : HEAD |
ad5130b3afda4cf30e6272d96d818f84d3ae4e55 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Crashfix for handling invalid MAIL/RCPT commands.
--HG--
branch : HEAD |
3b22894b8805b186c73d8b754001e8d7e944be85 |
|
31-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Added support for userdb lookup to fail with a reason (many API changes).
--HG--
branch : HEAD |
98720d3b830e8ec762e9bdde94a71c0ef184595d |
|
02-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Added support for DNS lookups.
--HG--
branch : HEAD |
1e217aa0dad9bbfad64525396c3f226f170f985c |
|
20-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Always use "lmtp" module when looking up configuration.
--HG--
branch : HEAD |
e5fd6dfd0a492e4708d4dbb7971d7fc5d7b8fd85 |
|
12-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed input parameter from mailbox_alloc(), added mailbox_open_stream()
--HG--
branch : HEAD |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--HG--
branch : HEAD |
ca8c2190f161a28bb5020b6d6068d43ccf66b7d1 |
|
28-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp: Switch back to running as root after deliver a mail.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
2584e86cc2d8c31ba30a4109cf4ba09d1e37e28a |
|
17-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_sync() and mailbox_sync_deinit() APIs.
Although we're already in beta stage, this is simple enough of a change that
it shouldn't matter much. Having syncing also return status information made
the API ugly and the status information wasn't even wanted all that often.
--HG--
branch : HEAD |
2dad3ab8045be38711f277f065b76f76bb5f63f8 |
|
15-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Don't lose first 128k of data with >128k mails.
--HG--
branch : HEAD |
b80e35ba6b14fc238e5f380861b895183fb842fe |
|
24-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: More error handling fixes.
--HG--
branch : HEAD |
f74f4098ee674df8e207e2bc3467e40c55d3b415 |
|
11-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
recipient_delimiter: Allow multi-character delimiters.
--HG--
branch : HEAD |
9a935c34e98ba7a9cc90784ceb63b2fbdab4105f |
|
11-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Added recipient_delimiter setting that LMTP server now uses.
--HG--
branch : HEAD |
c234fb9700e0c24fa52eba3d1204ae76c173b061 |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Add Received: header.
--HG--
branch : HEAD |
4818cf6ae9cda663ad68823fd83b18ac380a8a4d |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Disable idle timeout while proxying.
--HG--
branch : HEAD |
89502bb187e8285b2a155559894ca80374ac3ae7 |
|
09-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixed accessing uninitialized memory.
--HG--
branch : HEAD |
86fafb22c02f4b85a9d59f2b60059a48286286fb |
|
09-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Read protocol=lmtp settings.
--HG--
branch : HEAD |
419be6cd72f6e11705576bbba683b29c32eaa762 |
|
05-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Improved logging.
--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 |
a338794c56fc9674121e262fcb67c3dc1da31436 |
|
14-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Drop quotes around local-part in RCPT TO command if possible.
--HG--
branch : HEAD |
ca598afa51b9c8ffd7c1460ac3c8bfa313c6d4af |
|
12-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Changed QUIT message: "Logged out" -> "Client quit".
--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 |
e20e638805c4bd54e039891a3e92760b1dfa189a |
|
08-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach*() in some useful places.
--HG--
branch : HEAD |
eed0a07ecb946ec9d021f5b413fb33eb36e135fd |
|
08-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp client, proxy: Several bugfixes.
--HG--
branch : HEAD |
e1e1aedb16e04237b024c052587e2338c44159af |
|
04-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp, expire-tool, doveadm: Set service for config lookups.
--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 |
d4379e01c47bd39dab2368529c6b17d51346d7a5 |
|
13-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Use new mail block sizes.
--HG--
branch : HEAD |
c4390dad33b03dd51ba2a475f550347c86ebdb9a |
|
23-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Use dot istream for reading DATA input.
--HG--
branch : HEAD |
6144d01d1a50f617d41ddc0439445fd44ea5c60c |
|
17-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Fixes to handling "." correctly in DATA.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
65514ab6ccc1889e1667211fddb0cca4b51017df |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: Handle MAIL FROM and RCPT TO parameters properly.
--HG--
branch : HEAD |
d1fff80640050631b06bfab904a34b2ad24601e8 |
|
21-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Pass remote/local IPs to mail_users. Standalone mail programs now log with mail_log_prefix.
--HG--
branch : HEAD |
dd3ccdbb29dad006f7781ea138a5ba39727963c4 |
|
17-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp: If mail is >128 kB, write it to a temporary file.
--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 |