# 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
