Carl Johnson on 10 Sep 2010 09:39:23 -0700 |
ok here's what i've come up with.... [root@fileserver etc]# cat FaxDispatch # don't need faxrcvd emailing anyone NOTIFY_FAXMASTER="never" # date/timestamp variable n=`date +%Y.%m.%d.%H.%M` # samba share destination t=/shared_as_drive_g/Incoming_Faxes/$n # date variable for output pdf dt=`date +%m%d%y` # just incase we need to spy on this script's activities we'll # generate a log file set > /var/log/FaxDispatch.log # convert hylafax's *.tif to *.pdf in samba share /usr/bin/tiff2pdf -o $t.pdf /var/spool/hylaxfax/recvq/incoming_fax_$dt.tif # We only copy to the fax location, archive this just in case #/bin/cp $FILE $t.tif # use this to move it instead # samba share permissions will prevent deletions /bin/mv /var/spool/hylafax/recvq/incoming_fax_$dt.tif $t #####################customization complete####################### #################anything below here is default installed stuff########### # Make infos like faxrcvd if [ -f log/c$COMMID ]; then $SED -e '/-- data/d' \ -e '/start.*timer/d' -e '/stop.*timer/d' \ -e 's/=/=3D/g' \ log/c$COMMID elif [ -n "$COMMID" ]; then echo "$DICTNOLOGAVAIL ($DICTCOMMID c$COMMID)." else echo "$DICTNOLOGAVAIL." fi so what do you all think? toads & locusts maybe? fire/brimstone? On 9/8/10, Darren Nickerson <darren.nickerson@ifax.com> wrote: > I'm a bit familiar with HylaFAX ;-) > > You want to add shell code to your FaxDispatch file to copy the file to > whatever directory you need. > > For more information on FaxDispatch, type 'man faxrcvd' while logged into > your HylaFAX server. > > -Darren > > > > On Sep 8, 2010, at 5:58 PM, Brian Vagnoni wrote: > >> -------------------------------------------------- >> Brian Vagnoni >> PGP Digital Fingerprint >> F076 6EEE 06E5 BEEF EBBD BD36 F29E 850D FC32 3955 >> -------------------------------------------------- >> >> >> ----- Original Message ----- >> From: Carl Johnson >> [mailto:cjohnson19791979@gmail.com] >> To: Philadelphia Linux User's >> Group Discussion List [mailto:plug@lists.phillylinux.org] >> Sent: Fri, >> 03 Sep 2010 18:18:00 -0400 >> Subject: [PLUG] hylafax help anyone >> >> >>> i'm having trouble figuring out how to set the directory that i want >>> my recieved faxes to go to. the docs all seem to only provide >>> direction on how to e-mail docs to a given user. i'd like all faxes to >>> just be made into pdf's and dumped into a directory that is then >>> shared by samba to >>> windows machines. how can i set hylafax up to do that? >>> >>> P.S. thanks to morgan for the modems. the 56k modem and PSU were both >>> bad but the 33600 is working great. >>> ___________________________________________________________________________ >>> Philadelphia Linux Users Group -- >>> http://www.phillylinux.org >>> Announcements - >>> http://lists.phillylinux.org/mailman/listinfo/plug-announce >>> General Discussion -- >>> http://lists.phillylinux.org/mailman/listinfo/plug >>> >> ___________________________________________________________________________ >> Philadelphia Linux Users Group -- >> http://www.phillylinux.org >> Announcements - >> http://lists.phillylinux.org/mailman/listinfo/plug-announce >> General Discussion -- >> http://lists.phillylinux.org/mailman/listinfo/plug > > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug > ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|