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. |
3f2f5e03534271a3c5e1d7d3592e55bc36b50fc3 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Restructured proxy so that it has direct access to struct client.
This avoids the hassle of initializing using struct lmtp_proxy_settings and uselessly reallocating stuff that is already persisted in struct client.
Moved the proxy from alloconly pool to default pool in the process.
The amount of allocated stuff will diminish further in subsequent commits. |
47af8777e517517835e0168ce93f37eea687e739 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Made struct lmtp_proxy_rcpt_settings private. |
0e0ce848d7261c7fc885472313b637af2eb57cf8 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Merged lmtp_proxy_add_rcpt() into lmtp_proxy_rcpt(). |
11bb1153a62c952a080b2ba6950477c328b06235 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Made lmtp_proxy_mail_from() private. |
dd34d6bf5c128ed826de188b47d33c557bb2e393 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Made lmtp_proxy_init() private. |
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. |
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(). |
124a7f9f3f2cb6365096b698fe78ce34510bda67 |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Removed dns_client_socket_path from struct lmtp_proxy_settings.
It is globally accessible. |
5f2855fe620b87f960dc24e16c578a4c820ef45c |
|
08-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: Moved code relating to proxy from commands.c to lmtp-proxy.c. |
09cd817096fb74cc16634ea5823e95ac6a3dfdfa |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lmtp: proxy: Changed implemention to use lib-smtp/smtp-client. |
31434f7b892ad056d18c859d677aa16ce19fa876 |
|
08-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lmtp proxy: Avoid DNS lookup for "host" if passdb also returns "hostip" |
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. |
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. |
5b946df482ca0e5278ee93eea0d53f2cf09fadc1 |
|
16-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
lmtp: Removed some unnecessary code |
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. :) |
eaa33f01525f428f7f3e65ea6aab0cc123a3264f |
|
28-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Include session ID string in timeout reply text. |
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. |
3322dfd56c9cae5015a33bab4c80124c08c3d9ca |
|
23-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Send client's IP/port to destination server via XCLIENT if possible. |
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. |
98720d3b830e8ec762e9bdde94a71c0ef184595d |
|
02-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Added support for DNS lookups.
--HG--
branch : HEAD |
b80e35ba6b14fc238e5f380861b895183fb842fe |
|
24-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: More error handling fixes.
--HG--
branch : HEAD |
c234fb9700e0c24fa52eba3d1204ae76c173b061 |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp proxy: Add Received: header.
--HG--
branch : HEAD |
eed0a07ecb946ec9d021f5b413fb33eb36e135fd |
|
08-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
lmtp client, proxy: Several bugfixes.
--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 |