nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] My .mh_profile

2014-05-12 14:35:54
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

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>