f8d9e6c977847a411af9986c9be62f74e4b06143 |
|
31-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Use recipient index in lmtp_local_rcpt_reply_overquota().
When used during the DATA command, it should send a reply for the correct
recipient. During the RCPT command there is only one reply due. Added assert
that checks this. |
c23717da4af9d3275cb45cbc67faaa8daa353ec1 |
|
31-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Add explicit cmd parameter to lmtp_local_rcpt_reply_overquota().
Using the RCPT cmd is only valid for the RCPT command and not when quota excess
is detected during DATA. That would cause a segmentation fault, since
rcpt->rcpt.rcpt_cmd == NULL. |
cdbcc8db8e0a04b2cbf6ca9f20b3ee7f7173552d |
|
31-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Make local variable for rcpt->rcpt.rcpt_cmd in lmtp_local_rcpt_check_quota(). |
80f5e1ea615677c1c37be6e7abb888c9cc22de3b |
|
18-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Don't deliver more than once to the same recipient.
Duplicate RCPT TO commands for local recipients are now mostly ignored,
by repeating the reply for the first instance of that RCPT TO command. |
11c80f46431050af464b044126887e81cb91e929 |
|
18-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Add recipient type to struct lmtp_recipient. |
c116e589182c258b463850327755e6dd9a731616 |
|
18-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Move common recipient handling code to separate file. |
2bf919786518d138cc07d9cc21e14ad5e07e5e56 |
|
17-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Fix segfault occurring when quota is exceeded. |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
89ec71829cca54452078c21789cd8f31925e6e99 |
|
16-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Properly handle a user being over quota.
Recent changes caused quota enforcement to be ineffective. |
540ac35c2e2e0a88619c2224a9cccef51fecc37c |
|
16-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Make sure pending recipient is always destroyed.
Before, the recipient was not freed when the server/connection ended prematurely. |
211caf3c233d562b0c8137e5eefae3cb1ef13003 |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: mail-user: Added more information about the client connection.
Submission service will need it to pass to the backend MTA in XCLIENT and for creating the "Received:" header. |
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. |
755372f8ed9aa3440cb0aa53e7f131694fb654fa |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed error variables in lmtp_local_rcpt_check_quota() to match other code. |
252a2911d1f9dd0ce7dc6753981e0ad376c2fe9e |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Allocate recipients on the default pool, rather than the client state pool.
This prevents the pool from growing potentially indefinitely with failed recipients. |
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. |
4bc2df90527f33dc51a9f367b64f18751c88ee25 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed local variable "dest_user" to "rcpt_user" in lmtp_local_deliver().
This matches the rcpt_user field in struct mail_deliver_context. |
28585a42776a3e2bc530e604e21446832975b816 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Created local variable for service_user in lmtp_local_deliver(). |
cfc330f2ca4d1a8f9091c01305bb7f665f256798 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed trans variable in lmtp_local_open_raw_mail().
Preparation for new trans parameter. |
dafe3306912b5c0904e53fac3928863474d1c1e8 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed client_deliver_to_rcpts() to lmtp_local_deliver_to_rcpts(). |
ce7a45d15786c7434546bd9da60fae08fc157f13 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: client: Dropped useless rcpt_idx state.
Recent refactoring made it obsolete. |
6fe14de90326d137e8a79c4fa02bbc4981f8c5fa |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Always handle sending of error replies inside lmtp_rcpt_to_is_over_quota().
Code was confusing. |
d5ddc86fb0190bcda13544f183280162147877ad |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed cmd_rcpt_finish() to lmtp_local_rcpt_anvil_finish(). |
eb61a9ec4673adbc33d15be920cef99fd3657352 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed rcpt_anvil_lookup_callback() to lmtp_local_rcpt_anvil_cb(). |
bc1306f129e92eae1738a544a89bd7b2e4f6f735 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: commands: Moved RCPT command handling relating to local recipients to lmtp-local.c. |
70dfae6db8fd17ed79f1a48358f392841e9c9031 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: client: Moved recipient deinitialization to lmtp-local.c. |
fd3bad18722b9910d3cc3f4fa18653f0d320dfa7 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed lmtp_rcpt_to_is_over_quota() to lmtp_local_rcpt_check_quota(). |
8a68f5bb807b5233e191641e7e7f993e707ae369 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed client_input_data_write_local() to lmtp_local_data(). |
d14a8963103ecea8e3cf5191122d189552f7d50a |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed client_open_raw_mail() to lmtp_local_open_raw_mail(). |
e5f4eb14718eb210243592bc68e0a0fd61a7174f |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed client_deliver() to lmtp_local_deliver(). |
95b2dd305586ff4ce1927a3b5f92515a16fce60b |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Renamed client_rcpt_anvil_disconnect() to lmtp_local_rcpt_anvil_disconnect(). |
447ae13a88887d9503c05be61a4368cfae44d96d |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Renamed struct mail_recipient to struct lmtp_recipient. |
1c1396ed2f41328c88c1cfd73cb0168389507123 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: local: Added structural comments. |
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. |
0029bf606761c2adb611571c00cad699ae37c36a |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved client_rcpt_anvil_disconnect() from client.c to lmtp-local.c. |