Tuesday, September 25, 2007
Reason #98,333,323 why I hate control panels
[The following is a trouble ticket submitted by me into the Company Internal Trouble Ticket Queue System™. It should be of no real surprise to anyone here, but it still makes for decent blog fodder.]
I have the graylist sendmail module written, so I go to install it for the XXXXXXXXXXXXX domain. The initial module does nothing but log the requests and let the email through—I did the same for the postfix module to ensure that the module worked before hooking it up to the greylist daemon.
Anyway, I'm going to install the sendmail module for XXXXXXXXXXXXX. XXXXXXXXXXXXX is
on XXXXXXXXXXXXXXXXXX, which is a box managed by
Insipid
. Now, the
instructions for installing the sendmail module are easy—just modify
/etc/mail/sendmail.mc
with the following lines:
define(`_FFR_MILTER', `1')dnl. INPUT_MAIL_FILTER(`filter1', `S=unix:/tmp/milter')
And run make
in /etc/mail
to generate the new
sendmail.cf
file. Fortunately for us, I made a backup copy of
both the sendmail.cf
and sendmail.mc
files. So I
do thusly. And then I compare the new sendmail.cf
file with the
one supplied by Insipid
.
[root@XXXXXX ~]# cd /etc/mail [root@XXXXXX mail]# diff -y sendmail.cf sendmail.cf.milter
(if you run that, make sure your terminal window is W I D E, since it shows both versions side-by-side)
Lots o' differences.
And while I can merge the two, will an upgrade of Insipid
break sendmail.cf
? What about our warranty? Or are we forever
doomed to manually patch the sendmail.cf
file?