nixers
[FreeBSD] Disable sendmail and moused completely. - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems & Administration (https://nixers.net/Forum-Operating-Systems-Administration)
+--- Forum: BSD (https://nixers.net/Forum-BSD)
+--- Thread: [FreeBSD] Disable sendmail and moused completely. (/Thread-FreeBSD-Disable-sendmail-and-moused-completely)


[FreeBSD] Disable sendmail and moused completely. - yrmt - 16-08-2012

You may have noticed that sendmail and moused get started automatically at first boot. I don't use sendmail or mouse in tty.

- Disable sendmail, add this in /etc/rc.conf:

``
sendmail_enable="NONE"
sendmail_msp_queue_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
``

- Disable moused, comment this in /etc/devd.conf:

``
attach 100 {
device-name "ums[0-9]+";
action "/etc/rc.d/moused quietstart $device-name";
};

detach 100 {
device-name "ums[0-9]+";
action "/etc/rc.d/moused stop $device-name";
};
``

This should stop a few megs ram and 3 processes.