Feature #2438 add support for lmtp delivery to downstream servers

new feature lmtp support for simplifying setups with lmtp capable
downstream servers (e.g. dovecot) Postfix support lmtp out of the box
and can now deliver mails directly to internal mailbox servers
without one more smtp connection

extending the documentation for new lmtp option in
MailProxyConfiguration and MailProxyConfiguration:Transport

Signed-off-by: Julian Zehnter <pmg-devel@j-z.it>
Reviewed-By: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Julian Zehnter 2020-01-05 15:53:08 +01:00 committed by Thomas Lamprecht
parent f03ead41f9
commit 312595900a
3 changed files with 12 additions and 4 deletions

View File

@ -56,6 +56,7 @@ my $key_groups = {
relay => 1,
relaynomx => 1,
relayport => 1,
relayprotocol => 1,
smarthost => 1,
smarthostport => 1,
}],

View File

@ -4,11 +4,16 @@ The default mail delivery transport (incoming mails).
`relaynomx`: `<boolean>` ('default =' `0`)::
Disable MX lookups for default relay.
Disable MX lookups for default smtp relay.
Will be ignored when choosing lmtp as transport protocol.
`relayport`: `<integer> (1 - 65535)` ('default =' `25`)::
SMTP port number for relay host.
SMTP/LMTP port number for relay host.
`relayprotocol`: `<smtp | lmtp>` ('default =' `smtp`)::
Transport protocol for relay host.
`smarthost`: `<string>` ::

View File

@ -371,8 +371,10 @@ e-mail servers. For example you can send e-mails addressed to
domain.com to your first e-mail server, and e-mails addressed to
subdomain.domain.com to a second one.
You can add the IP addresses, hostname and SMTP ports and mail domains (or
just single email addresses) of your additional e-mail servers.
You can add the IP addresses, hostname, transport protocol (smtp/lmtp),
transport ports and mail domains (or just single email addresses)
of your additional e-mail servers. When transport protocol is set to `lmtp`,
the option 'Use MX' is useless and will be automatically set to 'No'.
[[pmgconfig_mailproxy_networks]]