diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0024 | 9 | ||||
-rw-r--r-- | test/log/0024 | 1 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0024 | 2 | ||||
-rw-r--r-- | test/stdout/0024 | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/test/confs/0024 b/test/confs/0024 index 30e5636e9..fac5e12a5 100644 --- a/test/confs/0024 +++ b/test/confs/0024 @@ -27,6 +27,10 @@ acl_rcpt: require verify = sender + deny domains = +local_domains + local_parts = ^[.] : ^.*[@%!/|] + message = Restricted characters in address + deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text dnslists = rbl.test.ex @@ -59,6 +63,11 @@ r1: transport = dev_null no_more +redir: + driver = redirect + local_parts = føø + data = userx + r2: driver = accept local_parts = userx : postmaster diff --git a/test/log/0024 b/test/log/0024 index 2b86df308..60ddc65a7 100644 --- a/test/log/0024 +++ b/test/log/0024 @@ -9,6 +9,7 @@ 1999-03-02 09:44:33 H=[V4NET.0.0.0] U=CALLER F=<userx@test.ex> rejected RCPT <x@y>: Unrouteable address 1999-03-02 09:44:33 H=[V4NET.0.0.0] U=CALLER F=<userx@test.ex> rejected RCPT <x@ten-2.test.ex>: relay not permitted 1999-03-02 09:44:33 10HmaY-0005vi-00 <= userx@test.ex H=[V4NET.0.0.0] U=CALLER P=smtp S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 => userx@myhost.test.ex <føø@test.ex> R=r1 T=dev_null H=myhost.test.ex 1999-03-02 09:44:33 10HmaY-0005vi-00 => postmaster <postmaster@test.ex> R=r2 T=local_delivery 1999-03-02 09:44:33 10HmaY-0005vi-00 => userx <userx@test.ex> R=r2 T=local_delivery 1999-03-02 09:44:33 10HmaY-0005vi-00 => x@ten-1.test.ex R=r1 T=dev_null H=ten-1.test.ex diff --git a/test/scripts/0000-Basic/0024 b/test/scripts/0000-Basic/0024 index ca6a2b4a0..e0cdc556b 100644 --- a/test/scripts/0000-Basic/0024 +++ b/test/scripts/0000-Basic/0024 @@ -25,6 +25,7 @@ quit # deny x@y (bad address) # accept x@ten-1.test.ex (good relay address) # deny x@ten-2.test.ex (good address, but not relay domain or host) +# accept EAI local part exim -odi -oMa V4NET.0.0.0 -bs mail from:<userx@test.ex> rcpt to:<postmaster@test.ex> @@ -32,6 +33,7 @@ rcpt to:<userx@test.ex> rcpt to:<x@y> rcpt to:<x@ten-1.test.ex> rcpt to:<x@ten-2.test.ex> +rcpt to:<føø@test.ex> data Message 2 . diff --git a/test/stdout/0024 b/test/stdout/0024 index 4f340798b..d82af4d8c 100644 --- a/test/stdout/0024 +++ b/test/stdout/0024 @@ -17,6 +17,7 @@ 550 Unrouteable address
250 Accepted
550 relay not permitted
+250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=10HmaY-0005vi-00
221 myhost.test.ex closing connection
|