While Asterisk provides a simple way to replace sendmail when sending voicemails, the incoming fax portion of Asterisk is not so easily reconfigured. By studying how it handled an incoming fax from the Asterisk CLI I was able to find this perl script: /var/lib/asterisk/bin/fax-process.pl.