Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2012 10:16:20 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Darren Pilgrim <list_freebsd@bluerosetech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Removing sendmail from an installed system
Message-ID:  <44629dtfbf.fsf@be-well.ilk.org>
In-Reply-To: <500DE961.2050908@bluerosetech.com> (Darren Pilgrim's message of "Mon, 23 Jul 2012 17:16:33 -0700")
References:  <500DE961.2050908@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Darren Pilgrim <list_freebsd@bluerosetech.com> 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44629dtfbf.fsf>