Its the best practice to know the files on the RPM before installing it. here is the way to find it.
To know the RPM already installed on the box, pass this command. if it replies the RPM Name it means that it is installed on the box,
[root@castle-hat Packages]# rpm -qa sendmail
sendmail-8.14.4-8.el6.x86_64
Option to know only the description of the RPM,
[root@castle-hat Packages]# rpm -qi sendmail
Name : sendmail Relocations: (not relocatable)
Version : 8.14.4 Vendor: Red Hat, Inc.
Release : 8.el6 Build Date: Thu 17 Jun 2010 08:18:24 PM IST
Install Date: Thu 09 Aug 2012 05:39:30 PM IST Build Host: x86-004.build.bos.redhat.com
Group : System Environment/Daemons Source RPM: sendmail-8.14.4-8.el6.src.rpm
Size : 1623227 License: Sendmail
Signature : RSA/8, Tue 17 Aug 2010 01:26:46 AM IST, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.sendmail.org/
Summary : A widely used Mail Transport Agent (MTA)
Description :
The Sendmail program is a very widely used Mail Transport Agent (MTA).
MTAs send mail from one machine to another. Sendmail is not a client
program, which you use to read your email. Sendmail is a
behind-the-scenes program which actually moves your email over
networks or the Internet to where you want it to go.
If you ever need to reconfigure Sendmail, you will also need to have
the sendmail-cf package installed. If you need documentation on
Sendmail, you can install the sendmail-doc package.
To know the RPM already installed on the box, pass this command. if it replies the RPM Name it means that it is installed on the box,
[root@castle-hat Packages]# rpm -qa sendmail
sendmail-8.14.4-8.el6.x86_64
Option to know only the description of the RPM,
[root@castle-hat Packages]# rpm -qi sendmail
Name : sendmail Relocations: (not relocatable)
Version : 8.14.4 Vendor: Red Hat, Inc.
Release : 8.el6 Build Date: Thu 17 Jun 2010 08:18:24 PM IST
Install Date: Thu 09 Aug 2012 05:39:30 PM IST Build Host: x86-004.build.bos.redhat.com
Group : System Environment/Daemons Source RPM: sendmail-8.14.4-8.el6.src.rpm
Size : 1623227 License: Sendmail
Signature : RSA/8, Tue 17 Aug 2010 01:26:46 AM IST, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.sendmail.org/
Summary : A widely used Mail Transport Agent (MTA)
Description :
The Sendmail program is a very widely used Mail Transport Agent (MTA).
MTAs send mail from one machine to another. Sendmail is not a client
program, which you use to read your email. Sendmail is a
behind-the-scenes program which actually moves your email over
networks or the Internet to where you want it to go.
If you ever need to reconfigure Sendmail, you will also need to have
the sendmail-cf package installed. If you need documentation on
Sendmail, you can install the sendmail-doc package.
The Below command shows the description of the RPM along with the files and its destination location,
[root@RHEL6 Packages]# cd /mnt/cdrom
[root@RHEL6 Packages]# rpm -qpil sendmail-8.14.4-8.el6.x86_64.rpm
Name : sendmail Relocations: (not relocatable)
Version : 8.14.4 Vendor: Red Hat, Inc.
Release : 8.el6 Build Date: Thu 17 Jun 2010 08:18:24 PM IST
Install Date: (not installed) Build Host: x86-004.build.bos.redhat.com
Group : System Environment/Daemons Source RPM: sendmail-8.14.4-8.el6.src.rpm
Size : 1623227 License: Sendmail
Signature : RSA/8, Tue 17 Aug 2010 01:26:46 AM IST, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.sendmail.org/
Summary : A widely used Mail Transport Agent (MTA)
Description :
The Sendmail program is a very widely used Mail Transport Agent (MTA).
MTAs send mail from one machine to another. Sendmail is not a client
program, which you use to read your email. Sendmail is a
behind-the-scenes program which actually moves your email over
networks or the Internet to where you want it to go.
If you ever need to reconfigure Sendmail, you will also need to have
the sendmail-cf package installed. If you need documentation on
Sendmail, you can install the sendmail-doc package.
/etc/NetworkManager/dispatcher.d/10-sendmail
/etc/mail
/etc/mail/Makefile
/etc/mail/access
/etc/mail/access.db
/etc/mail/aliasesdb-stamp
/etc/mail/domaintable
/etc/mail/domaintable.db
/etc/mail/helpfile
/etc/mail/local-host-names
/etc/mail/mailertable
/etc/mail/mailertable.db
/etc/mail/make
/etc/mail/sendmail.cf
/etc/mail/sendmail.mc
/etc/mail/submit.cf
/etc/mail/submit.mc
/etc/mail/trusted-users
/etc/mail/virtusertable
/etc/mail/virtusertable.db
/etc/pam.d/smtp.sendmail
/etc/rc.d/init.d/sendmail
/etc/sasl2/Sendmail.conf
/etc/smrsh
/etc/sysconfig/sendmail
/usr/bin/hoststat
/usr/bin/mailq.sendmail
/usr/bin/makemap
/usr/bin/newaliases.sendmail
/usr/bin/purgestat
/usr/bin/rmail.sendmail
/usr/lib/sendmail.sendmail
/usr/sbin/mailstats
/usr/sbin/makemap
/usr/sbin/praliases
/usr/sbin/sendmail.sendmail
/usr/sbin/smrsh
/usr/share/doc/sendmail-8.14.4
/usr/share/doc/sendmail-8.14.4/FAQ
/usr/share/doc/sendmail-8.14.4/KNOWNBUGS
/usr/share/doc/sendmail-8.14.4/LICENSE
/usr/share/doc/sendmail-8.14.4/README
/usr/share/doc/sendmail-8.14.4/RELEASE_NOTES.gz
/usr/share/man/man1/mailq.sendmail.1.gz
/usr/share/man/man1/newaliases.sendmail.1.gz
/usr/share/man/man5/aliases.sendmail.5.gz
/usr/share/man/man8/mailstats.8.gz
/usr/share/man/man8/makemap.8.gz
/usr/share/man/man8/praliases.8.gz
/usr/share/man/man8/rmail.8.gz
/usr/share/man/man8/sendmail.sendmail.8.gz
/usr/share/man/man8/smrsh.8.gz
/var/log/mail
/var/log/mail/statistics
/var/spool/clientmqueue
/var/spool/mqueue
No comments:
Post a Comment