![]() |
What I would recommend would be to move the faxes to a particular folder to process. The method below would just skip emailing those particular faxes, but all of the faxes would be in the folder, including the ones that did get emailed. Here is what I would try first: In the "case $DEVICE" statement, set a variable, say 'ttyIAX1') SendToImaging=1 ;; At the very end of the faxrcvd script, add code (or call another script) to move the file: if [SendToImaging = 1 ] ; then "mv $FILE /path/to/imaging/folder" fi The reason for putting that at the end is that if you move the file to early in the process some of the later code will throw an error, and it wont be listed as successfully received, and failure emails will be generated etc. If you do it at the end, everything is happy. I do something similar to encrypt and then "shred --remove" the file because of the sensitive nature of the faxes. -----Original Message----- From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Carlos Alvarez Sent: Thursday, July 31, 2008 12:28 PM To: hylafax-users@xxxxxxxxxxx Subject: [hylafax-users] Leaving some fax files unprocessed I have a HylaFAX server which doesn't e-mail files or do any built-in post-processing. I have scripts that handle the files (it's a fax-in document imaging/database system). I'd like to also run normal faxes on this server. Can any of you think of any reason not to do this? My thought is to define rules for the standard faxes in FaxDispatch, but just leave the document imagine faxes undefined. IE: case "$DEVICE" in 'ttyIAX0') FILETYPE=pdf SENDTO=user1@xxxxxxxxxxxx ;; #'ttyIAX1') this is the imaging line ;; 'ttyIAX2') FILETYPE=pdf SENDTO=user2@xxxxxxxxxxxx ;; etc... ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx* ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*