Answer the question
In order to leave comments, you need to log in
What kind of ridiculous troubles does msmtp have with file access (anywhere except /tmp)?
fastened msmtp to ubuntu server 20.04
the letters themselves go badly. Trouble in additional options
.
aliases /etc/aliases.msmtp
logfile /var/log/msmtp.log
syslog on
msmtp: /etc/aliases.msmtp: Permission denied
and write logs until you change paths in config and reality to /tmp/. [email protected]:/etc# ls -la msmtprc
-rw-r--r-- 1 root root 312 Mar 19 11:21 msmtprc
[email protected]:/etc# ls -la aliases.msmtp
-rw-r--r-- 1 root root 24 Mar 19 11:13 aliases.msmtp
Answer the question
In order to leave comments, you need to log in
the moronic apparmor
would have driven
a nail into the head, who invented it without asking to put / turn it on, so that he could hold on tighter,
how to squeeze it out completely and could not, but /etc/apparmor.d has a rule for msmtp and you can figure it out - change the paths / names to read/write
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question