NOTIFY(8C)
๐ NOTIFY ๐ โ the notify page from section 8C, bestie
okay so like, welcome to the notify manual, section 8C, and lemme tell you this one is so important if you're running HylaFAX. it's giving "your fax job has tea to spill and it's gonna email you about it." let's go โจ
๐ธ NAME ๐ธ
notify โ the HylaFAX user notification program. that's it, that's the vibe ๐ซถ
โจ SYNOPSIS โจ
/var/spool/hylafax/bin/notify qfile why jobtime [ nextTry ]
๐ DESCRIPTION ๐
bin/notify is the program that the facsimile server calls up when it needs to tell a user what's going on with an outbound job. and the whole point is that it's designed to be customizable by the administrator โ like, it's meant to be messed with, no cap. (the ideal way to do this? make your own customized notify program under a different filename, or copy the default program to a different filename, customize that new file, and then point faxq(8C) at your customized program using NotifyCmd in the scheduler config file. see hylafax-config(5F) for the deets ๐)
the default notification program just sends the user electronic mail describing the event or action. iconic. and the arguments are:
qfileโ the pathname of the job description file. literally just where the job lives ๐whyโ a string that says why the user is being notified. it's one of these bad boys:doneโ job was completed successfully โfailedโ ยน job was not completed ๐ญrejectedโ job was rejected for specified reasons ๐blockedโ job is blocked by concurrent jobs ๐งrequeuedโ ยน job was not completed, but was requeued for retry ๐removedโ job was deleted from the queue ๐๏ธkilledโ job was deleted from the queue ๐timedoutโ job could not be sent before kill time expired โฐformat_failedโ document conversion failed ๐ตno_formatterโ the document conversion program was not found ๐poll_rejectedโ ยน a polling request was rejected by the remote side ๐กpoll_no_documentโ ยน a polling request failed because nothing was available ๐ซฅpoll_failedโ ยน a polling request failed for an unknown reason โ- ยน A transcript of the failed communication is returned to the sender. ๐จ
jobtimeโ the total transmission time of a successful job, or the connect time of a failed request (passed as a string) โฑ๏ธnextTryโ the time (passed as a string) at which the next attempt will be made to complete the job. this parameter is passed only ifwhyisrequeued. so like, don't expect it otherwise bestie ๐
๐ NOTES ๐
the behavior of notify is intended to be customizable via the etc/FaxNotify program, if present. FaxNotify gets sourced after the q-file is parsed and all the default values are preset. here are the useful settings you can put in FaxNotify:
WHYโ is identical towhymentioned above, and it's lowkey so useful for figuring out under what conditions various settings should take effect. for example:
if [ "$WHY" != "done" ]; then
RETURNFILETYPE=pdf;
fi
this would only set RETURNFILETYPE when the job did not complete successfully. slay โจ
RETURNFILETYPEโ can be set totif,pdf,ps, ororiginal. if you set it, it makesnotifyreturn a copy of the submitted documents to theSENDERaddress along with the notification message. theoriginalsetting uses the format type that was used in the submission. and yes you can specify multiple values by separating them with whitespace โ in that case a separate attachment is created for each filetype. multitasking queen ๐RETURNTECHINFOโ defaults toyesand it says whether or not technical info (like the session parameters) should be included with the notification message. if you set it to anything other thanyes, that info will not be included. ๐งRETURNTRANSCRIPTโ defaults toyesand it says whether or not the session transcript (log) should be returned with the notification message on the error conditions noted above. ๐NOTIFY_FAXMASTERโ is used to deliver a notification message toTOADDR(which defaults toFaxMaster) that contains technical information about the job. this is so so useful for letting the administrator be aware of any problems before those problems get reported by the users โ main character admin energy fr fr ๐. possible settings areyes,always,no,never, anderrors. iferrorsis used, then the notification message is only sent toFaxMasterwhen the job experienced an error. the default isno. ๐NOTIFICATIONLANGUAGEโ the language of the e-mail messages sent by HylaFAX is selected according to the setting of theNOTIFICATIONLANGUAGEvariable, which can be assigned a locale name like theLC_*andLANGlocale environment variables.
if the NOTIFICATIONLANGUAGE variable is not set or is set to the empty value, then, as a default, the value of the LC_MESSAGES category locale name is used โ that is, the value of the LC_ALL variable (if not empty), else of the LC_MESSAGES variable (if not empty), else of the LANG variable. ๐ฆ
a suggestion for NOTIFICATIONLANGUAGE may be:
NOTIFICATIONLANGUAGE="${LC_ALL:-${LC_MESSAGES:-${LC_CTYPE:-${LANG:-}}}}"
๐ FILES ๐
/var/spool/hylafaxโ spooling area ๐/usr/bin/sendmailโ for delivering mail ๐ฎ
๐ SEE ALSO ๐
faxq(8C), hylafax-server(5F), sendq(5F) โ go read these next bestie, iykyk ๐ซถ
and that's the whole page!! this one's from May 8, 1996, and it's the NOTIFY(8C) page โ yeah it's giving vintage but it still ate, 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