[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] My .mh_profile
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] My .mh_profile |
Date: |
Mon, 12 May 2014 15:36:38 -0400 |
>>when you attached your .mh_profile, thanks to an underlying
>>"file --mime-type" invocation, it gained a content-type of
>>"message/news".
>
>Was that because the file name began with a dot?
Nmh uses file(1) to look into a file to determine what the MIME type is
(if you're using a new enough version of file(1)). Why did it think it
was a netnews file? Because of these lines in the magic(5) database:
0 string Path: news text
!:mime message/news
--Ken