Thanks everybody for all the help. I had in fact made blunder of using tar. gzip works
fine. No problem.
Excellent feature of mutt.
Warm Regards
Rajesh
Michael Tatge saw fit to inform me that:
>Rajesh Fowkar muttered:
>> I have downloaded the new mutt 1.2.5i rpm with compressed folder
>> option enabled.
>>
>> I have created a gzip file oldlih.gz ( tar -zcvf oldlih nov2000 )
> ^^^ ^^^^^^
>The result is a tared and gziped file named 'oldlih'.
>
>> Here nov2000 is the archieve of the mailing list mailbox of nov. The
>> new /etc/Muttrc has got the following additional hooks for compressed
>> folders :
>>
>> # gzip
>> open-hook \\.gz$ "gzip -cd %f > %t"
>> close-hook \\.gz$ "gzip -c %t > %f"
>> append-hook \\.gz$ "gzip -c %t >> %f"
>
>First of all these hooks only work with files named *.gz. They won't be
>executed on your 'oldlih' file!
>I don't use the compressed foler patch, does it work with tared files?
>If not, mutt won't be able to read the result that open-hook produces.
>Remember it's a tar file now, since gzip uncompressed it.
>
>> But when I try to access this oldlih.gz I am getting the message for
>> a split second decompressing oldlih.gz and than the mutt bar displays
>> the message no mailbox. What's wrong ?
>
>Ah, the patch cannot handle tar files, so don't use tar! For a
>single mbox file it's useless anyway.
>For testing I would suggest to not modify the original file:
>gzip -c nov2000 > oldlih.gz; mutt -f oldlih.gz
>
--
Rajesh Fowkar
/****************************************************************************\
* How I Configured my SiS6215 Card ? Visit My Web Site
* WebSite:http://rajesh.computers.webjump.com
* Email : [EMAIL PROTECTED]
* Address:KURTARKAR NAGARI,BLDG-C,T4,3RD FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
*
* Do not dwell in the past, do not dream of the future,concentrate the mind
* on the present moment. - Buddha
\****************************************************************************/