Running exmh after installing it with pkg reports: $ exmh Error running Env_Init: invalid command name "Env_Init" This usually means exmh isn't installed right Check the main exmh script for the CONFIGURATION section and make sure exmh(library) is a valid absolute pathname (1) It appears this is due to lack of search permission on the exmh directory: $ ls -ld /usr/local/lib/exmh-2.8.0 dr--r--r-- 4 bin bin 154 Dec 25 07:41 /usr/local/lib/exmh-2.8.0/ Enabling search permissions to the exmh directory allows it to work as expected: $ sudo chmod +x /usr/local/lib/exmh-2.8.0 You can repeat this by deinstalling then reinstalling exmh. $ pkg version |grep exmh exmh-2.8.0 = FWIW, happens on both 9.3-STABLE and 10.1-STABLE: FreeBSD gromit.codeconcepts.com 9.3-STABLE FreeBSD 9.3-STABLE #2 r276299: Sat Dec 27 10:03:47 CST 2014 greg@gromit.codeconcepts.com:/usr/obj/usr/src/sys/GROMIT amd64
A commit references this bug: Author: cy Date: Wed Jan 14 20:57:56 UTC 2015 New revision: 377043 URL: https://svnweb.freebsd.org/changeset/ports/377043 Log: Fix packaging permissions. PR: 196350 Changes: head/mail/exmh2/Makefile head/mail/exmh2/pkg-plist
Fixed.