blob: aea804b2f76434b55a0fad6de4379514742f9512 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: ./vnet.m4,v 8.12.0 2001/09/24 12:00:00 cowboy Exp $
#
# Copyright (c) 2001-2004 Richard Nelson. All Rights Reserved.
#
# feature(vnet) config file for building Sendmail
#
#-----------------------------------------------------------------------------
#
divert(0)dnl
dnl
dnl
dnl
LOCAL_CONFIG
######################################################################
### vnet: support .rscs domain and XAGENT
###
######################################################################
#
# Support routing of .rscs nodes via XAGENT
#
# Define vnet/rscs node hlq
CAvnet.ibm.com vnet rscs ipnet
#
# Note: you'll have to define your XAGENT node:
#DAlexvmk.lexington.ibm.com
######################################################################
dnl
dnl
dnl
LOCAL_RULE_3
######################################################################
### vnet: support .rscs domain, XAGENT, and Lotus Notes
###
######################################################################
#
# Support Lotus Notes and VM TCP/IP MTAs
#
# Remove stupid route addressing (%hack) added by VM TCP/IP
R$* % ibmus.rscs < @ $+> $* $: $1 < @ us.ibm.com > $3 # Deprecated
R$* % ibmca.rscs < @ $+> $* $: $1 < @ ca.ibm.com > $3 # Deprecated
R$* % ibmuk.rscs < @ $+> $* $: $1 < @ uk.ibm.com > $3 # Deprecated
R$* % $-.rscs < @ $+> $* $: $1 < @ $2.rscs > $4 # Deprecated
# Now, rewrite those address to user@<node>.vnet
R$* < @ $-.$=A > $* $: $1 < @ $2.vnet . >
# Now, try the domaintable yet again...
#R$* < @ $-.vnet > $* $: $1 < @ $(domaintable $2.vnet $) > $3
# Finally, allow an override on simply the rscs domain...
#R$* < @ $-.vnet > $* $: $1 < @ $2.$(domaintable vnet $) > $3
######################################################################
dnl
dnl
dnl
LOCAL_NET_CONFIG
######################################################################
### vnet: Handle .rscs domain, deliver to *.ibm.com, etc...
###
######################################################################
# Skip any local addresses
# (or we'll get a "mail loops back to itself" error
R$* < @ $=w . > $* $@ $1 < @ $2 . > $3 regular local name
R$* < @ $=w > $* $@ $1 < @ $2 . > $3 regular local name
# Recipients of the form user@node.{vnet,rscs,ipnet} get rewritten to
# user@node.vnet, the message itself is forwarded to
# the VM TCP/IP to RSCS gateway node specified in $A.
R$* < @ $- . vnet . > $* $#relay $@ $A $: $1 < @$2.VNET. > $3
# Recipients inside IBM--transfer the mail directly.
R$* < @ $+.ibm.com > $* $#relay $@ $2.ibm.com $: $1 < @$2.ibm.com > $3
R$* < @ $+.ibm.com. > $* $#relay $@ $2.ibm.com $: $1 < @$2.ibm.com > $3
######################################################################
LOCAL_CONFIG
|