[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] file(1) reports .mh_profile type as message/news

From: David Levine
Subject: [Nmh-workers] file(1) reports .mh_profile type as message/news
Date: Tue, 28 Oct 2014 21:44:58 -0400

This behavior of file(1) has been noted in the past:

    $ file --brief --mime-type .mh_profile

file looks for a text line starting with "Path:", and a few
other tokens that don't matter here, and reports the type as
message/news if it finds it.  If I insert a different line,
it gets around that:

    $ cat .mh_profile
    Profile-Version: 1.0
    Path: Mail

    $ file --brief --mime-type .mh_profile

    $ file --version
    magic file from /etc/magic:/usr/share/misc/magic

If there are no other suggestions, I'll have install-mh
insert that line into its newly generated profiles.  Those
of us who mail our profiles as attachments might want to
insert it in our own.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]