Koozali.org: home of the SME Server

HYLAFAX Fix, Found on FR wiki but not on english wiki!!!

lfelicetti

HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
« on: December 15, 2009, 09:10:42 PM »
There is a missing information in english HylaFax wikicontrib:
after hylafax upgrade, you need to change /etc/hylafax/etc/mailfax script, with this new one:

Code: [Select]
/usr/bin/faxmail -s a4 \
-n -u uucp "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" \
"$SENDER"

and then do
Code: [Select]
chown root:root /etc/hylafax/etc/mailfax
chmod +x /etc/hylafax/etc/mailfax

Leonardo

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
« Reply #1 on: December 15, 2009, 09:57:04 PM »
There is a missing information in english HylaFax wikicontrib:
after hylafax upgrade, you need to change /etc/hylafax/etc/mailfax script, with this new one:

Code: [Select]
/usr/bin/faxmail -s a4 \
-n -u uucp "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" \
"$SENDER"

and then do
Code: [Select]
chown root:root /etc/hylafax/etc/mailfax
chmod +x /etc/hylafax/etc/mailfax

Leonardo

Hi Leonardo, thank you for the info.. feel free to ask for a wiki account and edit the wiki page

I suppose you are italian, so please come to italian language forum too :-)


Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
« Reply #3 on: December 19, 2009, 12:48:29 AM »
Beware though... this would set pagesize to "A4" instead of "na-let" in americas.

It is also possible to leave those settings as they are and edit  /usr/lib/fax/pagesizes as explained here:
http://wiki.archlinux.org/index.php/Hylafax#Pagesize

Copied from there:

Code: [Select]
Japanese Legal          JP-LEG  12141   17196   11200    15300  900     400
#
#default        NA-LET  10200   13200    9240    12400  472     345
default         A4      9920    14030   9240    13200   472     345
Sophie from Montréal

Offline jester

  • *
  • 496
  • +1/-0
Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
« Reply #4 on: December 19, 2009, 01:06:22 PM »
Sophie: added note.

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
« Reply #5 on: December 19, 2009, 04:39:04 PM »
Concerning SMERPfax, after installing hylafax rpm:

Code: [Select]
wget http://smerp.free.fr/fichiers/binaires/SMERPFax-0.8b1-1.noarch.rpm
rpm -ivh SMERPFax-0.8b1-1.noarch.rpm
rm -f /tmp/SMERPFax.ins/ghostscript-7.05.6-0smea2.i386.rpm
rm -f /tmp/SMERPFax.ins/hylafax-4.2.0-1rh7.i386.rpm
/tmp/SMERPFax.ins/SMERPFax_ins.sh

Unfortunatly, I don't remember if I did something for locale.
Sophie from Montréal