rubysecurity.org

Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive
11 June 2012

Sendmail domain masquerade problem

by Alpha01

Recently, I wanted to change my host outgoing domain email address. Since I’ve been getting into the habit of using bare minimal installs, it turns out that sendmail by default does not include sendmail-cf package needed by the m4 utility to generate a sendmail .cf configuration file.

Error

[root@bashninja mail]# m4 < sendmail.mc > sendmail.cf 
m4:stdin:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory

Fix

[root@bashninja mail]# yum install sendmail-cf
Tags: [ sendmail ]