X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/59371ea735c941334861aa5b8e1e9a06facf044f..dc46d79f6c3b958036358dfd6c75b7bdc8471835:/test/scripts/0000-Basic/0227?ds=inline diff --git a/test/scripts/0000-Basic/0227 b/test/scripts/0000-Basic/0227 index 62832e012..ac7bcb05c 100644 --- a/test/scripts/0000-Basic/0227 +++ b/test/scripts/0000-Basic/0227 @@ -1,9 +1,9 @@ -# callout verification (no caching) +# callout verification (no caching) and $router_name need_ipv4 # server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -12,11 +12,13 @@ RCPT TO QUIT 250 OK **** +# sender sudo exim -v -bs -oMa V4NET.0.0.1 MAIL FROM: RCPT TO: QUIT **** +# sender, no callout sudo exim -v -bs -oMa V4NET.0.0.2 MAIL FROM: RCPT TO: @@ -24,7 +26,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -33,6 +35,7 @@ RCPT TO QUIT 250 OK **** +# sender, refused sudo exim -v -bs -oMa V4NET.0.0.1 MAIL FROM: RCPT TO: @@ -40,7 +43,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -49,6 +52,7 @@ RCPT TO QUIT 250 OK **** +# sender, tmperr sudo exim -v -bs -oMa V4NET.0.0.1 MAIL FROM: RCPT TO: @@ -56,13 +60,14 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 550 Error for <> QUIT 250 OK **** +# sender, err on mailfrom sudo exim -v -bs -oMa V4NET.0.0.1 MAIL FROM: RCPT TO: @@ -70,7 +75,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 550-Multiline error for <> @@ -78,6 +83,7 @@ MAIL FROM QUIT 250 OK **** +# sender, multiline err on mailfrom sudo exim -v -bs -oMa V4NET.0.0.1 MAIL FROM: RCPT TO: @@ -85,7 +91,22 @@ QUIT **** server PORT_S 220 Server ready -HELO +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 +MAIL FROM: +RCPT TO: +QUIT +**** +server PORT_S +220 Server ready +EHLO 250 OK MAIL FROM 250 OK @@ -94,6 +115,7 @@ RCPT TO QUIT 250 OK **** +# recipient, refused sudo exim -v -bs -oMa V4NET.0.0.3 MAIL FROM: RCPT TO: @@ -101,7 +123,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -111,11 +133,30 @@ RCPT TO QUIT 250 OK **** +# recipient, refused sudo exim -v -bs -oMa V4NET.0.0.3 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 +MAIL FROM: +RCPT TO: +QUIT +**** +# recipient, no conneect sudo exim -v -bs -oMa V4NET.0.0.3 MAIL FROM: RCPT TO: @@ -123,7 +164,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -142,7 +183,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -161,7 +202,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -183,7 +224,7 @@ QUIT **** server PORT_S 220 Server ready -HELO +EHLO 250 OK MAIL FROM 250 OK @@ -203,6 +244,98 @@ 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