Hylafax

Pred samotnou instalaci doporucuji externi modem oznacovany Class 1, podle terminologie hylafaxu.

Zakladni instalace

aptitude install hylafax-server

faxsetup a zrejme podrzet enter ;-) jen pri volbe

 Do you want to run faxaddmodem to configure another modem [yes]? no

Silne doporucuji napsat “no” :-).

Faxy se rozjely na prvni naslapnuti. Ukazka z logu:

Oct 20 18:52:14 ubuntu1 FaxGetty[18225]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Oct 20 18:52:33 ubuntu1 FaxGetty[18586]: RECV FAX (000000001): from Fax, page 1 in 0:16, INF, 7.7 line/mm, 2-D MR, 9600 bit/s
Oct 20 18:52:33 ubuntu1 FaxGetty[18587]: RECV FAX (000000001): recvq/fax000000001.tif from Fax, route to <unspecified>, 1 pages in 0:19
Oct 20 18:52:35 ubuntu1 FaxGetty[18225]: RECV FAX: bin/faxrcvd "recvq/fax000000001.tif" "ttyS0" "000000001" ""
Oct 20 18:52:46 ubuntu1 FaxGetty[18225]: MODEM DP POCKET VER 3.02 V.90 DP Pocket VER 3.02 V.90/

Faxy jsou v adresari /var/spool/hylafax/recvq/

Automaticky je invokovan skript /var/spool/hylafax/bin/faxrcvd, ktery posle e-mail uzivateli faxmaster. Defaultne se posila odkaz na ftp. Lepsi je nastavit posilani prilohou.

Posilani prilohou

Vytvorit /etc/hylafax/FaxDispatch s timto obsahem:

 SENDTO=prijemcifaxu@firma.cz
 FILETYPE=pdf
 
linux/hylafax.txt · Last modified: 2008/10/21 23:31 (external edit)