Koozali.org: home of the SME Server

sambafax

tanyu

sambafax
« 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.

Robert

Re: sambafax
« Reply #1 on: February 17, 2003, 10:57:29 PM »
Hmmm...have you tried
"chmod 555 /var/spool/hylafax/bin/sambafax"?

tanyu

Re: sambafax
« Reply #2 on: February 18, 2003, 11:35:36 AM »
Thanks a lot... that was it... It works perfectly now..

Michael Smith

Re: sambafax
« Reply #3 on: February 20, 2003, 07:15:10 AM »
How about a mini-HOWTO for this?  Sounds VERY interesting!

tanyu

Re: sambafax
« Reply #4 on: February 20, 2003, 11:04:20 AM »