[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Setting up SMTP?



...sorry guys, forgot to copy subject. this is, when using digest...
Roger

[snip]
>m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
>/etc/mail/sendmail.mc:10: m4: Cannot open
>/usr/share/sendmail-cf/m4/cf.m4: No such file or directory
>
>
>
This is correct.  The m4 program cannot rebuild the mail files.
[/snip]

...not right away correct, the m4-command does rebuild sendmail.cf. but you should do this in the final directory. so
better cd to /etc/mail/ and then do m4 sendmail.mc>sendmail.cf

so, if you changed it in your sendmail.mc, this should help you. BTW i prefer a reload of sendmail after doing the
changes.

Some workaround for the starting of sendmail: do as root
-> chkconfig list sendmail

you will see a on/off-switch of each runlevel. if its everywhere 'off', turn it on with:

-> chkconfig --level 345 sendmail on

this turns sendmail on for runlevels 345. if you get an error-messages, that you cannot do this, do:

-> chkconfig --add sendmail

this adds sendmail to /etc/init.d. now you can redo chkconfig --level....... this will start sendmail automatically on
the next reboot.

HTH
Roger

Roger




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]