I've looked for an answer to this error all over, and I keep finding only the one people would get if sendmail-cf wasn't installed. Yes the file doesn't exist, but do I try to make it and with what content or do I just comment that line out? The install and config tutorial I used said to do hostname >> /etc/mail/relay-domains and then run m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf but when I run the m4 command I get the error in the title.

  • Note: accepting an answer is enough to indicate your problem is solved; there's no need to put "solved" in the title. – Kamil Maciorowski May 2 '19 at 15:48

m4 requires quotes quite unlike other programming languages.

FEATURE(`relay_hosts_only') dnl OK
FEATURE('relay_hosts_only') dnl !!!BAD!!!
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.