public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Stoiko Ivanov <s.ivanov@proxmox.com>, pmg-devel@lists.proxmox.com
Subject: [pmg-devel] applied: [PATCH pmg-api] reinject_email: fix connecting for ipv6-only hosts
Date: Wed, 18 Nov 2020 08:11:57 +0100	[thread overview]
Message-ID: <2038247c-47bc-e66f-f389-fe8fe2e9f58b@proxmox.com> (raw)
In-Reply-To: <20201029174916.1351-1-s.ivanov@proxmox.com>

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@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!




      reply	other threads:[~2020-11-18  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 17:49 [pmg-devel] " Stoiko Ivanov
2020-11-18  7:11 ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2038247c-47bc-e66f-f389-fe8fe2e9f58b@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    --cc=s.ivanov@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal