|
|
|
Configuration |
| |
| |
| |
| |
| |
| |
| |
| Routing
Tables |
| |
|
| |
| |
| |
| |
| |
| |
| |
| |
|
Configuration
Inbound
Routing Tables
Fax2Send has 2
inbound routing tables stored in /etc/fax2send:
- routing
is always used when a new fax message is received and can route a
message to a printer, email address or InTray. You can also specify
an alias name to be used in the list of received messages.
- intrayactions
is used whenever a fax message is routed to an InTray and can route
a message to an email address or printer. Note that use of this table
is controlled by the InTrays
parameter in the config file.
Messages can be
routed on one of 2 properties:
- CSI is
the identification string programmed into the calling fax machine.
Most lists of received messages include the CSI as one of the fields.
- CLI is
the identification of the calling number and is currently only available
with DCE Faxbox modems using Fax2Send.
Routing Table (/etc/fax2send/routing)
The format of a line in the routing file should be one of:
- csi,CSI~alias~~Printers~Mailing
list~In Tray List
- cli,CLI~alias~~Printers~Mailing
list~In Tray List
- line,faxmodem~alias~~Printers~Mailing
list~In Tray List
- default~~~Printers~Mailing
list~In Tray List
Where:
- Printers
is a space separated list of printer names defined in the printer
table.
- Mailing list
is a space separated list of email addresses. Note that Fax2Send will
use the mail command to send email and attachments will be uuencoded.
- In Tray List
is a space separated list of In Trays.
The default line
is used when no other match can be found in the table. It is normally
used to route messages into one of the InTrays
from where they are sorted by an operator or to print
every message to the same printer.
Examples:
csi,123456789~John Smith Inc~~laser_1~johnh~Sales Technical
default~~~~~Unsorted
...will route any fax message received from a machine with local id
"123456789" to:
- The printer
"laser_1"
- The email address
"johnh"
- The In
Tray "Technical"
| line,faxmodem~~~~~tray1 |
| line,faxmodem1~~~~~tray2 |
...will
route all faxes received on the first line (faxmodem) to the In
Tray "tray1"
and all faxes received on the second line (faxmodem1) to The In
Tray "tray2".
This feature is only supported in Fax2Send server V2.1-13 and above. This
is useful if, for example, the first line is used for sales orders and
the second line by accounts.
To Route Every Message to a PCL compatible Printer...
- Edit the routing
table to contain the following line:
default~~~FAXPRINTER~~Unsorted
- Edit the printers
table to contain the line:
FAXPRINTER~hpIII-300~lpr -Pthe queue name for your printer
If you do not use lpr you will need to replace "lpr -P...." with the
appropriate command for your system.
InTrayAction Table (/etc/fax2send/intrayactions)
The format of a line in the intrayactions file is:
In Tray~~Printers~Mailing list
e.g Sales~~pr16 pr13~tony
Whenever a message is posted to an In
Tray, the table is consulted. If a match is found then the message
is sent to the specified printers and email addresses. There is no default
line in this table.
|