[CentOS] How to extract one file from rpm using yum?

Thu Jan 31 16:13:06 UTC 2013
Robert Moskowitz <rgm at htt-consult.com>

On 01/31/2013 11:01 AM, m.roth at 5-cent.us wrote:
> Robert Moskowitz wrote:
>> I want to get the original version of /etc/clamd.d/amavis.conf from the
>> amavisd-new rpm to get the defaults to submit a bug report.  I could not
>> figure out how to do this, so I did a reinstall, but it did not replace
>> this file (whatprovides says it comes from this rpm).
>>
>> Is there a way to extract just the one file, and better yet, place it
>> elsewhere than its regular destination?
> Didn't it create it in the normal destination as amavis.conf.rpmnew?

No it did not.  I am thinking I had the current file open in gedit and 
MAYBE that had a bearing on the reinstall?

I will attempt to download just the rpm and try to open it with archive 
manager.