The fax program on ANSI C/POSIX - efax is small and simple, espacially nice for single user systems, which supports Class 1, 2 or 2.0 fax modems, whereas mgetty+sendfax does not support Class 1 modems. See the original efax page.
Here are 2 patches on the latest version of efax-0.9a-001114. The efax-answer.patch is bugfix of 'fax start/stop' command in auto answer mode, and the efax-spooling.patch allows to use two directories separately as INCOMINGDIR for the recieving faxes by auto answer mode and OUTGOINGDIR for the sending faxes with spooling.
FROM="your Fax number" NAME="your name"
(If the modem device is /dev/ttyS0) # chmod 666 /dev/ttyS0 # ln -s /dev/ttyS0 /dev/modem
s1:345:respawn:/bin/sh /usr/bin/fax answer
FROM="your Fax number" NAME="your name" INCOMINGDIR=/var/spool/fax/incoming OUTGOINGDIR=/var/spool/fax/outgoing(Do not use ~/.efaxrc. It does not affect when efax run as a daemon.)
(If the modem device is /dev/cua1) # chmod 666 /dev/cua1 # ln -s /dev/cua1 /dev/modemDirectories efax uses should be mode 777.
# mkdir -p /var/spool/fax/incoming # mkdir -p /var/spool/fax/outgoing # mkdir -p /var/log/fax # chmod 777 /var/spool/fax/incoming # chmod 777 /var/spool/fax/outgoing # chmod 777 /var/log/fax # chmod 777 /var/lock
# ln -s /usr/bin/fax /usr/bin/faxlpr
##PRINTTOOL3## LOCAL
fax:\
:sd=/var/spool/fax/outgoing:\
:mx#0:\
:sh:\
:lp=/dev/null:\
:if=/usr/bin/faxlpr:
# /etc/rc.d/init.d/lpd restart
s1:345:respawn:/bin/sh /usr/bin/fax answer
E-mail to tkscanfax <shino@pos.to> for questions, comments or suggestions.