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 - 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