Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 16:11:15 -0400
From:      Scott Lambert <lambert@lambertfam.org>
To:        freebsd-isp@freebsd.org
Subject:   OT: create a sendmail.mc file from a sendmail.cf file?
Message-ID:  <20030529201115.GA28104@laptop.lambertfam.org>

next in thread | raw e-mail | index | archive | help
I would like to know if anyone has seen a sendmail.mc generator that
takes a sendmail.cf file as input.  Google hasn't come up with anything
yet, but I'm famous for not using the right search words.

Why do I need to do this, you ask?

I've been trying to move one of my customers off a Cobalt RaQ4 onto a
FreeBSD box.  (They were hacked twice in one week with all the patches
installed.  Those two times made 4 root compromises of the box in the
past year and a half and they saw the light.)  I currently have them up
on a RedHat box using a couple of the Cobalt binaries.  

Getting them up on the Linux box was about 24 man-hours of config
massaging and directory correlation once I gave up and used two binaries
from the compromised Cobalt.  That is in addition to the time spent in
RPM hunting hell.  All of the Cobalt packages were really old versions
of opensource packages.  Most of that config massaging is paying off in
the move from Linux to FreeBSD.

The biggest problems in bringing this system over to the FreeBSD box are
the Cobalt specific cgiwrap and majordomo wrapper binaries.

I think I've massaged the majordomo configs around to where they will
work without the Cobalt wrapper program and it's virtual hosting
additions.  We'll find out when we go live. :-(

I haven't gotten to the cgiwrap binary yet.  So far I plan to replace it
with suexec or the non-Cobalt cgiwrap.  But I am not far enough into it
to know if that will work without a lot of other changes.  They tell me 
they don't have a lot of CGI so I'm leaving that for last.

Right now, I am working on trying to upgrade the sendmail.cf file from
8.9 to 8.12 to make newaliases work and to ease future maintainability.
I never learned to read the sendmail.cf language beyond the basics, and
don't know the one to one mapping of mc rule to cf rule blocks.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert@lambertfam.org      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030529201115.GA28104>