Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 17:16:33 -0700
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        freebsd-questions@freebsd.org
Subject:   Removing sendmail from an installed system
Message-ID:  <500DE961.2050908@bluerosetech.com>

next in thread | raw e-mail | index | archive | help
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").

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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500DE961.2050908>