![]() |
Mattia, here is how I have installed hylafax so far. Fax Forwarding by Email is not yet functional, but maybe somebody may find what's wrong. ############ root on debian sarge system ############ rmmod avmfritz apt-get install alien checkinstall apt-get install dialog metamail cd /usr/src wget ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.91/fcpci-suse9.1-3.11-02.tar.gz tar -xzvf fcpci-suse9.1-3.11-02.tar.gz cd fritz make cp /usr/src/fritz/src/fcpci.ko /lib/modules/2.6.7/kernel/drivers/isdn/capi apt-get install isdnutils-base (No Firmware to load) apt-get install libcapi20-3 apt-get install capi4hylafax nano /etc/isdn/capi.conf ################################################ # card file proto io irq mem cardnr options fcpci - - - - - - - ################################################ capiinit capiinfo (should show capi is active) apt-get install hylafax-server hylafax-client /usr/sbin/faxsetup Should an entry be added for the FaxMaster to /etc/aliases? y Users to receive fax-related mail? (your E-mail address or user) Init script starts faxq: yes Init Script starts hfaxd: yes Start old protocol: no Start paging protocol: no Are these ok? All following questions: [yes]? yes Should I run faxmodem for each configured modem? y faxaddmodem Serial port that modem is connected to? capi20.00 Country code? 49 (Deutschland) Area code? 40 (Hamburg) Phone number od fax modem? +4940111111111 (Beispiel) Local identification string? Meine Firma (Beispiel) Long distance dialing prefix? 0 (in Deutschl.) International dialing prefix? 00 (in Deutschl.) Dial string rules file? etc/dialrules Tracing during normal server operation? 1 Tracing during send and receive sesions? 11 Protection mode for received facsimile? 0640 Protection mode for session logs? 0640 Protection mode for capi20.00? 0660 Rings to wait before answering? 1 Modem speaker volume? off Command line arguments to getty program? „-r -b %l“ Pathname of TSI access control list file? „“ (Leerstring) Pathname of Caller-ID access control list file? „“ (Leerstring) Tag line font file? etc/lutRS18.pcf Tag line format string? „From %%l|%c|Page %%P von %%T“ Time before purging a stale UUCP lock file? 30 Hold UUCP lockfile during inbound data calls? Yes Hold UUCP lockfile during inbound voice calls? Yes Percent good lines to accept during copy quality checking? 95 Max consecutive bad lines to accept during copy quality check? 5 Max number of pages to accept in a received facsimile? 25 Syslog facility name for ServerTracing messages? daemon Set UID to 0 to manipulate CLOCAL? „“ Use available priority job scheduling mechnism „“ Are these ok? y nano /var/spool/hylafax/etc/hosts.hfaxd ########################################################### localhost:21:: 192.168.0.*: ########################################################### apt-get install exim4 exim4-base exim4-daemon-heavy apt-get install sharutils metamail touch /var/spool/hylafax/etc/FaxDispatch chown faxmaster /var/spool/hylafax/etc/FaxDispatch nano /var/spool/hylafax/etc/FaxDispatch ############################################################ FILETYPE=pdf; SENDTO=sengle@xxxxxxxxxxxx@orthhof.de; MIMENCODE=bin/uuencode_it; ############################################################ touch /var/spool/hylafax/bin/uuencode_it chmod +xx /var/spool/hylafax/bin/uuencode_it nano /var/spool/hylafax/bin/uuencode_it ############################################################ #!/bin/sh # /var/spool/hylafax/bin/uuencode_it uuencode -m $1 $1 | grep -E -v "^begin|^====$" 2>/dev/null ############################################################ /etc/default/hylafax should at least have these two lines: ############################################################ USE_FAXGETTY=yes RUN_HYLAFAX=1 ############################################################ Add this line to the end of /etc/inittab: ############################################################ T5:23:respawn:/usr/bin/c2faxrecv ############################################################ /var/spool/hylafax/etc/config.faxCAPI should at least have these lines: ############################################################ SpoolDir: /var/spool/hylafax FaxRcvdCmd: /var/spool/hylafax/bin/faxrcvd PollRcvd Cmd: /var/spool/hylafax/bin/pollrcvd FaxReceiveUser: uucp FaxReceiveGroup: dialout LogFile: /var/spool/hylafax/log/capi4hylafax LogTraceLevel: 4 LogFileMode: 0600 { HylafaxDeviceName: faxCAPI RcvFileMode: 0660 FAXNumber: +49.00.00000 LocalIdentifier: „myFAX“ MaxConcurrentRecvs: 1 OutgoingController: 1 OutgoingMSN: 12345 (or your MSN) SuppressMSN: 1 NumberPrefix: UseISDNFaxService: 0 RingDuration: 0 { Controller: 1 AcceptSpeech: 1 UseDDI: 0 DDIOffset: DDILength: 3 IncomingDDIs: IncomingMSNs: 12345,12346 (or your MSNs for Fax) AcceptGlobalCall: 0 } } ############################################################ ciao Hugo ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*