Fresh install misses autostart of daemon and faxgetty

Carsten <[email protected]> Sat, 1 Dec 2018 14:43:35 +0100
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Hi team,

after having a lot of trouble with the outdated version of hylafax I now 
did a fresh install of version 5.6.1 from http://hylafax.sourceforge.net

My old hylafax version 3:6.0.6-6+deb8u1 from the repository has been 
uninstalled and cleaned up by
"...
apt-get purge hylafax-server hylafax-client
mv /var/log/hylafax /var/log/hylafax-old
mv /var/spool/hylafax /var/spool/hylafax-old
mv /etc/hylafax /etc/hylafax-old
..."

The Build of the new version went fine as far as I can see, just this 
message confuses me:
"...
You do not appear to be using faxgetty to notify the HylaFAX scheduler
about new modems and/or their status.
..."

Remember, I have had a working send and receive configuration before, 
using a postfix transport and faxgetty.

issues:
########################################
##
## #1 Transport not working anymore
##
#########################################

Error: cannot find /usr/bin/faxmail

My old transport looked like this:
#---------------------------------------
#- HylaFax Transport
hylafax  unix   -        n      n       -       -   pipe
  user=uucp:uucp argv=/usr/bin/faxmail -n -N -T ${user}

I found the workaround using some "mail2fax.sh" Script.
This is the current workaround:
#---------------------------------------
#- HylaFaxPlus Transport
hylafax  unix   -        n      n       -       -   pipe
  user=uucp:uucp argv=/usr/local/bin/mail2fax.sh

Is it really necessary to have a script in place?


########################################
##
## #2 Fax are not send
##
########################################

After the workaround transport was working, I found the jobs in the faxq 
folder, but they did not get send.

I found neither faxgetty nor faxmodem seem to listen and as I could not 
get faxgetty to work, I did a
faxmodem ttyIAX0
and the queued jobs were starting to be delivered.

How do i get faxgetty involved?

########################################
##
## #3 after reboot, hylafax does not come up automatically
##
########################################

When restarting the system, I ended up w/o having a running hylafax server.
Only a manual "service hylafax start" brings back the core, but still 
there is no "faxgetty" process.

I found some advice about to add the service to init.rc and tried this:
"...
  update-rc.d hylafax defaults 80 10
..."
Ending up with this:
"...
insserv: Max recursions depth 99 reached
insserv: There is a loop at service hylafax if started
insserv: There is a loop at service rc.local if started
insserv:  loop involving service hylafax at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
..."

How do I get the configuration to start at boot (hylafax including faxgetty)

########################################
##
## #4 Delivery report returns rubbish Subject
##
########################################

During the try and error from above I received some delivery reports.
I have had copied the "old" FaxDispatch and FaxNotify to the
/var/spool/hylafax/etc folder.

Working with Thunderbird I receive a subject like this -not from the 
source code, it is displayed like this:

"=?UTF-8?B?w4T[..manyChars...]O2?= to 069[..faxnumber..] completed"

What do I need to tweak here?

br
Carsten



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*