Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Change the fax-attachments' name? Help!?



Hi,
The recommended way to customise how faxrcvd (the notification script for received facsimile) works is to use the FaxDispatch file. Since faxrcvd is part of the HylaFAX distribution, your changes may be lost when you upgrade unless they're in the user-created FaxDispatch file. Please refer to 'man faxcvrd' for more information on these scripts.
 
In faxrcvd, the variable $FILE will be defined as $FILE = fax3721.tif, for example. In FaxDispatch, you could change/override this default behaviour by redefining $FILE and also renaming (or moving) the tiff file. You'd want something like the following in FaxDispatch:
 
1. mv fax3721.tif yourfile.tif  (where yourfile could be constructed any way you like , like for instance                                                       20030808_001.tif)
2. then redefine $FILE (to make sure the rest of faxrcvd operates properly) with $FILE=yourfile.tif
 
Hope this is helpful.
------
Gabriel Petrescu
Software Engineer
iFax Solutions, Inc.
www.ifax.com
gabriel.petrescu@ifax.com
+1.215.438.4638 office
+1.215.243.8335 fax
 
----- Original Message -----
From: Taboo Test
To: HylaFax-users
Sent: Friday, August 08, 2003 1:34 AM
Subject: [hylafax-users] Change the fax-attachments' name? Help!?

Dear all,
 
    I am using Hylafax 4.1.6 with Red Hat Linux 9.0? i can receive the fax from email. Is there any ways to change the attachments' name? As the format of the fax attachments is "fax00xxx.tif" (That means the Max. No. of fax i can receive is fax99999.tif!?), what i want to do is change the format to be more make sense, for example, use the current date format "20030809xxx.tif"?
Would you help me?
Thanks!!


Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services