Replies: 2 comments 3 replies
-
Are you sure that this is the only directory that needs to be writable? Can you try with |
Beta Was this translation helpful? Give feedback.
3 replies
-
I was able to get outgoing mail working with this config:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Subject of the issue
I'm unable to get vaultwarden to send a test email using sendmail command.
Deployment environment
Versions
Server Installed
Server Latest
1.30.5
Web Installed
2023.10.0
Web Latest
2024.1.2b
Database
SQLite: 3.44.0
Checks
OS/Arch
linux / aarch64
Running within Docker
No
Environment settings overridden
Yes
Uses a reverse proxy
Yes
IP header Match
Config/Server: X-Real-IP
Internet access Ok
Yes
Internet access via a proxy
No
DNS (github.com)
20.201.28.151
Date & Time (Local)
Server: 2024-03-08 18:31:29 +01:00
Date & Time (UTC) Server/Browser Ok Server NTP Ok Browser NTP Ok
NTP: 2024-03-08 17:31:29 UTC Server: 2024-03-08 17:31:29 UTC Browser: 2024-03-08 17:31:29 UTC
Domain configuration Match HTTPS
Server: https://vault.example.org/admin/diagnostics Browser: https://vault.example.org/admin/diagnostics
Install method: vaultwarden service on NixOS
Other relevant details:
I have installed nullmailer service on NixOS and configured vaultwarden systemd unit according to https://github.com/dani-garcia/vaultwarden/wiki/SMTP-configuration#using-sendmail-without-docker. User vaultwarden added to nullmailer group.
Systemd unit generated by nixos:
Steps to reproduce
Go to admin page -> SMTP Email Settings -> Send test email
Expected behaviour
Expect email to be sent successfully.
Actual behaviour
Troubleshooting data
I'm able to run
echo "Subject: sendmail test" | sudo -u vaultwarden sendmail -v [email protected]
and get the email.vaultwarden log has the same error message as in the admin page alert.
Any help troubleshooting the issue is very much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions