pollrcvd.1m
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:4k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. ." $Id: pollrcvd.1m,v 1.5 2007/12/23 16:16:47 faxguy Exp $
  2. ."
  3. ." HylaFAX Facsimile Software
  4. ."
  5. ." Copyright (c) 1993-1996 Sam Leffler
  6. ." Copyright (c) 1993-1996 Silicon Graphics, Inc.
  7. ." HylaFAX is a trademark of Silicon Graphics
  8. ." 
  9. ." Permission to use, copy, modify, distribute, and sell this software and 
  10. ." its documentation for any purpose is hereby granted without fee, provided
  11. ." that (i) the above copyright notices and this permission notice appear in
  12. ." all copies of the software and related documentation, and (ii) the names of
  13. ." Sam Leffler and Silicon Graphics may not be used in any advertising or
  14. ." publicity relating to the software without the specific, prior written
  15. ." permission of Sam Leffler and Silicon Graphics.
  16. ." 
  17. ." THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  18. ." EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  19. ." WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  20. ." 
  21. ." IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  22. ." ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  23. ." OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. ." WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  25. ." LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  26. ." OF THIS SOFTWARE.
  27. ."
  28. .if n .po 0
  29. .ds Fx fIHylas-1FAXs+1fP
  30. .TH POLLRCVD ${MANNUM1_8} "May 12, 1996"
  31. .SH NAME
  32. pollrcvd - *(Fx script for delivering facsimile received by polling
  33. .SH SYNOPSIS
  34. .B ${SPOOL}/bin/pollrcvd
  35. .I mailaddr
  36. .I faxfile
  37. .I devid
  38. .I commid
  39. .I error-msg
  40. .SH DESCRIPTION
  41. .B bin/pollrcvd
  42. is the command script invoked by the *(Fx server whenever
  43. a facsimile is received as a result of a polling operation.
  44. It is designed to be customizable by the
  45. administrator.  (Ideally this is done by creating a customized pollrcvd script
  46. in a different filename or by copying the default script to a different filename,
  47. customizing that new file, and then using
  48. .B PollRcvdCmd
  49. in the modem config file to point
  50. .IR faxgetty (${MANNUM1_8})
  51. at the customized script.  See
  52. .IR hylafax-config (${MANNUM4_5}).)
  53. .P
  54. The default script uses electronic mail to
  55. deliver the facsimile
  56. to the user that submitted the poll request.
  57. The arguments are:
  58. .TP 10
  59. .B mailaddr
  60. the electronic mail address of the user that submitted the poll request.
  61. .TP
  62. .B faxfile
  63. the pathname of the received 
  64. .SM TIFF
  65. file relative to the root of the spooling hierarchy.
  66. .TP
  67. .B commid
  68. The communication identifier associated with the call (used
  69. to include a transcript when an error occurs).
  70. .TP
  71. .B devid
  72. the modem device on which the document was received.
  73. .TP
  74. .B error-msg
  75. an error message that is non-null if an error was encountered
  76. during the receive operation.
  77. .SH NOTES
  78. The default script delivers facsimile as PostScript wrapped in s-1MIMEs+1.
  79. This script can be customized for the intended receipient.
  80. To do this create a shell script
  81. .B etc/PollDispatch
  82. in the spooling area that sets
  83. .TP
  84. .I BCCTO
  85. controls the blind copy recipient of the received fax notification.  It is
  86. given as an e-mail address.
  87. .TP
  88. .I CCTO
  89. controls the copy recipient of the received fax notification.  It is
  90. given as an e-mail address.
  91. .TP
  92. .I LANG
  93. controls the localization of the text of the received poll notification.
  94. .TP
  95. .I FILETYPE
  96. controls the filetype of the image attachment.  Current
  97. filetype options are ``ps'', ``tif'', and ``pdf''.
  98. Multiple values may be specified by separating them with
  99. whitespace. In that case a separate attachment is created
  100. for each filetype.
  101. .SH FILES
  102. .nf
  103. .ta w'${SBIN}/faxinfo    'u
  104. ${SPOOL} spooling area
  105. ${SBIN}/faxinfo for printing information about the facsimile
  106. ${TIFFBIN}/fax2ps for converting s-1TIFFs+1 to PostScript
  107. ${SENDMAIL} for delivering mail
  108. .fi
  109. .SH "SEE ALSO"
  110. .IR faxq (${MANNUM1_8}),
  111. .IR hylafax-server (${MANNUM4_5}),
  112. .IR recvq (${MANNUM4_5})