4

sendmail generate new sendmail.cf

view full story
linux-howto

http://serverfault.com – I have changed hostname on my Ubuntu 8.04 server but sendmail is still sending emails showing old hostname in the email headers 'From' field. I have tried running command to re-generate my sendmail.cf but it ended up with the errors: root@server:/etc/mail# m4 sendmail.mc > file.mc *** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER() Could you please help me to make sendmail (HowTos)