Hylafax+ setup

HylafaxとHylafax+がある。どのような経緯で二つに分かれたのかは、下記のサイトを読んで察するしかないです。

https://en.wikipedia.org/wiki/HylaFAX

https://hylafax.sourceforge.io/about.php

簡単に解釈すると、Hylafaxの更新が進まない。Hylafax+の開発が積極的

名称提供サイト最新版(2026/04/10現在)開発団体、開発者
Hylafaxhttps://www.hylafax.org/6.0.7(2018年9月18日)iFAX, Inc.
ニッカーソン
Hylafax+https://hylafax.sourceforge.io/7.0.11 (2025年4月25日)リー・ハワード

Hylafax+ をソースからインストールしました。

./configure
make
make install

まで行いました。

./configureを実施後、設問がでますが、よく分からないので、規定でエンターをしています。

HylaFAX configuration parameters (part 1 of 2) are:

[ 1] Directory for applications:        /usr/local/bin
[ 2] Directory for lib data files:      /usr/local/lib/fax
[ 3] Directory for lib executables:     /usr/local/sbin
[ 4] Directory for system apps:         /usr/local/sbin
[ 5] Directory for manual pages:        /usr/share/man
[ 6] Directory for spooling:            /var/spool/hylafax
[ 7] Directory for uucp lock files:     /var/lock
[ 8] Uucp lock file scheme:             ascii
[ 9] PostScript imager package:         gs
[10] PostScript imager program:         /usr/bin/gs
[11] Manual page installation scheme:   bsd-source-cat
[12] Default page size:                 North American Letter
[13] Default vertical res (lpi):        98

Are these ok [yes]? 

HylaFAX configuration parameters (part 2 of 2) are:

[14] Location of getty program:         /sbin/agetty
[15] Location of voice getty program:   /bin/vgetty
[16] Location of sendmail program:      /usr/sbin/sendmail
[17] Location of TIFF tools:            /usr/bin
[18] Location of SysV init scripts:     /etc/rc.d/init.d
[19] Location of SysV start scripts:    ../rc2.d ../rc3.d ../rc4.d ../rc5.d
[20] Location of SysV stop scripts:     ../rc0.d ../rc1.d ../rc6.d
[21] Name of SysV start script:         S97hylafax
[22] Name of SysV stop script:          K05hylafax
[23] Init script starts faxq:           yes
[24] Init script starts hfaxd           yes
[25] Start paging protocol:             no
Are these ok [yes]? 

# /usr/local/sbin/faxsetup

Setup program for HylaFAX (tm) 7.0.11.

Created for x86_64-unknown-linux-gnu on Fri Apr 18 19:05:04 UTC 2025.

Found encoder: /bin/base64
Checking system for proper client configuration.
Checking system for proper server configuration.


Setting Ghostscript font path in /usr/local/lib/fax/hyla.conf.



Warning: Font metric information files were not found!

The font metric information file for the Courier font was not found in
the /usr/share/ghostscript/10.02.1/Resource/Init:/usr/share/ghostscript/10.02.1/lib:/usr/share/ghostscript/10.02.1/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/ghostscript/10.02.1/Resource/Init:/usr/share/ghostscript/10.02.1/lib:/usr/share/ghostscript/10.02.1/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts path.  This means that client HylaFAX applications 
that use this information to format ASCII text for submission as fax will
use incorrect information and generate potentially illegible facsimile.

If font metric information is present on your system in a directory other
than /usr/share/ghostscript/10.02.1/Resource/Init:/usr/share/ghostscript/10.02.1/lib:/usr/share/ghostscript/10.02.1/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/ghostscript/10.02.1/Resource/Init:/usr/share/ghostscript/10.02.1/lib:/usr/share/ghostscript/10.02.1/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts then you can setup a symbolic link to the appropriate
directory or you can specify the appropriate pathname in the configuration
file /usr/local/lib/fax/hyla.conf with a line of the form:

FontPath:       someplace_unexpected


Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.


Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.



There does not appear to be an entry for the FaxMaster either in
the YP/NIS database or in the /etc/aliases file.  The
FaxMaster is the primary point of contact for HylaFAX problems. 
The HylaFAX client-server protocol server identifies this alias as
the place to register complaints and HylaFAX directs automatic mail
messages to this user when problems are identified on a server
machine or when the routine server maintainence scripts are run
(e.g. faxcron).

Should an entry be added for the FaxMaster to /etc/aliases [yes]? 
Users to receive fax-related mail [root]? 
Rebuilt /etc/aliases database.
Update /var/spool/hylafax/status/any.info.
Generate etc/ssl.pem for SSL Fax [yes]? 
...+.......+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.....+...+.+.........+.....+.+........+...+...+...............+....+...+..............+.+..+...+.......+.....+...............+.+..+....+...+...........+.+..............+.+...+........+...+............+...+....+..+.+.....+.........+....+..+...+....+.....+..........+..+.+..+.......+......+.....+..........+........+.+..................+...+..+.+...........+......+....+.........+...........+..........+...........+.......+..+.+..+...+.......+..+.+...............+..+.+...........+...+.......+......+.........+...+.....+.+.....+.......+.........+.....+......+.......+......+..+.........+...+.+...............+..+...+.+...+......+.....+.........+.......+........+...+.........+.+............+..+.........+....+..+...+..........+.....+...+...+.......+..+...+....+....................+...+.+......+...........+.........+......+...+.......+..+.+...........+....+..............+.+.........+..+...................+..+...+....+.....+......+.+...+..+..................+..........+.....+.+.........+...+.....+....+......+...+.....+................+.....+......+....+.....+....+.........+........+....+.....+....+.........+...+.....+...+......+...+......+.........+.+......+...+..+.+.........+...+..+.+.....+.............+..............+......+...............+......+.+.................+.+.....+.+........+......+..........+.....+.........+..................+...+.+...+...+..+.+..+...+...............+.+.....+................+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+.....+......+.+..................+...+.........+...+.....+.+.....+.+..............+.+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+...+.+...+...+...............+..+.+..+.......+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:JP
State or Province Name (full name) [Some-State]:都道府県
Locality Name (eg, city) []:市町村
Organization Name (eg, company) [Internet Widgits Pty Ltd]:会社名
Organizational Unit Name (eg, section) []:部署
Common Name (e.g. server FQDN or YOUR name) []:サーバー名や氏名
Email Address []:メールアドレス

        HylaFAX configuration parameters are:

        [1] Init script starts faxq:            yes
        [2] Init script starts hfaxd            yes
        [3] Start paging protocol:              no
Are these ok [yes]? 

Modem support functions written to /usr/local/lib/fax/setup.modem.
Configuration parameters written to /usr/local/lib/fax/setup.cache.

No scheduler config file exists, creating one from scratch.
Country code [1]? 81
Area code [000]? 19
Long distance dialing prefix [1]? 
International dialing prefix [011]? 
Dial string rules file (relative to /var/spool/hylafax) ["etc/dialrules"]? 
Tracing during normal server operation [1]? 
Default tracing during send and receive sessions [0xFFF]? 
Continuation cover page (relative to /var/spool/hylafax) []? 
Timeout when converting PostScript documents (secs) [180]? 
Maximum number of concurrent jobs to a destination [1]? 
Define a group of modems []? 
Time of day restrictions for outbound jobs ["Any"]? 
Timeout before purging a stale UUCP lock file (secs) [30]? 
Max number of pages to permit in an outbound job [0xffffffff]? 
Syslog facility name for ServerTracing messages [daemon]? 

The non-default scheduler parameters are:

CountryCode:            81
AreaCode:               19

Are these ok [yes]? 

Creating new configuration file /var/spool/hylafax/etc/config...

Restarting HylaFAX server processes.
Should I restart the HylaFAX server processes [yes]? 

Executing '/bin/systemctl start hylafax-faxq'...
Failed to start hylafax-faxq.service: Unit hylafax-faxq.service not found.
Executing '/bin/systemctl start hylafax-hfaxd'...
Failed to start hylafax-hfaxd.service: Unit hylafax-hfaxd.service not found.

You do not appear to have any modems configured for use.  Modems are
configured for use with HylaFAX with the faxaddmodem(8C) command.
Do you want to run faxaddmodem to configure a modem [yes]? no

Done verifying system setup.

設定箇所は赤字の部分くらいで、地域名やエリアコードなどは、後から設定できる。

最後の、modem設定はnoにした。FAXモデムは使わず、IAXmodemを使うため

Asteriskとの連携

faxq → getty → /dev/ttyIAX → iaxmodem → Asterisk

たぶんです。自分の設定メモです。

mk
  • mk

コメントする

メールアドレスが公開されることはありません。

Time limit is exhausted. Please reload the CAPTCHA.

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください