Nordic Star Products 4.3A manual Configuring the software, Keywords, Environment variables

Page 9

Configuring the software

3. Configuring the software

The behavior of XFAX is mainly controlled by a number of keywords used in the configuration file, config. You can alter the way XFAX acts by modifying config and then restart faxmaster. You restart the faxmaster by finding the process id, kill the process and then start the daemon again. Do not use the –9 option when killing the faxmaster process.

3.1 Keywords

To use a new keyword in the configuration file add the keyword, preferably at the end of the file, and then restart faxmaster.

Examples of some useful keywords:

DIAL_PREFIXDial prefix, for example "0" to get out through a PBX

INIT_STRINGInitilisation string for modem

XON_XOFFSpecifies XON/XOFF flow control is to be used

FLOWFLOW=0 specifies do not try CTS/RTS flow control

EXECUTE_AFTER_SENDSpecify a program to be executed after transmission

MAX_RETRIESMaximum number of tries to send a message

RETRY_TIMETime, in minutes, between tries

ROUND_ROBINUsed with multiple modem devices

There are more than 100 different keywords used by XFAX.

3.2 Environment variables

A couple of environment variables can be used to change the behavior of XFAX:

XFAXDIRSpecifies where the XFAX config file is located, normally /etc/xfax.

XFAXCONFIGSpecifies an alternate config file to use. Must specify the file- name including the complete absolute path.

XFAXIDSpecifies for faxsend which id to use, this is displayed in the page header.

XFAXLICENSESpecifies an alternate XFAX licence file to use.

Example, in Bourne shell:

XFAXCONFIG=/etc/xfax/config2 export XFAXCONFIG

XFAX - User’s Guide 4.3a

9

Image 9
Contents Xfax Contents Defaultfont Defaultmargin Dialprefix Defaultprinter DialtimeoutCharacterset Httpenable Waitfortone Etcdir OverviewBindir SpooldirXfaxdir Installation Configuring the software KeywordsEnvironment variables Xfax and multiple fax devices Adding actionsConfiguring the software Xfax User’s Guide 4.3a Faxsend Sending a faxOne fax to several recipients group transmission Attaching a note to a faxID of the fax in the queue Scheduled transmissionsPrinting a fax before sending Script xfaxDocument codes Script faxadmChargeperminute Telephone cost file ETCDIR/costLocalzone LOCALZONE=LOCALLY AreacodesAreacodes 08LOCAL 031AREA 3 009ABROAD 0091USA Automatic printing of incoming faxes Receiving faxesFax queues Handling faxesReschedule a fax Canceling of a faxScheduling a fax IntrRoutine maintenance Printing a faxListing faxes in a particular directory Cleaning the statistics file Installation Using the address book in XfaxUsing the client Xfax in a Windows environmentXfax in a Windows environment Using overlay files as forms and cover pages Overlay files and cover sheetsCover sheets the old way Message DateTime Overlay files and cover sheets Sendmail Xfax and e-mailScript faxmail Xfax and e-mail Installing Ghostscript and the Xfax driver Troubleshooting Integrated Http server Integrated Smtp server Modems and flow control Commands Command referenceFaxmail FaxmasterFaxmime Faxq FaxprintFrom SubjectFaxsend Faxrm1234 7586535 faxfile Faxsr FaxstatFaxwho Exit codes Keyword reference AccesshttpGeneral keywords FaxlineAdministrator AccesssmtpAcceptusers AlertuserCharacterset BrokenselectDefaultmargin DefaultfontDefaultprinter DialtimeoutExecworkdir DomainExecuteafterreceive ExecuteaftersendExitstring ExecutebeforesendFaildir FailfaxnoHttpenable Jetfaxbusytries InitstringJetfaxcopy JetfaxpagetimeLockingstyle LocalprefixMailonerror LpprintoptionMailonsuccess Nostatistics NoerrorsavePartialpages PrintrectoleftReceiveonly ResolutionReversestats RoundrobinSmtpenable SmtpsenderSmtpserver 15.1.81 T30ECM Symbolset15.1.82 T30RTC 15.1.83 T30PAGELENGTHWaitfortone XonxoffWaitfordialtone Troubleshooting Troubleshooting Technical specifications Typefaces in Xfax Index