faxrunq(1)

faxrunq(1)

faxrm Home Page User Commands Index faxspool


NAME
       faxrunq - send fax jobs queued by faxspool(1)

SYNOPSIS
       faxrunq

DESCRIPTION
       Run  the  fax queue set up by faxspool(1), try to send all
       faxes, record result, remove job and send notify mails.

       faxrunq looks for all the jobs queued  by  faxspool(1)  to
       /var/spool/fax/outgoing/*.  For  each  job  in  the queue,
       faxrunq tries to send it, using sendfax(8).

       If the send succeeds, the job is removed from  the  queue,
       and  a  "success"  mail  is  sent to the originator of the
       spooled job.

       If the send fails, it's logged, and  faxrunq  proceeds  to
       the  next job. If the job fails five times "fatally", that
       is, not with a locked or engaged line, but with  "NO  CAR-
       RIER"  (no  fax  machine,  or line noise), the job is sus-
       pended, and the requestor gets a mail, telling him so.

OPTIONS
       -q     Tells faxrunq to be quiet, that  is,  suppress  all
              status  messages.   Error  messages  will  still be
              printed.

CONFIGURATION FILE
       Some aspects of the behaviour of faxrunq can be controlled
       by  a configuration file, /etc/mgetty+sendfax/faxrunq.con-
       fig.  In this file, you can use the following options:

       success-send-mail [y/n]
              A boolean parameter that controls  whether  a  mail
              will  be  sent after successful completition of the
              fax job.

       failure-send-mail [y/n]
              A boolean parameter that controls  whether  a  mail
              will be sent after the fax job has failed more than
              the maximum number of times.

       success-call-program <<name>>
              Here, you can specify a program that  will  be  run
              when the fax has been successfully sent. It will be
              passed one command line parameter, and  that's  the
              full path to the fax JOB file (see faxq(5)).

       failure-call-program <<name>>
              Similar to the "success-call-program", this program
              will be run when the fax has been failed too  often
              and  faxrunq gives up. This script could, for exam-
              ple, print out the fax on a printer so that it  can
              be sent manually on a paper fax machine.

       maxfail-costly <<n>>
              This  specifies  the number of times that a fax may
              fail "fatally", that is,  causing  telephone  costs
              (explained above). The default value is 5.

       maxfail-total <<m>>
              This  is  the absolute maximum number of times that
              faxrunq will try to send any given fax. The default
              value is 10. (Right now, it's not yet implemented).

       delete-sent-jobs [y/n]
              Determines whether faxrunq should delete jobs after
              sending, or leave them in the fax queue (while mov-
              ing the "JOB" file to "JOB.done") so that they  can
              be  seen  at by "faxq -o". The default value is "do
              not delete sent faxes".

       acct-log <<path>>
              Specifies where faxrunq should protocol success and
              failure of each try to send a fax job.  The default
              location is /var/spool/fax/outgoing/acct.log.
              There are some other options that are allowed,  but
              ignored.   These are: max-modems, and faxrunqd-log.
              They are used by faxrunqd(8) (which reads the  same
              config file, but has more options).

BUGS
       faxrunq doesn't handle proper time scheduling yet

SEE ALSO
       faxspool(1) sendfax(8) faxq(1) faxqueue(5) faxrunqd(8) 

AUTHOR
       faxrunq is Copyright (C) 1993 by Gert Doering, <gert@gree-
       nie.muc.de>.

faxrm Home Page User Commands Index faxspool