Answer the question
In order to leave comments, you need to log in
Why won't sendmail start?
Hello. Trying to connect rspamd to sendmail
Adding lines to the /etc/mail/sendmail.conf file according to the documentation
MAIL_FILTER(`rspamd', `S=inet:localhost:11332, F=T')
define(`confINPUT_MAIL_FILTERS', `rspamd')
[email protected]:~$ sudo service sendmail restart
Job for sendmail.service failed because the control process exited with error code. See "systemctl status sendmail.service" and "journalctl -xe" for details.
авг 30 21:50:25 node sendmail[21589]: /etc/init.d/sendmail: 1: /etc/mail/sendmail.conf: Syntax error: Unterminated quoted string
авг 30 21:50:25 node systemd[1]: sendmail.service: Control process exited, code=exited status=2
авг 30 21:50:25 node systemd[1]: Failed to start LSB: powerful, efficient, and scalable Mail Transport Agent.
Answer the question
In order to leave comments, you need to log in
Problem solved. It turns out that these lines should have been written in /etc/sendmail/sendmail.mc , and not in /etc/mail/sendmail.conf , and then run the command m4 sendmail.mc > /etc/sendmail.cf
and restart sendmail
Well, he writes to you that quotes are not closed somewhere. I have a doubt about the back quotes, in theory they should be straight.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question