NOTIFY(8) | System Manager's Manual | NOTIFY(8) |
notify - HylaFAX user notification script
/var/spool/hylafax/bin/notify qfile why jobtime [ nextTry ]
bin/notify is the command script invoked by the facsimile server to notify a user about the status of an outbound job. The default notification script sends the user electronic mail describing the event or action. The arguments are:
Why Notes Meaning done ¹ job was completed successfully failed ¹² job was not completed rejected ¹ job was rejected for specified reasons 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 blocked ³ job is blocked by concurrent jobs
The behavior of notify is intended to be customizable via the etc/FaxNotify script, if present. FaxNotify is sourced after the q-file is parsed and all default values are preset. Useful settings for FaxNotify are:
if [ "$WHY" != "done" ]; then RETURNFILETYPE=pdf; fi
This would only set RETURNFILETYPE when the job did not complete successfully.
The settings of the user in $notify (read from the sendq job file) controls whether the user will get the notification email. If you want to force notification emails, irregardless of the users selection, or force a blocked notification (which is not sent by default), you can set
notify="always"
which will force the notify script to send the email.
/var/spool/hylafax spooling area /usr/lib/sendmail for delivering mail
faxq(8), hylafax-server(5), sendq(5)
May 8, 1996 |