summaryrefslogtreecommitdiffstats
path: root/src/smtp/smtp_map11.in
blob: 242859fcfdacc95fcbe1f5ec807234e9f23430d4 (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
# Table with external-form mapping.
maps inline:{
    { foo@example.com = bar@com.example }
    { bar@example.com = bar }
    { baz@example.com = @com.example }
    { splitme@example.com = "split me"@com.example } }

# Tests for external form.
external foo@example.com:bar@com.example
external bar@example.com:bar@localdomain
external baz@example.com:baz@com.example
external foo@example.net
external splitme@example.com:"split me"@com.example
external splitme+ext@example.com:"split me+ext"@com.example
external "baz+first last"@example.com:"baz+first last"@com.example

# Same tests for tree form.
tree foo@example.com:bar@com.example
tree bar@example.com:bar@localdomain
tree baz@example.com:baz@com.example
tree foo@example.net
tree splitme@example.com:"split me"@com.example
tree splitme+ext@example.com:"split me+ext"@com.example
tree "baz+first last"@example.com:"baz+first last"@com.example

# Same tests for internal form.
internal foo@example.com:bar@com.example
internal bar@example.com:bar@localdomain
internal baz@example.com:baz@com.example
internal foo@example.net
internal splitme@example.com:split me@com.example
internal splitme+ext@example.com:split me+ext@com.example
internal baz+first last@example.com:baz+first last@com.example