X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/049782c0de52a217f78116f82b3a1d69c0667458..600dc06981df5a906125f8442c36056a117412d4:/test/scripts/0000-Basic/0619 diff --git a/test/scripts/0000-Basic/0619 b/test/scripts/0000-Basic/0619 index 196b9dc0c..3715b125f 100644 --- a/test/scripts/0000-Basic/0619 +++ b/test/scripts/0000-Basic/0619 @@ -1,45 +1,69 @@ -# log_selector msg_id and msg_id_created +# domainlist match values # -# msg_id is on by default; check baseline -exim -DLOG_SELECTOR=+received_recipients -t -From: CALLER@test.ex -To: a@test.ex -Message-ID: original1235@example.com - -body +exim -bs -DOPT=: +HELO test +MAIL FROM: +RCPT TO: +QUIT **** # -# msg_id is on by default; check it can be disabled -exim -DLOG_SELECTOR=+received_recipients-msg_id -t -From: CALLER@test.ex -To: b@test.ex -Message-ID: original1235@example.com - -body +exim -bs '-DOPT=notthis : plainstring.ex : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT **** # -# check msg_id_created shows invented ones -exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t -From: CALLER@test.ex -To: c@test.ex - -body +exim -bs '-DOPT=notthis : *tail.ex : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT **** # -# check msg_id_created ignores non-invented ones -exim -DLOG_SELECTOR=+received_recipients+msg_id_created -t -From: CALLER@test.ex -To: d@test.ex -Message-ID: original1235@example.com - -body +exim -bs '-DOPT=notthis : ^.*r(e.)ex : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT **** # -# check that bounces don't log created, by default -exim -DLOG_SELECTOR=+received_recipients -M $msg1 +exim -bs '-DOPT=notthis : @ : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT **** -# and check they do with msg_id_created -exim -DLOG_SELECTOR=+received_recipients+msg_id_created -M $msg1 +# +# +exim -bs '-DOPT=notthis : @[] : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# malformed +exim -bs '-DOPT=notthis : @[] : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# malformed +exim -bs '-DOPT=notthis : @[] : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# +exim -bs '-DOPT=notthis : @mx_any/ignore=1.1.1.1 : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT **** # -no_msglog_check