We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
I try to send notification mails via an external / host postfix.
To Reproduce docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e WATCHTOWER_NOTIFICATIONS=email -e WATCHTOWER_NOTIFICATION_EMAIL_FROM=me@example.com -e WATCHTOWER_NOTIFICATION_EMAIL_TO=me@example.com -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=x.x.x.x -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25 containrrr/watchtower --run-once --monitor-only
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e WATCHTOWER_NOTIFICATIONS=email -e WATCHTOWER_NOTIFICATION_EMAIL_FROM=me@example.com -e WATCHTOWER_NOTIFICATION_EMAIL_TO=me@example.com -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=x.x.x.x -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25 containrrr/watchtower --run-once --monitor-only
Expected behavior notification mail sent via x.x.x.x:25
Environment
Logs from running watchtower with the --debug option
--debug
time="2019-07-02T08:23:23Z" level=info msg="Running a one time update." time="2019-07-02T08:23:23Z" level=debug msg="Checking containers for updated images" time="2019-07-02T08:23:23Z" level=debug msg="Retrieving running containers" Failed to send notification email: dial tcp x.x.x.x:0: connect: connection refused
Additional context
As you can see, the port is ignored and watchtower tries to connect to port 0, whis also happpen if I omit WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT
The text was updated successfully, but these errors were encountered:
Hi there! Thanks a bunch for opening your first issue! 🙏 As you're new to this repo, we'd like to suggest that you read our code of conduct
Sorry, something went wrong.
Solved with release v0.3.7 which is available as of now.
No branches or pull requests
Describe the bug
I try to send notification mails via an external / host postfix.
To Reproduce
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e WATCHTOWER_NOTIFICATIONS=email -e WATCHTOWER_NOTIFICATION_EMAIL_FROM=me@example.com -e WATCHTOWER_NOTIFICATION_EMAIL_TO=me@example.com -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=x.x.x.x -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25 containrrr/watchtower --run-once --monitor-only
Expected behavior
notification mail sent via x.x.x.x:25
Environment
Logs from running watchtower with the
--debug
optiontime="2019-07-02T08:23:23Z" level=info msg="Running a one time update."
time="2019-07-02T08:23:23Z" level=debug msg="Checking containers for updated images"
time="2019-07-02T08:23:23Z" level=debug msg="Retrieving running containers"
Failed to send notification email: dial tcp x.x.x.x:0: connect: connection refused
Additional context
As you can see, the port is ignored and watchtower tries to connect to port 0, whis also happpen if I omit WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT
The text was updated successfully, but these errors were encountered: