# svcadm disable sendmail
# svcadm disable sendmail-client
# pkg set-mediator -I postfix sendmail
# postconf mydomain=YOUR.DOMAIN
Type the following command:
svcprop -cp config/domain dns/client
Type the following command:
svcprop -cp config/search dns/client | nawk '{print $1}'
# svcadm enable postfix