Go to main content

Managing sendmail Services in Oracle® Solaris 11.3

Exit Print View

Updated: April 2020
 
 

Using sendmail in Open Mode

The sendmail service runs in local-only mode by default so that only mail from the local host is accepted. Messages from any other systems are rejected. Open mode accepts incoming mail from all remote systems.


Caution

Caution  -  Running sendmail in local-only mode is much more secure than running in open mode. Make sure that you are aware of the potential security risks.


In order to set up sendmail in open mode, you must have administrator privileges.

To change the sendmail properties to allow incoming mail from remote systems, issue the following commands:

# svccfg -s sendmail
svc:/network/smtp:sendmail> setprop config/local_only = false 
svc:/network/smtp:sendmail> quit

Refresh and restart the sendmail service to make the change take effect.

# svcadm refresh svc:/network/smtp:sendmail 
# svcadm restart svc:/network/smtp:sendmail