Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: lfelicetti on December 15, 2009, 09:10:42 PM

Title: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
Post by: lfelicetti 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
Title: Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
Post by: Stefano 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 :-)
Title: Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
Post by: jester on December 15, 2009, 11:58:22 PM
Done: http://wiki.contribs.org/HylaFax#Other_Modifications
Title: Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
Post by: soprom 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 (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
Title: Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
Post by: jester on December 19, 2009, 01:06:22 PM
Sophie: added note.
Title: Re: HYLAFAX Fix, Found on FR wiki but not on english wiki!!!
Post by: soprom 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.