[pmg-devel] applied: [PATCH v2 pmg-api] Feature #2438 add support for lmtp delivery to downstream servers

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jan 10 11:50:34 CET 2020


On 1/5/20 3:53 PM, Julian Zehnter wrote:
> 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 api code for new lmtp option:
> Config.pm:
> Adding new variable "relayprotocol"
> Extending the read_transport_map & write_transport_map
> for parsing the /etc/pmg/transport
> 
> Transport.pm:
> Add new protcol varialbe for smtp/lmtp setting
> Generalizing some "SMTP" keywords
> 
> Templates:
> Adapting the main.cf templates for adding the lmtp keyword
> 
> Signed-off-by: Julian Zehnter <pmg-devel at j-z.it>
> ---
>  src/PMG/API2/Transport.pm     | 27 ++++++++++++++++++++++-----
>  src/PMG/Config.pm             | 30 +++++++++++++++++++++++-------
>  src/templates/main.cf.in      |  8 ++++++--
>  src/templates/main.cf.in.demo |  8 ++++++--
>  4 files changed, 57 insertions(+), 16 deletions(-)
> 

Applied, with almost all of Stoiko's proposed improvements, thanks to both of you!



More information about the pmg-devel mailing list