---
name: "pollrcvd"
section: "8"
platform: "linux"
package: "hylafax-server"
version: "3:6.0.7-11.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pollrcvd"
---

# pollrcvd(8)

HylaFAX script for delivering facsimile received by polling

## NAME

pollrcvd - *HylaFAX* script for delivering facsimile received by polling

## SYNOPSIS

**/var/spool/hylafax/bin/pollrcvd** *mailaddr* *faxfile* *devid* *commid* *error-msg*

## DESCRIPTION

**bin/pollrcvd** is the command script invoked by the *HylaFAX* server whenever a facsimile is received as a result of a polling operation. The default script uses electronic mail to deliver the facsimile to the user that submitted the poll request, and can be controlled by editing the  **etc/PollDispatch** shell script in the spooling area that is sourced by pollrcvd when it runs. The arguments are:

- **mailaddr**

  the electronic mail address of the user that submitted the poll request.

- **faxfile**

  the pathname of the received  TIFF file relative to the root of the spooling hierarchy.

- **commid**

  The communication identifier associated with the call (used to include a transcript when an error occurs).

- **devid**

  the modem device on which the document was received.

- **error-msg**

  an error message that is non-null if an error was encountered during the receive operation.

## NOTES

The default script delivers facsimile as PostScript wrapped in MIME.

## FILES

```
/var/spool/hylafax	spooling area
/usr/sbin/faxinfo	for printing information about the facsimile
/usr/bin/fax2ps	for converting TIFF to PostScript
/usr/lib/sendmail	for delivering mail
```

## SEE ALSO

[*faxq*(8)](/faxq/8.md), [*hylafax-server*(5)](/hylafax-server/5.md), [*recvq*(5)](/recvq/5.md)
