On Tuesday 13 July 2004 03:05 am, Chris Roubekas wrote:
I know that this is not the correct group to post hylafax questions but if there is someone here that has managed to get hylafax to mail the received fax as an attachment in pdf via postfix, please let me know.
I have SuSE9.1 installed and Hylafax is receiving ok.
Thank you and my kind apologies for posting to suse-linux-e.
Chris
I don't mail it as a pdf, because I don't want to run the conversion. But I do mail the tif and there are viewers for Linux and Windows (included in windows 98 and later). So if you don't have your heart set on PDFs then its just a matter of setting up FaxDispatch in the hylafax bin directory to properly route faxes. You can do this by phone number, if you are able to recieve phone numbers and keep a list of which incoming number goes to which fax receiver, but most of the time this is impractical. I've always set it up to designate one user to receive the faxes and forward them, just like what would happen if there was a real hardware fax machine. I just hack faxdispatch as follows ------------------- # # Dispatch fax to email depending on own MSN or extention (ISDN lines) # sourced from faxrcvd # if [ "$7" != "" ]; then PHONEMATCH=$7\$ fi # arbitrarily set phonematch to 1 (SEE ../etc/users # ----THIS NEXT LINE IS HACKED PHONEMATCH=1\$ # --- END OF HACK ##### This searches ../etc/users for routeing USERENTRY=`grep -v "^#" etc/users | grep "$PHONEMATCH"` if [ "$USERENTRY" != "" ]; then USERNAME=`echo $USERENTRY | awk '{print $1}'` SENDTO="$USERNAME" fi ------------ Then, in ../etc/users (Thats dot dot /etc/users, not in the system /etc dir,) the user who gets the fax has a number 1 after their name. -- _____________________________________ John Andersen