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

Email sending not functional: 'Expected response code "250" but got code "501"' #4700

Closed
3 tasks done
Aterfax opened this issue Feb 20, 2023 · 3 comments
Closed
3 tasks done
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.

Comments

@Aterfax
Copy link

Aterfax commented Feb 20, 2023

Current Behavior

Sending email / a test email fails with the following error message:

Whoops!

An error occurred while attempting to test mail settings: Expected response code "250" but got code "501", with message "501 HELO requires domain/address - see RFC-2821 4.1.1.1".

image

This is despite setting the SERVER_NAME env var as per #3110

This was also not fixed by forcing the docker container's hostname to a hostname with --hostname myhost.domain.com or fudging with #3216 adding the line as per.

Image: ccarney16/pterodactyl-panel:latest

Expected Behavior

Test email / normal emails should send correctly.

Steps to Reproduce

Use the Docker version of pteropanel (ccarney16/pterodactyl-panel:latest) and attempt to send an email via an account on a Poste2 email server.

Panel Version

v1.11.3

Wings Version

v1.11.4

Games and/or Eggs Affected

N/A

Docker Image

N/A

Error Logs

I found nothing relevant in the logs with debug on or off unfortunately.

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
@Aterfax Aterfax added the not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. label Feb 20, 2023
@Boy132
Copy link
Contributor

Boy132 commented Feb 20, 2023

The env variable is now called MAIL_EHLO_DOMAIN afaik.

Side note: ccarney16/pterodactyl-panel:latest is a third party image and not the official one.

@Aterfax
Copy link
Author

Aterfax commented Feb 26, 2023

Yep, setting MAIL_EHLO_DOMAIN resolved this. Might be worth the documentation having a panel page that includes the current .env.example / all env vars as I suspect I was looking at older copies locally / at the online docs and drawing a blank.

@Aterfax Aterfax closed this as completed Feb 26, 2023
@Boy132
Copy link
Contributor

Boy132 commented Feb 26, 2023

Might be worth the documentation having a panel page that includes the current .env.example / all env vars

FYI: pterodactyl/documentation#471 (& pterodactyl/documentation#492)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.
Projects
None yet
Development

No branches or pull requests

2 participants