Archive for the ‘Sendmail’ Category

Linux: Creating using m4

After modifying the on a Linux mail server your need to recreate the file.
m4 /etc/mail/ > /etc/mail/

Provided that /etc/mail/ has the following lines at the top:

dnl ### Include default Sendmail cf file

Other wise you need to include it on the command line:

m4 /usr/share/sendmail-cf/m4/cf.m4 /etc/mail/ > /etc/mail/

Now if you don’t get any errors from the previous command issue the following to restart sendmail:

/etc/init.d/sendmail restart

Categories: Linux, Sendmail Tags: , , ,