diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-12-16 15:02:48 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-12-16 15:02:48 +0000 |
commit | ed65a028cac9fff619338be84bef3643cc06ae06 (patch) | |
tree | 268234ad9cc99544cdc5da884b6b6c7fcabad104 /test/scripts/3400-plaintext | |
parent | b770cfbe910d8819891d4e1c0338d94c031e0cc9 (diff) |
Testsuite: move testcase (requires plaintext authenticator)exim-4_85_RC3
Diffstat (limited to 'test/scripts/3400-plaintext')
-rw-r--r-- | test/scripts/3400-plaintext/3416 | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/test/scripts/3400-plaintext/3416 b/test/scripts/3400-plaintext/3416 new file mode 100644 index 000000000..2aa86f45d --- /dev/null +++ b/test/scripts/3400-plaintext/3416 @@ -0,0 +1,76 @@ +# Recipient callout with AUTH +need_ipv4 +# +# Variant 1: using authenticated_sender on the transport. +server PORT_S 1 +220 Welcome +EHLO +250-wotcher mate +250-AUTH PLAIN +250 Hi +AUTH +250 Oh alright then +MAIL FROM +250 OK +RCPT TO +250 OK +QUIT +250 OK +**** +exim -odq -bs +EHLO the.client +mail from:<> +RCPT TO:<abc@force> +quit +**** +# +# +# Variant 2: Passing through an authenticated_sender from the MAIL FROM: +server PORT_S 1 +220 Welcome +EHLO +250-wotcher mate +250-AUTH PLAIN +250 Hi +AUTH +250 Oh alright then +MAIL FROM +250 OK +RCPT TO +250 OK +QUIT +250 OK +**** +exim -odq -bs +EHLO the.client +AUTH PLAIN AHVzZXJ4AHNlY3JldA== +mail from:<> AUTH=freddy +RCPT TO:<abc@normal> +quit +**** +# +# +# Variant 3: An authenticated_sender option on the transport should override +# a value set by the MAIL FROM: +server PORT_S 1 +220 Welcome +EHLO +250-wotcher mate +250-AUTH PLAIN +250 Hi +AUTH +250 Oh alright then +MAIL FROM +250 OK +RCPT TO +250 OK +QUIT +250 OK +**** +exim -odq -bs +EHLO the.client +AUTH PLAIN AHVzZXJ4AHNlY3JldA== +mail from:<> AUTH=freddy +RCPT TO:<def@force> +quit +**** |