The main issue is you are running a legacy SVR4 packaging command which is only supported to handle legacy packages which sendmail is not.
The supported way to remove a Solaris package under Solaris 11 and newer is:
In that particular case, you would also need to remove the smtp-notify package which depends on sendmail.
You can run this command to see if no other dependency is present on you machine:
Note that the -n tell pkg not to actually remove any package (trial run)
If you are fine with removing sendmail, simply run the command without the -n option.
I'm a newbie to Unix, but am working with some people that are more knowledgable than I, and we're all stumped.
We are working to secure (Information Assurance) a Command & Control System that uses a Solaris 8 Application server. As part of this process, we are attempting to minimize the... (0 Replies)
Hi all,
Is there any option to remove a package without removing the dependent packages....
ie, i need to remove a package, while trying to remove by using pkgrm command it says as some dependent packages also will get removed, i dont want to remove those dependent packages. (1 Reply)
If my system is supposed to be a pure oracle database server can i remove all the GNOME packages from the system ? Currently system is installed with Everything+OEM and i want the image to be as small as possible remove the unnecessary softwares from it so that its a master image for other servers.... (2 Replies)
hey
i need to remove a package has my system will not boot up now.
when i go into failsafe and mount the root onto /a
if i run pkgrm -R /a SUNWvolu it says it does no exist, i een tried to pkginfo -R /a to see if i could see any packages, but it no packages are returned.
as failsafe is... (1 Reply)
Hi,
Need a small help
Bash$> pkginfo | grep -i compress
system SUNWbzip The bzip compression utility
system SUNWgzip The GNU Zip (gzip) compression utility
system SUNWzip The Info-Zip (zip)... (9 Replies)
Is there any way to do this?
Files/directory have been deleted but pkginfo reports the packages still there. Is there any way to clean this out? (2 Replies)
I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository.
This is third party tool, I have downloaded it to /var/tmp. How should I install it ?
root@orapdps11 # pkg publisher
PUBLISHER ... (4 Replies)
Hi all,
Does anyone know where you can get solaris 10 packages these days? It seems that sunfreeware have now started charging you to download them, which is good.
I have found opencsw, but that seems to rely on you hooking the machine into the interenet and at the moment I am trying to... (3 Replies)
Does anyone know how to install a package that comes in a p5i file in Solaris 11.4? The first thing the Oracle documentation says is to "launch packagemanager". Well they removed packagemanager from 11.4 (and you can't install it yourself). I want a package from... (7 Replies)
Discussion started by: Michele31416
7 Replies
LEARN ABOUT OSF1
mailstats
mailstats(8) System Manager's Manual mailstats(8)NAME
mailstats - Displays statistics about mail traffic
SYNOPSIS
mailstats [-o] [-C cffile [-f stfile]
FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send-
mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st.
DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats
it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the
sendmail.cf file.
EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position
of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the
number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M
msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6
43 59K 58 99K 0 0 smtp ============================================================ T 93
136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in
the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of
bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local
machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer.
Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer.
If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to
the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st.
FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail
RELATED INFORMATION
Commands: sendmail(8) delim off
mailstats(8)