[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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:

  1. hold (.hlo)
  2. normal (.out)
  3. crash (.clo)
  4. direct (.dlo)
  5. immediate (.ilo)

target:

  1. <addr> - mail routed to this address
  2. host - mail routed to zone:net/0.0 address
  3. 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!
  4. boss - mail routed to zone:net/node.0 address
  5. no-route (noroute) - direct route according to current flavour
  6. 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