Monday, January 24, 2011

Step to enable sendmail if port 25 is disable

Step to enable sendmail if  port 25 is disable






# svccfg -s sendmail listprop
more



config application

config/value_authorization astring solaris.smf.value.sendmail

config/include_info boolean false

config/local_only boolean true <<<< ----------------------------

config/path_to_sendmail_mc astring

config-file dependency

config-file/entities fmri file://localhost/etc/mail/sendmail.cf

config-file/grouping astring require_all

config-file/restart_on astring refresh

config-file/type astring path

nsswitch dependency

nsswitch/entities fmri file://localhost/etc/nsswitch.conf

nsswitch/grouping astring require_all

nsswitch/restart_on astring refresh

nsswitch/type astring path

autofs dependency

autofs/entities fmri svc:/system/filesystem/autofs

autofs/grouping astring optional_all

autofs/restart_on astring none

autofs/type astring service

dependents framework

dependents/smtp-sendmail_multi-user fmri svc:/milestone/multi-user

startd framework

startd/ignore_error astring core,signal

general framework

general/action_authorization astring solaris.smf.manage.sendmail

general/enabled boolean true

start method

start/exec astring "/lib/svc/method/smtp-sendmail start"

start/timeout_seconds count 120

start/type astring method

stop method

stop/exec astring "/lib/svc/method/smtp-sendmail stop %{restarter/contract}"



#svccfg -s sendmail setprop config/local_only=false



# svcadm refresh sendmail

# svcadm restart sendmail



# telnet localhost 25

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

220 server.um.us.sbphrd.com ESMTP Sendmail 8.14.4+Sun/8.13.7; Mon, 24 Jan 2011 08:18:39 -0500 (EST)

^C^]

telnet> quit

Connection to localhost closed.



testing

# echo "Subject: test"
/usr/lib/sendmail -v

0 comments:

Post a Comment

 
;