aio-libs / aio-libs/aiosmtpd

FreeBSD jail raises OSError[errno.EPROTONOSUPPORT] in get_localhost() if IPv6 support is missing

未关闭
#373 1 条评论 0 个 reaction 已指派 1 人 已被 @pepoluan 认领 在 GitHub 查看
compatibility
主要语言
Python
星标
373
派生
105
平均合并
4 分钟
30 天内合并 PR
2

描述

When updating mailman a few days ago starting it returned an error message, namely "OSError: [Errno 43] Protocol not supported".

This is errno.EPROTONOSUPPORT on FreeBSD in jails without IPv6 support.

There was also a similar issue #244, which was fixed in pull requests #248 and #250 by adding support for errno.EAFNOSUPPORT.

Maybe this could also be added to aiosmtpd/controller.py:43 so that the line reads `NO = {errno.EADDRNOTAVAIL, errno.EAFNOSUPPORT, errno.EPROTONOSUPPORT}`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。