[pmg-devel] [PATCH] docs: add lmtp support

Stoiko Ivanov s.ivanov at proxmox.com
Thu Dec 12 18:40:41 CET 2019


On Mon,  9 Dec 2019 21:42:32 +0100
Julian Zehnter <pmg-devel at j-z.it> wrote:

> Signed-off-by: Julian Zehnter <pmg-devel at j-z.it>
> ---
>  pmg.mail-relaying-conf-opts.adoc | 4 ++++
>  pmgconfig.adoc                   | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/pmg.mail-relaying-conf-opts.adoc b/pmg.mail-relaying-conf-opts.adoc
> index d76fa2b..afcab42 100644
> --- a/pmg.mail-relaying-conf-opts.adoc
> +++ b/pmg.mail-relaying-conf-opts.adoc
> @@ -10,6 +10,10 @@ Disable MX lookups for default relay.
>  
>  SMTP port number for relay host.
>  
> +`relayprotocol`: `<smtp | lmtp>` ('default =' `smtp`)::
> +
> +Transport protocol for relay host.
> +
>  `smarthost`: `<string>` ::
this snippet gets created by 'gen-pmg.conf.5-opts.pl' (in the pmg-docs repo)
if you add the entry 'relayprotocol => 1' in the 'mail-relaying' subhash of
'$keygroups' (however it is a bit tricky to get this built if you don't have
the updated pmg-api files already in place.
Should it be cumbersome to get this done - we can fix it up here once the 
patches are applied.

>  
>  When set, all outgoing mails are deliverd to the specified smarthost.
> diff --git a/pmgconfig.adoc b/pmgconfig.adoc
> index d9b15dc..5cf5880 100644
> --- a/pmgconfig.adoc
> +++ b/pmgconfig.adoc
> @@ -371,7 +371,7 @@ 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
> +You can add the IP addresses, hostname, transport protocol (smtp/lmtp) and transport ports and mail domains (or
tiny nit - where possible it would be great  if the lines in the 
documentation were kept shorter than 80 characters.
>  just single email addresses) of your additional e-mail servers.
>  
>  




More information about the pmg-devel mailing list