3.1.39 Route
- Syntax:
route <flavour> <target> <linkWW> [<linkWW> ...]
- Example:
route crash 2:2433/1245 2:2433/* 2:2432/*
This statement defines a route.
flavour:
- hold (.hlo)
- normal (.out)
- crash (.clo)
- direct (.dlo)
- immediate (.ilo)
target:
- <addr> - mail routed to this address
- host - mail routed to zone:net/0.0 address
- hub - hub-routing does not use the hubs defined in the nodelist
but uses the nodes: addr - (addr.node %100). e.g.: a mail to node
2:2433/1245 is send to 2:2433/1200, but a mail to node 2:2433/355 is
send to 2:2433/300 which currently does not exist. BE CAREFUL!
- boss - mail routed to zone:net/node.0 address
- no-route (noroute) - direct route according to current flavour
- no-pack (nopack) - don't process this mail
linkWW is a dos pattern with ? and *.
Route statements are parsed in descending order:
Pseudo-code:
| 1) actual = first statement
2) if linkWWW = msg-destination using pattern matching
2a) take this routing and return
2b) else actual = next statement
3) jump to 2)
|
NOTE! This statement defined after "links" section.
This statement can be repeated.
This document was generated
by Pavel Andreew on August, 28 2002
using texi2html