Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: tanyu on February 17, 2003, 07:32:04 PM

Title: sambafax
Post by: tanyu on February 17, 2003, 07:32:04 PM
Ever tried this artifact to fax from hylafax without a client ? I used it before with a 6.2 redhat, but I do not manage to get it working with e-smith...

You need to add a printer in the printcap like this :

SambaFax:\
        :lp=/dev/null:\
        :sd=/usr/spool/lpd:\
        :if=/var/spool/hylafax/bin/sambafax:\
        :sh:ff_separator:bkf:mx#0:

, add a script in the hylafax bin directory called sambafax

then alter the samba.conf to make all printers viewable, reset lpd and samba... and everything gets on..usually...
But when I reset lpd, I get that error message :

Starting lpd: Warning - 'if' filter '/var/spool/hylafax/bin/sambafax' does not ha
ve execute perms

I never met such a problem with a standard redhat so I'm quite stuck...
(I used the templates method to alter the files, btw..)

Any help should be greatly appreciated..

tnx in advance.
--
Phil.
Title: Re: sambafax
Post by: Robert on February 17, 2003, 10:57:29 PM
Hmmm...have you tried
"chmod 555 /var/spool/hylafax/bin/sambafax"?
Title: Re: sambafax
Post by: tanyu on February 18, 2003, 11:35:36 AM
Thanks a lot... that was it... It works perfectly now..
Title: Re: sambafax
Post by: Michael Smith on February 20, 2003, 07:15:10 AM
How about a mini-HOWTO for this?  Sounds VERY interesting!
Title: Re: sambafax
Post by: tanyu on February 20, 2003, 11:04:20 AM
It already exists :
http://wwwhomes.uni-bielefeld.de/ingalo/software/sambafax.html
Have fun.