[pmg-devel] applied: [PATCH pmg-api] reinject_email: fix connecting for ipv6-only hosts

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 18 08:11:57 CET 2020


On 29.10.20 18:49, Stoiko Ivanov wrote:
> When configuring PMG only with ipv6 addresses, reinject_email after processing
> fails to connect to the postfix/smtpd instance (with EINVAL).
> 
> Setting the host to '::FFFF:127.0.0.1' fixes the issue.
> 
> Tested with:
> * an ipv6only host (no ipv4 configured)
> * a host with ipv6 disabled via sysctl:
> ```
> net.ipv6.conf.all.disable_ipv6=1
> net.ipv6.conf.default.disable_ipv6=1
> net.ipv6.conf.lo.disable_ipv6=1
> ```
> * a host with dual-stack setup
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> reported via community forum:
> https://forum.proxmox.com/threads/unable-to-connect-to-localhost-at-port-10025.78199/
> 
>  src/PMG/Utils.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




More information about the pmg-devel mailing list