I'm trying to configure the sendmail on my ubuntu, the following should install the necessary packages:
sudo apt-get install sendmail sendmail-cf m4
But then when I'm changing the sendmail.mc file how I should compile it to see the changes in sendmail.cf
file ??
This tutorial suggests the make
command :
cd /etc/mail
make
but then the changes are not reflect in my sendmail.cf
command.
Also some suggests that :
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
But then I'm getting the error :
m4:/etc/mail/sendmail.mc:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
So I don't know how to compile the sendmail.mc
file !!
And as I mentioned I have installed the sendmail
, sendmail-cf
and m4
packages.