mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #4416] Sendmail client error #1878
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1878
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shishkin on GitHub (Mar 8, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4416
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@mydomain.organd 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.
@stefan0xC commented on GitHub (Mar 8, 2024):
Are you sure that this is the only directory that needs to be writable? Can you try with
/var/spool/nullmailer?