linuxserver / docker-snipe-it

Alpine/Nginx container for the Asset Management software Snipe-IT
GNU General Public License v3.0
124 stars 26 forks source link

SMTP Errors #20

Closed dognutz closed 2 years ago

dognutz commented 3 years ago

Expected Behavior

Test email should send successfully.

Current Behavior

Fails with "Error: undefined."

If I enable the debug flag for Snipe-IT I can see an error saying: "LOG.error: Swift_TransportException: Expected response code 250 but got code "501", with message "501 5.5.2 : Helo command rejected: Invalid name"

Steps to Reproduce

Configure SMTP email via environment variables. Start container. Click 'Test Email' on setup.

However, leaving all the environment variables the same but switching to the official snipe/snipe-it image makes it work, so issue would appear to be with this image. Thanks.

github-actions[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

thelamer commented 3 years ago

Can you do me a favor and try the new image with new env variables:

NGINX_APP_URL=my.hostname:8080
APP_URL=http://my.hostname:8080

I think the software might be using the APP_URL directive to determine where to ping into and we had to roll that over to our own variable to not conflict.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.