home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
comm
/
mail
/
smail
/
src
/
rcs
/
convert.man,v
< prev
next >
Wrap
Text File
|
1993-12-21
|
2KB
|
89 lines
head 1.1;
access;
symbols
C_1:1.1;
locks; strict;
comment @# @;
1.1
date 93.09.11.15.03.24; author Aussem; state Exp;
branches;
next ;
desc
@Man page for convert program
@
1.1
log
@Initial revision
@
text
@
CONVERT AmigaOS CONVERT
NAME
convert - convert the output from pathalias to smail path format
DESCRIPTION
You have to create a path file for smail. Use your maps to create
an path file via pathalias -f. This output has to piped through
convert. Use stdin as input and stdout as output. The output from
convert have to be sorted.
Use the following CShell line to create your smail path file:
pathalias -f <maps|convert|qsort >paths
MAPS FORMAT
Normally you should refer to pathalias.man. Here a short example
for my host:
---------------------- snip ----------------------------------
mavhh=mavhh.hanse.de
wolfhh=wolfhh.hanse.de
mavhh wolfhh(DAILY)
---------------------- snip ----------------------------------
My only host is wolfhh and it get all mails from me.
PATHALIAS OUTPUT
Again normally you should refer to pathalias.man.
Here the output for my maps:
---------------------- snip ----------------------------------
0 mavhh %s
5000 wolfhh wolfhh!%s
5000 wolfhh.hanse.de wolfhh!%s
---------------------- snip ----------------------------------
SMAIL PATH FORMAT
The first column is the hostname, the second the path and the
last one the cost. Please keep in mind:
YOU HAVE TO SORT THIS FILE.
If the list is not sorted, there will be strange results,
because smail/rmail uses a binary search algorithm to find the
right host in paths file.
Here my example:
---------------------- snip ----------------------------------
mavhh %s 0
wolfhh wolfhh!%s 5000
wolfhh.hanse.de wolfhh!%s 5000
---------------------- snip ----------------------------------
VERSION
$Id$
Page 1 (printed 9/05/93)
@