|
|
1.1 root 1: divert(10)
2: #
3: # Copyright (c) 1983 Eric P. Allman
4: # Copyright (c) 1988 The Regents of the University of California.
5: # All rights reserved.
6: #
7: # Redistribution and use in source and binary forms are permitted
8: # provided that the above copyright notice and this paragraph are
9: # duplicated in all such forms and that any documentation,
10: # advertising materials, and other materials related to such
11: # distribution and use acknowledge that the software was developed
12: # by the University of California, Berkeley. The name of the
13: # University may not be used to endorse or promote products derived
14: # from this software without specific prior written permission.
15: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17: # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18: #
19: # @(#)postwriterule.m4 1.9 (Berkeley) 2/15/89
20: #
21: divert(0)
22: #################################
23: # Final Output Post-rewriting #
24: #################################
25: S4
26:
27: R@ $@ handle <> error addr
28:
29: # resolve numeric addresses to name if possible
30: R$*<@[$+]>$* $:$1<@$[[$2]$]>$3 lookup numeric internet addr
31:
32: # externalize local domain info
33: R$*<$+>$* $1$2$3 defocus
34: R@$+:@$+:$+ @$1,@$2:$3 <route-addr> canonical
35:
36: # UUCP must always be presented in old form
37: R$+@$-.UUCP $2!$1 [email protected] => h!u
38:
39: # delete duplicate local names
40: R$+%$=w@$=w $1@$w u%host@host => u@host
41: R$+%$=w@$=w.$D $1@$w u%host@host => u@host
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.