X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/7c498df16cbb3d35eb8df3668ec426388f0dc974..96d16729c2267491424478e623a492acaec6b35e:/test/scripts/0000-Basic/0583?ds=inline diff --git a/test/scripts/0000-Basic/0583 b/test/scripts/0000-Basic/0583 index c4ae477c1..8cea367eb 100644 --- a/test/scripts/0000-Basic/0583 +++ b/test/scripts/0000-Basic/0583 @@ -1,65 +1,44 @@ -# verify = not_blind/case_insensitive +# verify quota at smtp time # -# Accept: the env rcpt matches a header To: -exim -odq -bs -mail from:<> -rcpt to: -data -To: a@b.c, himself -. -quit +exim -bd -DSERVER=server -oX PORT_D **** -### Reject: no match -exim -odq -bs -mail from:<> -rcpt to: -data -To: b@b.c, himself -. -quit +client 127.0.0.1 PORT_D +??? 220 +EHLO test +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250 HELP +MAIL FROM:\r\nRCPT TO: +??? 250 +??? 250 +RSET +??? 250 +MAIL FROM: SIZE=2048\r\nRCPT TO: +??? 250 +??? 550 +RSET +??? 250 +MAIL FROM:\r\nRCPT TO: +??? 250 +??? 550 +RSET +??? 250 +MAIL FROM:\r\nRCPT TO: +??? 250 +??? 250 +RSET +??? 250 +MAIL FROM: SIZE=512\r\nRCPT TO: +??? 250 +??? 550 +RSET +??? 250 +MAIL FROM:\r\nRCPT TO: +??? 250 +??? 550 +QUIT **** -### Reject, with specific SMTP message -exim -DERROR_DETAILS=smtp_return_error_details -odq -bs -mail from:<> -rcpt to: -data -To: c@b.c, himself -. -quit -**** -### Accept, matches in header CC: -exim -odq -bs -mail from:<> -rcpt to: -rcpt to: -data -To: d@b.c, himself -Cc: unqualified, UserX@dom.com, x@y.z -. -quit -**** -### Reject: To: & CC: combo, an env rcpt missing -exim -odq -bs -mail from:<> -rcpt to: -rcpt to: -rcpt to: -data -To: e@b.c, himself -Cc: unqualified, UserX@dom.com, x@y.z -. -quit -**** -### Accept: Resent-To: & Resent-CC: combo -exim -odq -bs -mail from:<> -rcpt to: -rcpt to: -data -Resent-To: f@b.c, himself -Resent-Cc: unqualified, UserX@dom.com, x@y.z -To: an@other -. -quit -**** -no_msglog_check +# +killdaemon