Vaultwarden cannot send emails

What app is this about, and its version: 1.35.2~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: VPS bought online

Describe your issue

Hi everyone,

I’m facing a very persistent Postfix issue on a YunoHost server and I’m running out of ideas.
I’d really appreciate any insight from people familiar with YunoHost’s mail stack.

Share relevant logs or error messages

The settings and error on Vaultwarden admin page:

hello,

maybe you’ve already check it but, just in case, in your yunohost users panel, have you an user “vaultwarden” / [the_password] ?

i’m not familiar with nohost.me, not sure about the needed configuration

myself, i have this in the vaultwarden admin panel :

and this in yunohost :

(of course, i obfuscate the subdomain / domain / tld, imagine something as vaultpass.mydomain.com)

Can you try changing the configuration as following:

Host: 127.0.0.1
Port: 587
Server name sent during HELO: <domain_where_vaultwarden_is_installed.tld>
Accept Invalid certs: true

To my knowledge service users (such as vaultwarden are only allowed to connect to localhost.

1 Like

Actually, I tried to open a new user on YunoHost panel but it says: “User already exists”. Also when I tried with my information on Vaultwarden admin I got the same error.

And I also made some attemps with your directions. I tried with just atakan.nohost.me (w/o application name before atakan.nohost.me) but, still getting same error.

When I installed Vaultwarden first, I can use it iwthout any extra configurations, error etc.

Without the Zen Browser’s error:

I appreciate that this is unhelpful, but I ended up just using an external SMTP relay as I was unable to solve this myself using the built in SMTP. I had the same error (535) with a different application but an identical configuration

Actually, I was previously using YunoHost’s built-in SMTP relay with the default configuration without any issues.

I’m not sure what changed, but this problem started recently and now occurs even when no application is actively sending emails.

Ah, I’m very new to Yunohost in the last few days and haven’t experienced the built in SMTP working - I assumed it just didn’t work or required some configuration I hadn’t come across. Perhaps this is a recent change that has broken something

Yeah, maybe. I lost Vaultwarden’s master password. Then I tried to recover it but I couldn’t succeed. Then, I uninstalled it. After re-installation I got this error.

My installation properly sends emails (I was wrong about needing to change anything).

Perhaps something breaks during reinstall loop?

Well, I need to check installation logs. However, I don’t know is there an option to see them.

They should be under WebAdmin->Tools->Logs, installation of app should have logs for suboperation (provision system user in this case) linked.

Here all they for re-installation:

https://paste.yunohost.org/raw/pafuroreco

https://paste.yunohost.org/raw/moqaxexaxo

Also there are some logs when I’m trying to upgrade:

https://paste.yunohost.org/raw/vuxoharija

https://paste.yunohost.org/raw/tavewanaxa

Does the file /etc/postfix/app_senders_login_maps exist on your system? Who owns it?

Yeah, it exists. Inside of it there are e-mails of applications. Vaultwarden’s is: vaultwarden@passwords.atakan.nohost.me vaultwarden

and what happens if you sudo postmap /etc/postfix/app_senders_login_maps ?

What is the output of :

sudo yunohost tools regen-conf --dry-run --with-diff

This won’t change anything in the system. It only checks for inconsistencies.

Nothing.

Error: No regen-conf categories named ‘dry-run, --with-diff’

There’s no space between -- and dry-run, it’s a command line switch.