You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With that compose modification above, now when I run "diun notif test" in the console I receive this error:
diun: error: rpc error: code = Unknown desc = 535 5.7.8 Username and Password not accepted. For more information, go to
5.7.8 (https://support.google.com/mail/?p=BadCredentials) 98e67ed59e1d1-2d85b145f60sm3931681a91.33 - gsmtp
I know diun is reading the 2 files because if I for example deliberately rename one of them, the log outputs "WRN Cannot retrieve username secret for mail notifier error="open /data/secrets/username: no such file or directory".
I am not well versed in Linux, it should not matter but just in case I converted the LF to LF+CR in the 2 files (using unix2dos). Error stayed the same.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I have set up mail notif with diun today, if I use the lines below in my compose file environment section:
running "diun notif test" inside the container works fine (I receive the test notification message at "destination-email")
I created a secrets folder inside the (persistent) data volume I am mapping in diun and ran these commands:
/data/secrets # ls
/data/secrets # echo "myuser" > username
/data/secrets # echo "mypwd" > password
/data/secrets # ls -l
total 8
-rw-r--r-- 1 root root 6 Aug 30 12:03 password
-rw-r--r-- 1 root root 7 Aug 30 12:02 username
Then I changed the compose file replacing this:
with this:
With that compose modification above, now when I run "diun notif test" in the console I receive this error:
diun: error: rpc error: code = Unknown desc = 535 5.7.8 Username and Password not accepted. For more information, go to
5.7.8 (https://support.google.com/mail/?p=BadCredentials) 98e67ed59e1d1-2d85b145f60sm3931681a91.33 - gsmtp
I know diun is reading the 2 files because if I for example deliberately rename one of them, the log outputs "WRN Cannot retrieve username secret for mail notifier error="open /data/secrets/username: no such file or directory".
I am not well versed in Linux, it should not matter but just in case I converted the LF to LF+CR in the 2 files (using unix2dos). Error stayed the same.
Thanks for the help
Beta Was this translation helpful? Give feedback.
All reactions