/usr/share/mgetty/templates/etc/faxrunq.config is in mgetty-fax 1.1.36-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | # faxrunq.config
#
# Sample configuration file for "faxrunq" and "faxrunqd"
#
# valid options: success-send-mail [y/n], failure-send-mail [y/n],
# success-call-program <name>, failure-call-program <name>,
# maxfail-costly <n>, maxfail-total <n>,
# delete-sent-jobs [y/n], acct-log <filename>
#
# additional options specific to faxrunqd: fax-devices <tty(s)>,
# faxrunqd-log <filename>, faxrunqd-keep-logs <n>,
# acct-log <filename>, policy-config <filename>
# say "y" here if you want a mail to be sent to the sender of the fax
# when a fax has been successfully sent, "n" otherwise... (default "y")
#success-send-mail n
# this states whether a mail should be sent when a fax could not be
# transmitted at all... (default "y")
#failure-send-mail n
# here you can specify a program that will be called for each fax that
# has successfully been sent... (default: no program)
#success-call-program /usr/local/lib/mgetty+sendfax/fax-success
# and this program is run for each failed fax... (default: no program)
#failure-call-program /usr/local/lib/mgetty+sendfax/fax-fail
# how often should faxrunq retry "costly" errors (NO CARRIER, aborted
# transmission, whatever - something that did cost telephone bill)?
# (default: 3)
#maxfail-costly 5
# this is the absolute maximum number of tries for a given fax
# (default: 10)
#maxfail-total 20
# if you want faxrunq to delete sent faxes completely, set this to "y".
# If it is set to "n", faxes will be removed from the queue, but the
# files won't be deleted, that is, you can see those faxes with
# "faxq -o" (default: "n")
#delete-sent-jobs y
# accounting log file (default: see beginning of faxrunq/faxrunqd script)
#acct-log /var/log/mgetty/fax/acct.log
# The following options are for faxrunqd only:
# which devices to use for outgoing faxes, seperated by ":" (default: no tty)
# this may be overridden by the -l command line switch
#fax-devices ttyS0:ttyS1
# log file for faxrunqd (default: see beginning of faxrunqd script)
#faxrunqd-log /var/log/mgetty/fax/faxrunqd.log
# number of logfiles to keep around when rolling (default: 3)
#faxrunqd-keep-logs 5
# configuration file for policy routing, see faxrunqd man page for
# details (default: none, i.e. don't use policy routing)
#policy-config /etc/mgetty/policy.config
# call an external script if the fax queue length goes over threshold
# (default: off)
#queue-length-high 250 /path/to/script.sh
# call an external script if the fax queue falls under a low water mark again
# (default: low water mark at 60% of high water mark, no script)
#queue-length-low 100 /path/to/script.sh
# call an external script if a modem goes bad
# "bad" is defined as "more than X consecutive (!) failures"
# the script will be passed the tty name, and the error codes (full list)
# (default: off)
#modem-error-threshold X /path/to/script.sh
|