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

SMTP notification using "auth login" #2061

Open
nikolaiiii opened this issue Dec 5, 2024 · 1 comment
Open

SMTP notification using "auth login" #2061

nikolaiiii opened this issue Dec 5, 2024 · 1 comment

Comments

@nikolaiiii
Copy link

nikolaiiii commented Dec 5, 2024

Describe the bug

Hello,
I'd like to send notifications using a mail server (mail.mailo.com) which has only these authentication mechanism:

250-AUTH LOGIN

I tried every kind of option possible, but they all fail.
What option do I have?

Steps to reproduce

I am using these settings:

services:
  watchtower:
    image: containrrr/watchtower:latest
    container_name: watchtower
    restart: always
    environment:
      - TZ=Europe/Paris
      - WATCHTOWER_TRACE='false'
      - WATCHTOWER_SCHEDULE=0 0 4 * * *
      - WATCHTOWER_CLEANUP='true'
      - WATCHTOWER_NOTIFICATIONS=shoutrrr
      - WATCHTOWER_NOTIFICATIONS_LEVEL=debug
      - WATCHTOWER_NOTIFICATION_URL=smtp://[email protected]:[email protected]:587/?auth=Unknown&encryption=Auto&[email protected]&fromname=Watchtower&starttls=Yes&subject=Watchtower_updates_on_Nas&[email protected]&usehtml=No
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

Expected behavior

E-mails are sent.

Screenshots

No response

Environment

  • Openmediavault
  • x86_64
  • docker-ce 5:27.3.1-1~debian.11~bullseye
================================================================================
= OS/Debian information
================================================================================
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
================================================================================
= openmediavault information
================================================================================
Release: 6.9.16-1
Codename: Shaitan

Your logs

  • None
watchtower  | time="2024-06-21T10:24:58+02:00" level=error msg="Failed to send shoutrrr notification" error="error sending message to recipient: error setting RCPT: 530 Authentication required" index=0 notify=no service=smtp
  • OAuth2
watchtower  | time="2024-06-21T10:27:33+02:00" level=error msg="Failed to send shoutrrr notification" error="error authenticating: 504 Unknown mechanism <XOAUTH2>" index=0 notify=no service=smtp
  • Unknown
watchtower  | time="2024-06-21T10:28:59+02:00" level=error msg="Failed to send shoutrrr notification" error="error authenticating: 504 Unknown mechanism <PLAIN>" index=0 notify=no service=smtp
  • CRAMMD5
watchtower  | time="2024-06-21T10:30:45+02:00" level=error msg="Failed to send shoutrrr notification" error="error authenticating: 535 Authentication mechanism CRAM-MD5 not available" index=0 notify=no service=smtp
  • Plain
watchtower  | time="2024-06-21T10:34:55+02:00" level=error msg="Failed to send shoutrrr notification" error="error authenticating: 504 Unknown mechanism <PLAIN>" index=0 notify=no service=smtp

Additional context

No response

Copy link

github-actions bot commented Dec 5, 2024

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

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

1 participant