配置extmail的时候,要配置cgi-bin,但是发现脚本直接输出。

解决办法:

a2enmod cgi

/etc/init.d/apache2 restart