| 1 |
# $Id$ |
| 2 |
# |
| 3 |
# HylaFAX Facsimile Software |
| 4 |
# |
| 5 |
# Copyright (c) 1990-1996 Sam Leffler |
| 6 |
# Copyright (c) 1991-1996 Silicon Graphics, Inc. |
| 7 |
# HylaFAX is a trademark of Silicon Graphics, Inc. |
| 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 |
|
| 29 |
It's easy to setup an email to fax gateway with these simple steps: |
| 30 |
|
| 31 |
1. Setup the HylaFAX software as usual. |
| 32 |
|
| 33 |
2. If your system uses sendmail to deliver mail, then follow the |
| 34 |
instructions in mailfax.sh-sendmail. |
| 35 |
|
| 36 |
3. If your system uses smail (e.g. Linux users), then follow the |
| 37 |
instructions in mailfax.sh-smail. |
| 38 |
|
| 39 |
4. If your system uses qmail to deliver mail, then follow the |
| 40 |
instructions in mailfax.sh-qmail. |
| 41 |
|
| 42 |
5. If your system uses Postfix to deliver mail, then follow the |
| 43 |
instructions in mailfax.sh-postfix. |
| 44 |
|
| 45 |
6. Restart your mail software, refreeze your configuration or |
| 46 |
whatever is necessary to cause the configuration changes to be |
| 47 |
seen by the system. |
| 48 |
|
| 49 |
Voila! Now mail to [email protected] will get formatted and submitted as a |
| 50 |
facsimile job to "user" at the specified "dest". By writing a more |
| 51 |
involved mailfax script you can add things like different resolutions |
| 52 |
by parsing the "user" string. For example, an X.400-style scheme might |
| 53 |
use: |
| 54 |
|
| 55 |
user/R=low/[email protected] |
| 56 |
|
| 57 |
where "R=low" specifies a low res facsimile and "N=done" requests |
| 58 |
notification when the job is done. If you want symbolic destinations, |
| 59 |
then you can provide a host to phone number mapping facility. |
| 60 |
|
| 61 |
NOTE: The normal access control mechansims on submitting a facsimile |
| 62 |
for transmission are enforced--you may need to use them if you create |
| 63 |
an email to fax gateway on your machine! |
| 64 |
|
| 65 |
Dirk Husemann's more elaborate scheme is included in the contributed |
| 66 |
software; check out ../contrib/dirk. |
| 67 |
|
| 68 |
There is also the "Remote Printing Experiment" being conducted by folks |
| 69 |
on the Internet. This provides a distributed fax delivery service that |
| 70 |
uses email to relay facsimile to a local site for delivery. For info |
| 71 |
about that stuff send mail to [email protected]. |
| 72 |
|
| 73 |
Sam |