-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Hostname with "_" does not appear correctly in email notifications #656
Comments
Can you post your compose file and diun yaml configuration (if applicable) please? And also source of the email would help thx! |
Sure:
|
Here is message source:
|
Looking at the source of the email it seems broken for
I guess this is an issue with hermes in: diun/internal/notif/mail/client.go Line 73 in 21f5d08
We might need to do something like the telegram notif to escape some markdown syntax: diun/internal/notif/telegram/client.go Lines 65 to 72 in 387ee68
Will take a look, thanks for your report! |
Behaviour
Steps to reproduce this issue
I added to my compose file:
hostname: dk_diun
Expected behaviour
Hostname to appear in email notification
Actual behaviour
The hostname in the emails appears like:
(triggered by _dk diun host)
Configuration
uname -a
) :Linux DK 4.14.222-odroidxu4 #1 SMP PREEMPT Mon Nov 22 12:13:27 UTC 2021 armv7l GNU/Linux
The text was updated successfully, but these errors were encountered: