Enable Sendmail in FreeBSD

This can be enabled in the rc.conf file at ‘/etc/rc.conf’.

Check for the following variable “sendmail_enable”.

If set to “NO”, specifies sendmail to only listen on localhost.

sendmail_enable=”NO”

Checking netstat result.

$ netstat -na |grep LIST | grep 25
tcp4 0 0 127.0.0.1.25 *.* LISTEN

If set to “YES”, allows remote connections.

sendmail_enable=”YES”

If set to “NONE”, disables the sendmail daemon.

sendmail_enable=”NONE”

One Response to “Enable Sendmail in FreeBSD”

  1. 2standstillon 12 Jan 2022 at 9:44 pm

    2beginner…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.