I have failed to add a mime-type for sc files to .mailcap
I want to add an entry to .mailcap to run my spreadsheet program, sc,
when it encounters a file with the .sc extension.
/etc/file/magic has an sc entry that includes:
application/x-sc; /usr/bin/sc %s
in my .mailcap. /usr/share/mime has an entry for sc files.
/usr/bin/file identifies sc files correctly. I've read RFC 1254. No
error is reported. I've inserted lots of other file types into
.mailcap successfully: where have I gone wrong with sc?
It's in the detection: if I rewrite .mailcap to run sc on jpeg files
then mail tries to run sc on jpeg files
Last edited by RandomTroll; 02-14-2012 at 06:55 PM.