Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How disable "sendmail" 11.3

3521de74-b86c-4f4c-88a4-65175c854cbbNov 20 2015 — edited Nov 20 2015

From within the "svcadm" comand, the following help is displayed when a command is not syntactically correct. In my case I am interested in disabling "sendmail" and it just so happens then command gives all possible permutations on what I am looking for.

So why if I type every (ALL) example to disable "sendmail" that after a reboot "sendmail" is still running?

How do I stop "sendmail" permanently?

Usage: svcadm [-v] [cmd [args ... ]]

        svcadm enable [-rt] [-s [-T timeout]] <service> ...

                enable and online service(s)

        svcadm disable [-t] [-s [-T timeout]] <service> ...

                disable and offline service(s)

        svcadm restart [-s [-T timeout]] <service> ...

                restart specified service(s)

        svcadm refresh [-s [-T timeout]] <service> ...

                re-read service configuration

        svcadm mark [-It] [-s [-T timeout]] <state> <service> ...

                set maintenance state

        svcadm clear [-s [-T timeout]] <service> ...

                clear maintenance state

        svcadm milestone [-d] [-s [-T timeout]] <milestone>

                advance to a service milestone

        svcadm delegate [-s] <restarter> <svc> ...

                delegate service to a restarter

        Services can be specified using an FMRI, abbreviation, or fnmatch(5)

        pattern, as shown in these examples for svc:/network/smtp:sendmail

        svcadm <cmd> svc:/network/smtp:sendmail

        svcadm <cmd> network/smtp:sendmail

        svcadm <cmd> network/*mail

        svcadm <cmd> network/smtp

        svcadm <cmd> smtp:sendmail

        svcadm <cmd> smtp

        svcadm <cmd> sendmail

This post has been answered by 3521de74-b86c-4f4c-88a4-65175c854cbb on Nov 20 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2015
Added on Nov 20 2015
4 comments
956 views