Changes

Jump to navigation Jump to search
2,578 bytes added ,  12:26, 15 October 2021
no edit summary
Line 2: Line 2:  
==HylaFAX for SME Server==
 
==HylaFAX for SME Server==
 
{{Level|Advanced}}
 
{{Level|Advanced}}
 +
=== Version ===
 +
{{ #smeversion: smeserver-hylafax}}
    
===Maintainer===
 
===Maintainer===
http://www.dungog.net
+
http://www.dungog.net<br />
    
===Description===
 
===Description===
Line 15: Line 17:     
===Installation===
 
===Installation===
 +
====SME8====
 +
    
   yum --enablerepo=smecontribs install smeserver-hylafax
 
   yum --enablerepo=smecontribs install smeserver-hylafax
 +
then issue
 +
 +
signal-event post-upgrade; signal-event reboot
 +
 +
====SME9====
 +
you might need to install dag repo : https://wiki.contribs.org/Dag#tab=For_SME_9
 +
 +
yum --enablerepo=smecontribs,smedev,dag install smeserver-hylafax
 +
 +
then you need to issue:
 +
/sbin/e-smith/expand-template /etc/hylafax/hyla.conf
 +
/sbin/e-smith/expand-template /etc/init/ttyS0.conf
 +
/bin/rm -f /etc/cron.daily/hylafax
 +
signal-event post-upgrade; signal-event reboot
 +
 +
====SME10====
 +
you might need to install epel repo:
 +
 +
yum install smeserver-extrarepositories-epel
 +
 +
then
   −
===Enable Hylafax to start at boot===
+
yum --enablerepo=smecontribs,{epel} install smeserver-hylafax
 +
 
 +
===Enable Hylafax to start at boot (SME8 and 9 only)===
    
  config setprop hylafax status enabled
 
  config setprop hylafax status enabled
Line 33: Line 60:     
Take note of your modems port <br>
 
Take note of your modems port <br>
 +
 
The inittab template assumes you are using ttyS0  <br>
 
The inittab template assumes you are using ttyS0  <br>
 
see options below for how to change to ttyS1  <br>
 
see options below for how to change to ttyS1  <br>
    +
For SME8 or SME9:
 
You can modify your answers later, see below <br>
 
You can modify your answers later, see below <br>
 
then  
 
then  
Line 49: Line 78:  
  expand-template /etc/inittab
 
  expand-template /etc/inittab
 
  /sbin/init q
 
  /sbin/init q
 +
 +
for SME10:
 +
signal-event smeserver-hylafax-update
 +
 +
    
To Remove
 
To Remove
Line 104: Line 138:  
  Passord: above password
 
  Passord: above password
   −
===Other Modifications===
+
===Other Modifications and Customizations===
    
ports other than ttyS0, or to disable
 
ports other than ttyS0, or to disable
 +
 +
for SME8 and SME9:
    
  config setprop hylafax status disabled
 
  config setprop hylafax status disabled
Line 112: Line 148:  
  /sbin/e-smith/expand-template /etc/inittab
 
  /sbin/e-smith/expand-template /etc/inittab
 
  /sbin/init q
 
  /sbin/init q
 +
 +
for SME10:
 +
 +
config setprop hylafax port ttyS1
 +
signal-event smeserver-hylafax-update
 +
 +
    
----
 
----
Line 131: Line 174:     
----
 
----
To be able to send a fax by mailfax with the latest version of HylaFax, edit the file:
+
To be able to send a fax by mailfax with the latest version of HylaFax (4.4.x-y and further - see the post [http://forums.contribs.org/index.php/topic,42553.msg200708.html#msg200708] to see explained the problem you may encounter without modifications), edit the file:
 
   nano -w /var/spool/hylafax/etc/mailfax
 
   nano -w /var/spool/hylafax/etc/mailfax
   Line 143: Line 186:  
   -n -u uucp "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" \
 
   -n -u uucp "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" \
 
   "$SENDER"
 
   "$SENDER"
 +
 +
Further customizations are possible:
 +
 +
  /usr/bin/faxmail -s a4 \
 +
  -n -N -T -u uucp -t done "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" \
 +
  "$SENDER"
 +
 +
-N -> this switch disable the faxmail Cover Page, otherwise autogenerated translating the mail header: this may be an "unuseful" cover with a mostly blank page;
 +
 +
-T -> this switch can disable empty blank pages at the end of your fax;
 +
 +
-t done -> in this way you can get your notification (receipt) concerning your fax transaction for both succesfull or failed faxes; this is a sample of the success message you'll receive in your mailbox:
 +
 +
Your job to 011654321 was completed successfully.
 +
            Pages: 1
 +
        Receiver: 011 99988812
 +
          Quality: 196
 +
      Page Width: 209 (mm)
 +
      Page Length: 296
 +
      Signal Rate: 9600 bit/s
 +
      Data Format: 2-D MMR
 +
Remote Equipment: unknown
 +
  Remote Station:
 +
          Dialogs: 1 (exchanges with remote device)
 +
            Calls: 1 (total phone calls placed)
 +
            Modem: any
 +
  Submitted From: localhost
 +
            JobID: 28
 +
          GroupID: 28
 +
          CommID: c000000077
 +
Processing time was 1:07.
 +
 +
The fax is attached as a pdf file if not selected otherwise another file format.
 +
 
{{Note box|In the previous commands the paper size is set to A4 with the '<tt>-s</tt>' option. Paper sizes that can be with this option are:
 
{{Note box|In the previous commands the paper size is set to A4 with the '<tt>-s</tt>' option. Paper sizes that can be with this option are:
 
* <tt>NA-LET</tt> ''(US Letter)''
 
* <tt>NA-LET</tt> ''(US Letter)''
Line 151: Line 228:  
=== Bugs ===
 
=== Bugs ===
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-hylafax component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-hylafax|title=this link}}.
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-hylafax component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-hylafax|title=this link}}.
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-hylafax|noresultsmessage="No open bugs found."}}
 +
 +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
 +
{{ #smechangelog: smeserver-hylafax}}
 +
    
----
 
----
 
[[Category:Contrib]]
 
[[Category:Contrib]]
 
[[Category:Dungog]]
 
[[Category:Dungog]]
 +
[[Category: Asterisk]]

Navigation menu