-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
π I have found these related issues/pull requests
A search for the keywords 'smtp' and 'ipv6' didn't find something related.
π‘οΈ Security Policy
- I have read and agree to Uptime Kuma's Security Policy.
π Description
I switched from version 1.23.17 to 2.0.2 recently, without any migration. As I don't have that many monitors, I just installed v2 and entered all the data again.
For some monitors in v1 I selectively filtered A or AAAA record with Adguard Home, as the HTTP monitor didn't had address family support back then. A domain filtered (allowing only AAAA) was the one of my mailserver, which is also used as a SMTP notification type.
Right after the new install of v2 the filters were still in place and returned only an IPv6 address for my mailserver domain, which resulted in a connection error while testing the connection in the Notifications section in the settings. As soon as i removed the filter, the IPv4 address was used by kuma to connect to the mailserver and to send the test EMail. So it seems like the functionality for SMTP Notification over IPv6 is somehow broken in v2.
π Reproduction steps
- setup kuma v2
- add a new notification with type EMail (SMTP) which uses a SMTP server domain that only has an IPv6 AAAA record in DNS
- try to test the connection in the notification setup dialog
- a connection error notification will be shown
π Expected behavior
As it was in v1, kuma should automatically pick the IP family for the SMTP notification and not use fixed IPv4.
π Actual Behavior
If the SMTP notification is used with an IPv6 only domain a connection error will show up.
π» Uptime-Kuma Version
2.0.2
π» Operating System and Arch
Debian 13 arm64
π Browser
Firefox 141
π₯οΈ Deployment Environment
- Runtime Environment:
- Node.js: Version
20.19.2
- Node.js: Version
- Database:
- SQLite: Embedded
- Database Storage:
- Filesystem:
- Linux: ext4
- Storage Medium: SSD
- Filesystem:
- Uptime Kuma Setup:
- Number of monitors:
11
- Number of monitors: