sendmail - MTA (Mail Transport Agent) HOWTO

ChangeLog


2023-09-25	- Note confirming my own build success with OpenSSL versions
		- Added a few more links such as the Cyrus IMAP page about
		  setting up sendmail, link to RTCyrus3
2023-06-04	- 8.17.1 -> 8.17.2
		- Added note about Let's Encrypt
2021-12-10	- 8.16.1 -> 8.17.1
		- Changed download URLs from ftp://ftp.sendmail.org/pub/sendmail/
		  to https://ftp.sendmail.org/
2020-07-07	- 8.15.2 -> 8.16.1
		- Note about current actual home page URL
		- Note about snapshots
		- Changed englanders.us URLs from http to https
2019-01-15	- Link+note about 8.16.0.29
		- OpenSSL 1.1.0 patch (for 8.15.2) from Debian
		- Updated Slackware package list for 14.2, removed older than
		  13.37
2016-04-04	- 8.15.1 -> 8.15.2
		- Added SMTP session reuse bugfix patch
2015-02-26	- 8.14.9 -> 8.15.1
		- Removed md5sum verification, added sha256sum
2014-06-05	- 8.14.8 -> 8.14.9
2014-04-24	- 8.14.7 -> 8.14.8
		- Updated Slackware note for 14.1
		- Added 64-bit for /usr/local/ssl/lib64 to site.config.m4 also
2013-07-05	- 8.14.6 -> 8.14.7
		- Added installing library files to /usr/lib64 if
		  64-bit (set confLIBDIR)
		- Set to install man pages under /usr/man instead of
		  /usr/share/man (set confMANROOT and confMANROOTMAN)
		- Added how to remove sendmail to the bottom
2013-01-15	- Removed note about 8.14.5 patch for two AUTH lines issue
		- Removed Slackware notes for older than 13.0
2013-01-14	- 8.14.5 -> 8.14.6
		- Updated Slackware note for 14.0
		- Instead of $USER use the more available logname program
2012-03-01	- Added applying of the SMTP AUTH patch and a link to
		  download it (vs. a semi-vague newsgroup reference)
2011-05-26	- Added note about SMTP AUTH as client patch
2011-05-18	- 8.14.4 -> 8.14.5
		- Updated Slackware note for 13.1 and 13.37
2010-01-12	- 8.14.3 -> 8.14.4
		- Updated Slackware note for 12.2 and 13.0, removed older
		  than 12.0
2008-05-08	- 8.14.2 -> 8.14.3
		- Updated Slackware note for 12.0 and 12.1
2007-12-12	- 8.14.1 -> 8.14.2
2007-04-04	- 8.14.0 -> 8.14.1
		- Added a few things to fix ownership and permissions of
		  an old source directory so your non-root user can remove
		  it
2007-02-02	- 8.13.8 -> 8.14.0
		- Updated Slackware note for 11.0
Aug 9, 2006	- 8.13.7 -> 8.13.8
Jun 23, 2006	- Fixed a typo in this changelog
Jun 15, 2006	- 8.13.6 -> 8.13.7
Apr 17, 2006	- Note about NEWDB
Mar 23, 2006	- 8.13.5 -> 8.13.6 (security):
		  <a href="http://www.sendmail.com/company/advisory/index.shtml">http://www.sendmail.com/company/advisory/index.shtml</a>
		  <a href="http://www.us-cert.gov/cas/techalerts/TA06-081A.html">http://www.us-cert.gov/cas/techalerts/TA06-081A.html</a>
		  <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0058">http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0058</a>
Nov 7, 2005	- Added note about build failure because of pthread
		- Create /etc/mail/statistics if it doesn't exist
		  (before trying to chmod it...)
Oct 5, 2005	- Updated the SSL cert part to refer to the instructions
		  in the openssl howto
Sep 27, 2005	- Moved a note, where it was would've caused someone not
		  paying attention to remove their SSL cert before the part
		  that installs it
Sep 19, 2005	- 8.13.4 -> 8.13.5
		- Updated Slackware note for 10.2
		- Fixed /etc/local-host-names -> /etc/mail/local-host-names
		- Make sure everything is writeable by the owner after
		  './Build install' is run instead
Sep 8, 2005	- su before trying to add the smmsp user and group
		- Use find on /etc/mail/*.db to run chown and chmod to avoid
		  'No such file or directory' if they don't exist
		- Install a sample /etc/mail/aliases file if you don't
		  already have one
		- Updated SSL cert notes to include info about OpenSSL when
		  installed under /usr instead of /usr/local/ssl
		- Fixed a few things like "<enter>" that were being HTMLified
		- Added a blurb to add /usr/local/ssl/bin to your PATH if
		  it's not already, when setting up SSL keys
		- Make sure all files in extracted source are writeable
		- Restore backed up .mc files as yourself (non-root user),
		  fixed a typo (/backup -> ~/backup)
		- If you don't have a /etc/mail/local-host-names, install a
		  blank one
Jul 29, 2005	- Rearranged options to shut up new version of find
		- Run chown -R root:root on source directory when $UID = 0
		- pointint -> pointing :-)
		- Updated SSL cert creation for OpenSSL 0.9.8's CA.pl
		  (newkey.pem, newreq.pem, instead of the key and req both in
		  newreq.pem), updated with what I type in for each prompt so
		  you can have a working example
Apr 29, 2005	- Changed source directory (see note <a href="howtos.php?msd">here</a>)
		- Create ~/backup/sendmail/sendmail-8.x.x with mode 700
		- Added links to the MIMEDefang, ClamAV, sophie, trophie
		  howtos
		- Added installation of a Makefile in /etc/mail
Apr 22, 2005	- Added confINSTALL_RAWMAN to site.config.m4 because the
		  formatted man pages
		- root.smmsp -> root:smmsp, and others (root.wheel, ...)
		- Removed make, gcc, binutils, fileutils/coreutils links
		- Added sha1sum tarball verification (in addition to md5sum)
Mar 31, 2005	- root.root -> root:root
Mar 29, 2005	- 8.13.3 -> 8.13.4
		- Updated notes for Slackware 10.1
		- Updated md5sum check to output OK (or not)
Mar 6, 2005	- Added building of socket map support
		  (commonly used with Cyrus IMAP >= 2.2)
Feb 14, 2005	- Added patch for libspf
Feb 7, 2005	- Added a note about libdb.so and db.h matching
		- Added creation of /usr/lib/sendmail symlink; this is a
		  commonly used path on other platforms and older versions of
		  sendmail
Jan 14, 2005	- 8.13.2 -> 8.13.3
Dec 21, 2004	- Changed db4 howto link to bdb howto link
Dec 16, 2004	- 8.13.1 -> 8.13.2
Aug 9, 2004	- 8.13.0 -> 8.13.1
Jun 28, 2004	- 8.12.11 -> 8.13.0
		- Added " or coreutils" to the fileutils prerequisite
		- Changed the md5sum -> textutils link to point to coreutils
		- Removed the part that removes old sendmail patches from
		  ~/installed, old milter includes that we don't need, etc.
		  Haven't needed that for a while.
Jan 19, 2004	- 8.12.10 -> 8.12.11
		- Added some of the notes from the beta howto that weren't
		  in this one
Sep 18, 2003	- 8.12.9 -> 8.12.10
		  See http://www.sendmail.org/8.12.10.html for info about
		  some of the security problems that were fixed
Aug 31, 2003	- Added a note about Slack 9's extra dir's db4 package
		- Minor update to the gpg verification part
		- Replaced cp -i in the backup config part with cp -f, -i
		  breaks the ability to cut and paste the whole section (if
		  it asks an interactive question) and may prevent it from
		  actually copying anything
		- Added a chmod 600 to the files that are copied into
		  ~/backup/sendmail/sendmail-ver/
		- Create ~/installed with mode 700
		- Create /etc/mail/certs with mode 700
Apr 23, 2003	- Added prerequisites, a few minor updates
Mar 31, 2003	- 8.12.8 -> 8.12.9
		  Go here:
		  <a href="http://www.sendmail.org/8.12.9.html">http://www.sendmail.org/8.12.9.html</a>
		  and here:
		  <a href="http://www.cert.org/advisories/CA-2003-12.html">http://www.cert.org/advisories/CA-2003-12.html</a>
		  for info about the critical security problem that this
		  version fixes
		- Added a cut and paste blurb for bdb 4.0.x (in addition to
		  the one for bdb 4.1.x)
Mar 3, 2003	- 8.12.7 -> 8.12.8:
		  <a href="http://www.cert.org/advisories/CA-2003-07.html">http://www.cert.org/advisories/CA-2003-07.html</a>
Feb 21, 2003	- Added a patch (from the authors) for cf/m4/proto.m4
		- Replaced -f (force overwrite) with -i for cp when backing
		  up old config files (to prompt y/n to overwrite existing
		  files)
		- Added something to restore backed up site.config.m4 if
		  you already have one for this version of sendmail
		- Added something to restore backed up sendmail.mc and
		  submit.mc if you already have them for this version
Feb 20, 2003	- Added something to clean up files we used to copy into
		  /usr/include and /usr/lib for a MIMEDefang installation
		  (originally done in the mimedefang HOWTO)
		- Updated adding smmsp user and group to only try if they're
		  not already there
		- Removed md5sum verification of the pgp signature, a little
		  excessive :-)
		- Seperated gpg verification into it's own section and
		  updated it (get the key if you don't have it, etc.)
		- Added something to the top to re-use
		  installed/sendmail.8.12.7.tar.gz if it exists (for a
		  re-installation of sendmail)
		- Added something to build and install libmilter if
		  -DMILTER is in devtools/Site/site.config.m4 (because
		  I'm lazy)
Jan 18, 2003	- Added note about removing Slack-installed sendmail first
Dec 31, 2002	- 8.12.6 -> 8.12.7
		- db 4.0.x -> 4.1.x
		- They use a pgp sig for the .tar.gz and the .tar.Z now
		  instead of just the .tar file
		- Added chmod 640 /etc/mail/aliases /etc/mail/statistics
		  to the permissions fixer-upper part
		- Updated SSL certs part to refer to the openssl howto,
		  added part to clean up old certs if CA.pl was run before
		- Added a persistent queue runner to the MSP usage part
		- You don't have to patch openssl's misc/CA.pl any more;
		  changed it to run -newreq-nodes instead
Dec 4, 2002	- Added patch that removes ability of bogus dns data to
		  circumvent access restrictions for IPs via check_relay
		- Updated the gpg verification to verify the output of zcat
		  instead of untarring it (which changes the md5sum when
		  it's re-gzipped)
		- Updated removal of previous version tarballs, backup of
		  config files, removal of old source dirs (watch it
		  carefully - let me know if you have trouble with it!)
Oct 9, 2002	- Added patch that fixes smrsh security hole
		- Replaced ftp download URLs with http
		- Only chmod the sendmail.pid file if it exists
		- Added site.config.m4 directives for building with db4
Aug 29, 2002	- Added removal of previous version, backup of .mc files
Aug 27, 2002	- Dumped 8.12.6.Beta1 instructions
		- 8.12.5 -> 8.12.6
Aug 19, 2002	- Added instructions for sendmail 8.12.6.Beta1
		- Added link to sendmail home page
		- Removed submit.mc section, no point in even documenting
		  that (because there are so many possibilities)
Aug 11, 2002	- Added note about re-gzipping sendmail-8.12.5.tar
Aug 5, 2002	- First entry
		- Added md5 and gpg verification

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]