Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2012 10:16:20 -0400
From:      Lowell Gilbert <>
To:        Darren Pilgrim <>
Subject:   Re: Removing sendmail from an installed system
Message-ID:  <>
In-Reply-To: <> (Darren Pilgrim's message of "Mon, 23 Jul 2012 17:16:33 -0700")
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Darren Pilgrim <> writes:

> I'm removing sendmail entirely from an installed system.  I had
> WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but
> that left an old version of sendmail rotting away on disk.  This is
> the list I have so far:
> /etc/mail/* (excluding mailer.conf)
> /etc/rc.d/sendmail
> /usr/bin/vacation
> /usr/libexec/mail.local
> /usr/libexec/sendmail
> /usr/libexec/smrsh
> /usr/sbin/editmap
> /usr/sbin/mailstats
> /usr/sbin/makemap
> /usr/sbin/praliases
> /usr/share/sendmail
> /var/spool/clientmqueue
> /var/spool/mqueue
> Is this list complete?  I'm intentionally leaving the stuff for
> mailwrapper.  I'm ok with leaving /etc/rc.d/sendmail behind as well,
> but it looks like it's not needed by anything (i.e., nothing requires
> "mail").

"make delete-old"; see the section "Deleting obsolete files, directories
and libraries" in the handbook.

> Even though I have WITHOUT_SENDMAIL specified and the world was built
> with that, mergemaster still installs /etc/mail/aliases and
> /etc/rc.d/sendmail.  Is there a way to prevent this other than adding
> them to IGNORE_FILES in mergemasterrc?

There are other ways, but that's the first one I would think of. Note
that neither of these files can be harmful, and might (especially
aliases) be used by other MTA.

Want to link to this message? Use this URL: <>