How to reconfigure package on Centos
Hey guys,
I use this utility dpkg-reconfigure to configure already installed packages on Debian Ubuntu. I was wondering what to use for this purpose on Centos?? |
For configuring services try chkconfig or ntsysv?
|
well rpm packages don't natively ask any questions, so I don't see what's to reconfigure. Not something I've ever needed to do. You can relocate *some* packages with the --relocate option to rpm if that's relevant.
|
Quote:
Quote:
Either-ways, this is what I want to do, I have installed sendmail and I want to change the domain where the emails come from by default it just takes the hostname, anyone know where to change to manually specify a domain? |
http://www.centos.org/docs/2/rhl-rg-...-sendmail.html or http://www.centos.org/docs/5/html/5....l-default.html
There is no "reconfigure" option under CentOS package management tools. |
Quote:
more reasons to love debian! |
Quote:
|
Quote:
|
Quote:
It actually can inhibit learning. :) Anything reconfigure can do for you, you can do for yourself. reconfigure "can" actually help restore things to default settings, but I have seen a couple of packages in Debian-derivatives that actually been made worse by reconfigure. Make a cp of /etc/mail/sendmail.mc and edit the /etc/mail/sendmail.mc as Chris suggested. Don't forget to restart sendmail after making changes to the /etc/mail/sendmail.mc file. Good luck. |
Total agree with you guys, guess I was just been lazy :)
Good sticks to wake up, thanks guys! |
All times are GMT -5. The time now is 01:33 PM. |