X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/da45993f49e890de3642db3f4c8bddbdb5302277..6f6dedccb47f231a0712d882da20feffbac8d0bc:/test/scripts/0000-Basic/0568 diff --git a/test/scripts/0000-Basic/0568 b/test/scripts/0000-Basic/0568 index 2aa86f45d..a660f6805 100644 --- a/test/scripts/0000-Basic/0568 +++ b/test/scripts/0000-Basic/0568 @@ -1,76 +1,38 @@ -# 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: -quit -**** +# ACL regex= test # +# These tests are copies from testcase 4000; +# they should be removed from there but I don't +# run spamassassin so can't verify the change. # -# 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: +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +From: Test person +To: Me +Subject: A real test message +Date: Fri, 17 Dec 2004 16:13:04 +0100 +Message-ID: <41C2F849.3060203@projectile.test.ex> + +OK, this should look like a genuine message. +. 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: +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +From: Test person +To: Me +Subject: A real test message +Date: Fri, 17 Dec 2004 16:13:04 +0100 +Message-ID: <41C2F849.3060203@projectile.test.ex> +FakeReject: test fakereject + +OK, this should look like a genuine message, but +it will trip on THIS gazornenplaz REGEX. +. quit ****