My Sendmail Problems

I use a FC6 setup for hosting my PHP5 sites, the server’s been mega reliable and maintenance using YUM is a piece of cake.  The only issue I had with the FC6 out-the-box setup was a problem when PHP attempted to send multiple emails using a  single script. 

After a quick hunt around it appeard that the problem was related to the Sendmail M4 configuration so I poped into webmain to have a look.  When selecting the Sendmail M4 configuration option I was greated with the following message:

Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system

Having never really messed around with Sendmail in any other capacity than a bit of maintainance and some limited configuration I thought I’d better Google the problem before attempting to break it any further.  After finding some vauge references to the problem in old debian forum posts I managed to piece the following solution together:

yum install sendmail-cf
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Turns out I was missing sendmail-cf, once that was installed I simply had to link up the config files using M4.

More from this section

RECENT PERSONAL WORK

AllTradeArt Case Study
Kwik Travel Case Study
Allotment Case Study
Revolutionshirts Case Study

RECENT ARTICLES

Import Error: No module named django.core.management

Installing and testing the Django Framework on my new mac I came acro... read more

Quick Note on Setting Up a Mail Server

Part of the basics when setting up a mail server but I needed to put ... read more

Microformats Creator Tool

"Microformats are a way of adding simple markup to human-readable... read more

Recursive Directory Listing

Nothing too fancy but a nice way of viewing a directory tree on your ... read more

CREDITS

powered by php-wax the php framework