FAXRCVD(8C)
okay bestie, welcome to faxrcvd, section 8C of the manual π we are reading the whole page, nothing skipped, we are eating it all and leaving no crumbs.
πΈ NAME πΈ
faxrcvd β HylaFAX notification program for received facsimile π
β¨ SYNOPSIS β¨
/var/spool/hylafax/bin/faxrcvd qfile devid commid error-msg [ callid-1 [ callid-2 [ ... [ callid-n ] ] ] ]
π DESCRIPTION π
bin/faxrcvd is the program the facsimile server runs every single time a facsimile gets received, no cap. And it's literally designed to be customizable by the administrator, which is so main character of it. (Ideally you do the customization by creating a customized faxrcvd program under a different filename, or by copying the default program to a different filename, customizing that new file, and then using FaxRcvdCmd in the modem config file to point faxgetty(8C) at your customized program. See hylafax-config(5F).) π¦
The default program sends electronic mail to the FaxMaster user describing the content of the facsimile and other useful information such as the time spent receiving the document. The arguments are:
- qfile β the pathname of the received TIFF file relative to the root of the spooling hierarchy π
- devid β the modem device on which the facsimile was received
- commid β the communication identifier for the inbound call
- error-msg β an error message that is non-null if an error was encountered during the receive operation π
- callid β the value of various identification indicators from the call
π NOTES π
This program can route facsimile directly to the intended recipient, which is genuinely so slay. To do this, create a shell script etc/FaxDispatch in the spooling area that sets SENDTO to the receiver's electronic mail address. For example:
case "$SENDER" in
*1*510*526*1212*) SENDTO=sam;; # Sam's test rig in Berkeley
*1*415*390*1212*) SENDTO=raster@asd;; # 7L Xerox room, used for scanning
*5107811212) SENDTO=peebles@mti;; # stuff from home
esac
case "$DEVICE" in
ttyS1) SENDTO=john;; # all faxes received on ttyS1
ttyLT0) SENDTO=mary@home;; # all faxes received on ttyLT0
esac
case "$CIDNUMBER" in
435*) SENDTO=lee; FILETYPE=pdf;; # all faxes from area code 435
5059627777) SENDTO=amy; FILETYPE=tif;; # Amy wants faxes in TIFF
esac
case "$CALLID4" in
7890) SENDTO=user1@domain;; # DID 7890 received at $CALLID4
7891) SENDTO=user2@domain;; # DID 7891 received at $CALLID4
7892) SENDTO=user3@domain;; # DID 7892 received at $CALLID4
esac
case "$SUBADDR" in
53) SENDTO=FaxMaster;; # without double-notification
roger) SENDTO=roger;; # possible text subaddressing
esac
Note that you must match any embedded white space. The facsimile will be sent as a MIME-encoded PostScript document as default. π
BCCTOβ controls the blind copy recipient of the received fax notification. It is given as an e-mail address.CALLIDnβ is equivalent to the nth call identification parameterCCTOβ controls the copy recipient of the received fax notification. It is given as an e-mail address.CIDNAMEβ is equivalent toCALLID2above.CIDNUMBERβ is equivalent toCALLID1above.DEVICEβ is equivalent to device above.FILETYPEβ controls the filetype of the image attachment. Current filetype options areps,tif,pdf, andnone. Multiple values may be specified by separating them with whitespace. In that case a separate attachment is created for each filetype. πΌοΈFROMADDRβ controls the sender of the received fax notification. It is given as an e-mail address.LANGβ controls the localization of the text of the received fax notification. πMSGβ is equivalent to error-msg above.NOTIFY_FAXMASTERβ (an underscore_character is betweenNOTIFYandFAXMASTER) indicates whether or not the HylaFAX administrator should be notified regarding incoming facsimile. Default isalways. Also available arenever, which means to never send any received facsimile notification, anderrors, which means to send notification only if there were reception errors.RECV_DATA_CONVERSIONβ Indicates whether TIFF files saved to disk by HylaFAX should be converted in place to another compression data format. At this time the only available option isJBIG:MMRwhich causes TIFF files using JBIG compression to be converted to 2D-MMR (G4) compression. Since the majority of TIFF file viewers lack JBIG support, this setting may be useful if JBIG-compressed fax receiving is enabled (seeClass1JBIGSupportconfig option) and the received fax files are to be directly accessed by users, either through HylaFAX clients such as WHFC or via a shared directory. Note that if the received faxes are viewed/accessed only as email attachments then there's no need to use this setting: TIFF email attachments are automatically sent as 2D-MMR (G4) when the on disk compression data format is JBIG. πSENDERβ is the received TSI of the fax sender.SENDTOβ controls the recipient of the received fax notification. It is given as an e-mail address. To indicate multiple recipientsSENDTOshould be given a list of addresses separated by whitespace.SUBADDRβ the received subaddress value, communicated by the sender for post-reception routing purposes
Other shell variables are available. Consult the faxrcvd script directly. π
π FILES π
/var/spool/hylafaxβ spooling area/usr/bin/faxinfoβ for printing information about the facsimile/usr/bin/fax2psβ for converting TIFF to PostScript/usr/bin/sendmailβ for delivering mail
π SEE ALSO π
faxd(8C), hylafax-server(5F), recvq(5F)
and that's the whole page bestie, we ate and left no crumbs π«Ά this one is dated May 28, 2001 and it's filed under FAXRCVD(8C) in the HylaFAX manual set. periodt π β¨
π¦ where this page comes from
- fedora 43: hylafax+ 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 43: hylafax+ 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- Copyright (c) 1993-1996 Sam Leffler
- Copyright (c) 1993-1996 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms