X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/181d9bf8a602a2573d566427803a4c5288a56008..7b5fe03f9c6c2a322dc385ab78b60ccfe1fe33fe:/test/scripts/0000-Basic/0227 diff --git a/test/scripts/0000-Basic/0227 b/test/scripts/0000-Basic/0227 index 59adba788..e7b6d1ee9 100644 --- a/test/scripts/0000-Basic/0227 +++ b/test/scripts/0000-Basic/0227 @@ -12,12 +12,16 @@ RCPT TO QUIT 250 OK **** +# sender sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT **** +# sender, no callout sudo exim -v -bs -oMa V4NET.0.0.2 +HELO test MAIL FROM: RCPT TO: QUIT @@ -33,7 +37,9 @@ RCPT TO QUIT 250 OK **** +# sender, refused sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT @@ -49,7 +55,9 @@ RCPT TO QUIT 250 OK **** +# sender, tmperr sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT @@ -63,7 +71,9 @@ MAIL FROM QUIT 250 OK **** +# sender, err on mailfrom sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT @@ -78,7 +88,9 @@ MAIL FROM QUIT 250 OK **** +# sender, multiline err on mailfrom sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT @@ -88,13 +100,31 @@ server PORT_S EHLO 250 OK MAIL FROM +550 Bad-char error for <> topbitchar:\x80\xFF\xFF +QUIT +250 OK +**** +# sender, err on mailfrom, with bad char +sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +server PORT_S +220 Server ready +EHLO +250 OK +MAIL FROM 250 OK RCPT TO 550 Recipient not liked QUIT 250 OK **** +# recipient, refused sudo exim -v -bs -oMa V4NET.0.0.3 +HELO test MAIL FROM: RCPT TO: QUIT @@ -111,12 +141,34 @@ RCPT TO QUIT 250 OK **** +# recipient, refused +sudo exim -v -bs -oMa V4NET.0.0.3 +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +server PORT_S +220 Server ready +EHLO +250 OK +MAIL FROM +250 OK +RCPT TO +550 Recipient not liked, with bad char:\x80\xFF\xFF +QUIT +250 OK +**** +# recipient, refused, badchar in resp sudo exim -v -bs -oMa V4NET.0.0.3 +HELO test MAIL FROM: RCPT TO: QUIT **** +# recipient, no conneect sudo exim -v -bs -oMa V4NET.0.0.3 +HELO test MAIL FROM: RCPT TO: QUIT @@ -133,6 +185,7 @@ QUIT 250 OK **** sudo exim -v -bs -oMa V4NET.0.0.4 +HELO test MAIL FROM: RCPT TO: DATA @@ -152,6 +205,7 @@ QUIT 250 OK **** sudo exim -v -bs -oMa V4NET.0.0.4 +HELO test MAIL FROM: RCPT TO: DATA @@ -177,6 +231,7 @@ QUIT 250 OK **** sudo exim -v -bs -oMa V4NET.0.0.5 +HELO test MAIL FROM: RCPT TO: QUIT @@ -199,10 +254,103 @@ QUIT 250 OK **** sudo exim -v -bs -oMa V4NET.0.0.5 +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +server PORT_S +220 Server ready +EHLO +250- wotcher sverifier +250-SIZE +250 OK +MAIL FROM:<> +250 OK +RCPT TO +250 OK +QUIT +250 OK +**** +# sender, size known, tgt supports sixe +sudo exim -v -bs -oMa V4NET.0.0.6 +EHLO me +MAIL FROM: SIZE=420000 +RCPT TO: +QUIT +**** +# +server PORT_S +220 Server ready +EHLO +250- wotcher rverifier +250-SIZE +250 OK +MAIL FROM:<> SIZE= +250 OK +RCPT TO +250 OK +QUIT +250 OK +**** +# receipient, size known, tgt supports size +sudo exim -v -bs -oMa V4NET.0.0.3 +EHLO me +MAIL FROM: SIZE=420000 +RCPT TO: +QUIT +**** +# +server PORT_S +220 Server ready +EHLO +250- wotcher rverifier +250-SIZE +250 OK +MAIL FROM:<> +250 OK +RCPT TO +250 OK +QUIT +250 OK +**** +# receipient, size unknown, tgt supports size +sudo exim -v -bs -oMa V4NET.0.0.3 +EHLO me MAIL FROM: RCPT TO: QUIT **** +# +server PORT_S +220 Server ready +EHLO +250- wotcher rverifier +250-SIZE +250 OK +MAIL FROM: +250 OK +RCPT TO: SIZE= +250 OK +RCPT TO: +250 OK +QUIT +250 OK +**** +# receipient, size known, tgt supports size, use_sender, w/random +# stdout should see SIZE on the main but not on the random receipient's MAIL FROM +sudo exim -v -bs -oMa V4NET.0.0.7 +EHLO me +MAIL FROM: SIZE=420000 +RCPT TO: +QUIT +**** +# server PORT_S 220 Server ready LHLO @@ -215,6 +363,7 @@ QUIT 250 OK **** sudo exim -v -bs -oMa V4NET.0.0.3 +HELO test MAIL FROM: RCPT TO: QUIT @@ -222,11 +371,13 @@ QUIT server PORT_S **** sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT **** sudo exim -v -bs -oMa V4NET.0.0.1 +HELO test MAIL FROM: RCPT TO: QUIT