diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-07-18 22:59:14 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-07-18 22:59:14 +0100 |
commit | 8c34c611e07d3678920b9f13ba2ae627eb0255e9 (patch) | |
tree | 1c6c372f177fbf4e69f3f910d3797756482b1a41 /test | |
parent | 946515bfe62796f6c0d6554e9e1e227f33253e7c (diff) |
I18N: reject SMTPUTF8 MAIL command when facility not advertised
Diffstat (limited to 'test')
-rw-r--r-- | test/log/4201 | 1 | ||||
-rw-r--r-- | test/scripts/4200-International/4201 | 21 | ||||
-rw-r--r-- | test/stdout/4201 | 21 |
3 files changed, 43 insertions, 0 deletions
diff --git a/test/log/4201 b/test/log/4201 index 6b7c6ac97..7b299c06a 100644 --- a/test/log/4201 +++ b/test/log/4201 @@ -18,3 +18,4 @@ 1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: <usery@test.ex> R=localuser 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qqff +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 diff --git a/test/scripts/4200-International/4201 b/test/scripts/4200-International/4201 index fc9a50741..5a591fdea 100644 --- a/test/scripts/4200-International/4201 +++ b/test/scripts/4200-International/4201 @@ -84,4 +84,25 @@ QUIT killdaemon exim -DSERVER=server -DNOTDAEMON -qqff **** +# +# +# Attempt to use when not advertised +exim -DSERVER=server -DOPTION=: -bd -oX PORT_D +**** +client 127.0.0.1 PORT_D +??? 220 +EHLO client +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250 HELP +MAIL FROM: <someone@some.domain> SMTPUTF8 +??? 501 +QUIT +??? 221 +**** +killdaemon +# +# no_msglog_check diff --git a/test/stdout/4201 b/test/stdout/4201 index 08f6f1145..9c95da74e 100644 --- a/test/stdout/4201 +++ b/test/stdout/4201 @@ -95,3 +95,24 @@ End of script 354 Enter message, ending with "." on a line by itself
250 OK id=10HmaX-0005vi-00
221 the.local.host.name closing connection
+Connecting to 127.0.0.1 port 1225 ... connected +??? 220 +<<< 220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +>>> EHLO client +??? 250- +<<< 250-the.local.host.name Hello client [127.0.0.1] +??? 250-SIZE +<<< 250-SIZE 52428800 +??? 250-8BITMIME +<<< 250-8BITMIME +??? 250-PIPELINING +<<< 250-PIPELINING +??? 250 HELP +<<< 250 HELP +>>> MAIL FROM: <someone@some.domain> SMTPUTF8 +??? 501 +<<< 501 SMTPUTF8 used when not advertised +>>> QUIT +??? 221 +<<< 221 the.local.host.name closing connection +End of script |