HylaFAX The world's most advanced open source fax server |
Hi, Is this group top post or bottom post ? anyways I'll do top post for this time. Thomas, Tried this but didn't work. I appreciate your help. Based on JP's Solution,I ended up creating a samba share to the "/var/spool/hylafax/recvq" folder so now all windoze computers have access to the incoming faxes, my only issue now is that all the *.tif files are -rw---- so I have to do a chmod 666 on those files so that all windoze computers can read them. Is there a way to setup HylaFax to change the permissions for me on the fly? Or even better put them in pdf format with permissions already "666" ? Thanks Happy Holidays On 12/20/2010 2:37 AM, MOLLE Thomas wrote: Hi, Have you tried with 'cp' ? Here's your FaxDispatch script: -------- start ------------------------ FILETYPE=pdf; case "$DEVICE" in ttyACM3) cp $FILE /some/path/to/file;; esac ------ cut here ------------ Thomas -----Message d'origine----- De : hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] De la part de Jean-Pierre Radley Envoyé : vendredi 17 décembre 2010 23:57 À : Hylafax Users Objet : Re: [hylafax-users] Instead of mailing received faxes can I put them on a folder? Chris Weiss typed (on Fri, Dec 17, 2010 at 04:40:17PM -0600): | On Fri, Dec 17, 2010 at 4:36 PM, Enrique Arredondo <henry@xxxxxxxxxx> wrote: | > I use smail here, and I can set an smail alias that appends yada's | > incoming mail to a designated file: | > | > yada "|cat >> /some/path/to/file" | > | > Whether such aliases work in other MTAs is beyond my ken. | > | > | > A program like 'deliver' or 'procmail' can also divert a user's | > incoming email to a file. | > | > JP, | > | > if I do that then I would have create a script to scan that | > /some/path/to/file and extract the pdf file which I think will be a part of | > the email message in BASE64 format and then convert it to pdf right ? | > | > | > | | the FaxDispatch has a variable for the filename right? cp it FaxDispatch is not run. It is sourced by faxrcvd, and as I suggested in my prior post, it's faxrcvd that you should alter to "do something else" with an incoming fax. |