Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Astranox opened this issue Apr 3, 2023 · 1 comment
Assignees

Comments

@Astranox
Copy link

Astranox commented Apr 3, 2023

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}

@pepoluan
Copy link
Collaborator

Thanks! I didn't have a FreeBSD system with me when writing that.

I'll see what I can do.

@pepoluan pepoluan self-assigned this Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants