The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.

Things look quiet here. But I've been doing a lot of blogging at because I prefer WordPress now. Not all my posts there are FreeBSD related. I am in the midst of migrating The FreeBSD Diary over to WordPress (and you can read about that here). Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website.

Upgrading to sendmail 8.9.3 18 February 1999
Need more help on this topic? Click here
This article has no comments
Show me similar articles
This article describes how I upgraded from sendmail 8.9.2 to sendmail 8.9.3.  The process is like to be much more complicated if you have a much earlier version of sendmail.  The main reason for upgrading was it fixed a a headers Denial of Service attack as well as other minor problems.  See for more information.
The build
Here's what I did:
[root@ns:/usr/ports/mail] # fetch -p 
Receiving sendmail.8.9.3.tar.gz (1068290 bytes): 100%
1068290 bytes transfered in 57.1 seconds  (18.28 Kbytes/s)
[root@ns:/usr/ports/mail] # tar xvfz sendmail.8.9.3.tar.gz
[root@ns:/usr/ports/mail] # cd sendmail-8.9.3
[root@ns:/usr/ports/mail/sendmail-8.9.3] # cd src
[root@ns:/usr/ports/mail/sendmail-8.9.3/src] # ./Build
[root@ns:/usr/ports/mail/sendmail-8.9.3/src] # ./Build install
The next step is to re-create your file.  For more detail, please see the original article on upgrading sendmail.   In the following commands, I will copy the original file to it's new location and compile it to create a new
# cd/usr/ports/mail/sendmail-8.9.3/cf/cf
# cp ../../../sendmail-8.9.2/cf/cf/  .
# m4 ../m4/cf.m4 >
# cp /etc/ /etc/sendmail.892
# cp /etc/

Now restart sendmail:

# killall -hup sendmail

Check the logs in case something went wrong.   The actual file name may vary and may will be /var/log/messages.

# tail /var/log/maillog

Now you should send a message to yourself and examine the mailing list headers for that message.  Somewhere, it should have this in the headers:


If you see that, then congratulations, you have the latest and greatest version of sendmail!

Need more help on this topic? Click here
This article has no comments
Show me similar articles