|
|
1.1 root 1: divert(10)
2: #
3: # Sendmail
4: # Copyright (c) 1983 Eric P. Allman
5: # Berkeley, California
6: #
7: # Copyright (c) 1983 Regents of the University of California.
8: # All rights reserved. The Berkeley software License Agreement
9: # specifies the terms and conditions for redistribution.
10: #
11: # @(#)postwriterule.m4 1.4 (Berkeley) 12/9/85
12: #
13: divert(0)
14: #################################
15: # Final Output Post-rewriting #
16: #################################
17: S4
18:
19: R@ $@ handle <> error addr
20:
21: # resolve numeric addresses to name if possible
22: R$*<@[$+]>$* $:$1<@$[[$2]$]>$3 lookup numeric internet addr
23:
24: # externalize local domain info
25: R$*<@LOCAL> $@$1@$w
26: R$*<$*LOCAL>$* $1<$2$D>$3 change local info
27: R$*<$*LOCAL.ARPA>$* $1<$2$D>$3 change local info
28: R$*<$+>$* $1$2$3 defocus
29: R@$+:@$+:$+ @$1,@$2:$3 <route-addr> canonical
30:
31: # UUCP must always be presented in old form (with domains, leave the ".uucp")
32: R$+@$-.UUCP $2!$1 [email protected] => h!u
33: R$+@$-.$-.UUCP $2.$3.uucp!$1 [email protected] => h!u
34: R$+@$-.$-.$-.UUCP $2.$3.$4.uucp!$1 [email protected] => h!u
35: R$+@$-.$-.$-.$-.UUCP $2.$3.$4.$5.uucp!$1 [email protected] => h!u
36: R$+@$-.$-.$-.$-.$-.UUCP $2.$3.$4.$5.$6.uucp!$1 [email protected] => h!u
37:
38: # delete duplicate local names -- mostly for arpaproto.mc
39: R$+%$=w@$=w $1@$w u%UCB@UCB => u@UCB
40: R$+%$=w@$=w.ARPA $1@$w u%UCB@UCB => u@UCB
41:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.