1POLLRCVD(8C) POLLRCVD(8C)
2
3
4
6 pollrcvd - HylaFAX script for delivering facsimile received by polling
7
9 /var/spool/hylafax/bin/pollrcvd mailaddr faxfile devid commid error-msg
10
12 bin/pollrcvd is the command script invoked by the HylaFAX server when‐
13 ever a facsimile is received as a result of a polling operation. It is
14 designed to be customizable by the administrator. (Ideally this is
15 done by creating a customized pollrcvd script in a different filename
16 or by copying the default script to a different filename, customizing
17 that new file, and then using PollRcvdCmd in the modem config file to
18 point faxgetty(8C) at the customized script. See hylafax-config(5F).)
19
20 The default script uses electronic mail to deliver the facsimile to the
21 user that submitted the poll request. The arguments are:
22
23 mailaddr the electronic mail address of the user that submitted the
24 poll request.
25
26 faxfile the pathname of the received TIFF file relative to the root
27 of the spooling hierarchy.
28
29 commid The communication identifier associated with the call (used
30 to include a transcript when an error occurs).
31
32 devid the modem device on which the document was received.
33
34 error-msg an error message that is non-null if an error was encountered
35 during the receive operation.
36
38 The default script delivers facsimile as PostScript wrapped in MIME.
39 This script can be customized for the intended receipient. To do this
40 create a shell script etc/PollDispatch in the spooling area that sets
41
42 BCCTO controls the blind copy recipient of the received fax notifica‐
43 tion. It is given as an e-mail address.
44
45 CCTO controls the copy recipient of the received fax notification.
46 It is given as an e-mail address.
47
48 LANG controls the localization of the text of the received poll noti‐
49 fication.
50
51 FILETYPE
52 controls the filetype of the image attachment. Current filetype
53 options are ``ps'', ``tif'', and ``pdf''. Multiple values may
54 be specified by separating them with whitespace. In that case a
55 separate attachment is created for each filetype.
56
58 /var/spool/hylafax spooling area
59 /usr/sbin/faxinfo for printing information about the facsimile
60 /usr/bin/fax2ps for converting TIFF to PostScript
61 /usr/sbin/sendmail for delivering mail
62
64 faxq(8C), hylafax-server(5F), recvq(5F)
65
66
67
68 May 12, 1996 POLLRCVD(8C)