YunoHost-Apps / vaultwarden_ynh

Open source password management solutions for YunoHost
https://bitwarden.com/
GNU General Public License v3.0
54 stars 17 forks source link

Troublesome User Addition from Vaultwarden on Yunohost Instance - SMTP 5xx error: permanent error (535): 5.7.8 Error: #262

Open gamersalpha opened 3 weeks ago

gamersalpha commented 3 weeks ago

Describe the bug

I'm trying to add users on my Yunohost instance (which works) but impossible to add a user from Vaultwarden.

Error sending SMTP test email SMTP 5xx error: permanent error (553): 5.7.1 vaultwarden-rs@**domain.tld**: Sender address rejected: not owned by user vaultwarden Among the things I tried: I created another user and tried entering the credentials of this user (it didn't work).

I also obviously tried setting as address "vaultwarden@domain.tld" since the user is Vaultwarden, without success either... Do you have any idea? I would rather avoid using an external SMTP (it seems a bit ridiculous).

Thank you very much

Context

Steps to reproduce

sudo yunohost app install the_app

Expected behavior

I expected to be able to add users from Vaultwarden without any issues.

Logs

Please find the logs at this link: [insert log link here]

After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)

[2024-06-09 10:45:41.171][vaultwarden::mail][ERROR] SMTP 5xx error: permanent error (535): 5.7.8 Error: authentication failed:  - Authentication credentials invalid
[2024-06-09 10:45:41.172][response][INFO] (test_smtp) POST /vaultwarden/admin/test/smtp => 400 Bad Request
[2024-06-09 10:50:21.447][request][INFO] POST /vaultwarden/admin/test/smtp
[2024-06-09 10:50:23.009][vaultwarden::mail][ERROR] SMTP 5xx error: permanent error (535): 5.7.8 Error: authentication failed:  - Authentication credentials invalid
[2024-06-09 10:50:23.010][response][INFO] (test_smtp) POST /vaultwarden/admin/test/smtp => 400 Bad Request
djibux commented 2 weeks ago

Similar issue here on a fresh install of vaultwarden. When I am trying to invite a user from the admin portal, I get the following error:

Error inviting user
SMTP 5xx error: permanent error (535): 5.7.8 Error: authentication failed:  - Authentication credentials invalid