The mailgraph-1.12 ebuild installs the mailgraph.pl script in the htdoc folder of a virtual host as the file 'mailgraph'. This file should be installed in the cgi-bin folder of the virtual host since it is, in fact, a CGI script.
It installs mailgraph.pl into /usr/bin where the init script expects it. <snip> # mailgraph daemon newbin mailgraph.pl mailgraph </snip> Are you talking about mailgraph.cgi?
Yes
18 Mar 2006; <ticho@gentoo.org> mailgraph-1.12.ebuild: Install mailgraph.cgi to correct place. Stable on x86. You changed this, no idea why...
Hm, looks like it's better off in cgi-bin - I reverted my change in 1.12. Thanks.