I just got finished compiling and installing sendmail 8.11.3 on Mac OS X 10.0.1 on a 350 MHz iMac w/ 64 MB of RAM and it seems to work like a charm. I am no unix guru, but heres what I did:
First off, I downloaded the newest version of sendmail from the following address:
ftp://ftp.sendmail.org/pub/sendmail/sendmail-8.11.3.tar.gz
and expanded it using Stuffit Expander
Then at the terminal, cd'd into the sendmail folder created by stuffit, then became root. next, I read the file INSTALL, which gives you all the installation instructions you need, but there are some little details that it leaves out. Basically, the first step is to type in:
sh Build
which runs the 'Build' shell script and compiles the source code. Then, you cd youself into cf/cf and execute the following command:
cp generic-bsd4.4.mc config.mc
and then
pico config.mc
and at the end of the file, I added the line:
FEATURE(promiscuous_relay)
and saved the file. Now, Unix diehards will tell you that this is a big security no-no, but it *will* take care of any "550 5.7.1 relaying denied" errors you might get. Basically, it makes things work at the risk of allowing any sort of email to pass through your box.
next, i typed in
sh Build config.cf
cp config.cf /etc/mail/sendmail.cf
cd ../..
sh Build install
and everything was supposed to work at this point, but it didnt. so, I manually copied the sendmail binary to the right place with the following command
cp obj.Darwin.1.3.PowerMacintosh/sendmail/sendmail /usr/sbin/sendmail
Then, I went into /etc/hostconfig and edited the HOSTNAME and MAILSERVER lines
next, typed in
chmod 755 /
reboot
in the terminal, and when i came back online, sendmail was still not running. finally went back into root and typed in
/usr/sbin/sendmail -bd
and things started working fine.
the only thing left to do is write a little script that executes on startup to execute the '/usr/sbin/sendmail -db' line, and i'll be as happy as flies on sh*t.
--kelly westbrooks