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
This works under root, and it works under broker. The mail arrives in my inbox.
Now I enable portier to use sendmail, by uncomenting this line in the config.toml:
sendmail_command = "/usr/sbin/sendmail"
The results vary depending under which user the broker now runs. Under broker and dynamic user, I get this:
Mar 08 00:56:13 user portier-broker[2733945]: ERROR Could not send mail: internal client error: Program mode requires special privileges, e.g., root or TrustedUser.
Mar 08 00:56:13 user portier-broker[2733945]: ERROR [REF:yjfzmr] Failed to send mail
(note though that the same user was able send mails on the terminal.)
Under root I get this:
Mar 08 00:58:26 user portier-broker[2734685]: ERROR Could not send mail: internal client error:
Mar 08 00:58:26 user portier-broker[2734685]: ERROR [REF:g6c76b] Failed to send mail
Might this be a systemd issue? I used the provided systemd service file.
The text was updated successfully, but these errors were encountered:
On a linux system, I have a working sendmail system. It relays messages via sendgrid, and this works:
This works under
root
, and it works underbroker
. The mail arrives in my inbox.Now I enable portier to use sendmail, by uncomenting this line in the config.toml:
The results vary depending under which user the broker now runs. Under broker and dynamic user, I get this:
(note though that the same user was able send mails on the terminal.)
Under root I get this:
Might this be a systemd issue? I used the provided systemd service file.
The text was updated successfully, but these errors were encountered: