Subject: sendmail 8.8.8 antispam available
To: None <port-mac68k@NetBSD.ORG, mklinux-misc@public.lists.apple.com>
From: None <jon@colossus.cs.wits.ac.za>
List: port-mac68k
Date: 02/20/1998 13:38:59
sendmail 8.8.8 is available on my ftp server under

/pub/unix/src/

it is compiled for both netbsd mac68k and mklinux.

sendmail-8.8.8.tar.gz.mklinux
sendmail-8.8.8.tar.gz.netbsd

you should get the one compiled for your architecture.
It has been tidied up a bit by me. when you list the folder, you will see


STUFF  cf  sendmail  sendmail.cf  doc


STUFF is the source

cf is where you make sendmail.cf files (note the new m4 architecture). you
basically use a pre-existing .mc file, modify it slightly, and type m4
(thefile) > thefile.cf. see the readme. makes generating a new 888
compliant file much easier. it can however just be plugged in in place of
your old sendmail binary. note that when you put the new sendmail 888
binary in /usr/sbin, you MUST run newaliases immediately after, since the
.db files differ.

sendmail is the precompiled binary (getting it will save netbsd'ers about
an hour of boredom waiting for it to compile). oboy is the 68030 sloooow!

sendmail.cf can replace your /etc/sendmail.cf. the only thing you must do
is search for 0A in it to make sure your aliases files are listed
correctly. for example, i have about 10 alias files on my mklinux box, of
which you will probably only have one in common with me, so you need to
strip the extra filename specifications. 

finally, this cf file i have provided has a small section with anti-spam
rules. it will refuse attempts to use invalid domains as well as refuse
3rd party relay. ie., when someone connects to your server, and says
they're from some funny place, and then give your server the tedious job
of delivering their thousands of spam mails. basically, if it sees that
the source and destination have nothing to do with your site, it will
refuse to relay. the exception occurs in the line

R$=.cs.wits.ac.za $| $*         $@ OK           permit hosts in Cw

which you'll need to correct for your domain. if you replace
.cs.wits.ac.za with your domain name, it should allow machines in your
domain to use your server for 3rd party. if you replace .cs.wits.ac.za
with a "w" it will also allow the hosts in /etc/sendmail.cw.

have fun!

ps. the sendmail.cf file for netbsd is slightly broken (don't forget to
change the domain name inside it!). mailq doesn't work. please will
someone take my original macaroni.mc file, and modify it so that it
compiles under m4 to be a valid .cf file, without complaints when you try
use mailq. generally everything seems to be working, but mailq doesn't.
the problem comes from there not being an ostype for netbsd.

feel free to mail me the corrected mc file.

thanks!

 ____________________________________________________________
John Ostrowick
jon@cs.wits.ac.za, +27 11 716-3783
Computer Science Department, University of the Witwatersrand   
Web site, ftp site and listserv all available at: 
http://macaroni.cs.wits.ac.za/