From ca86f471bf30f4630e96e24f6c13de269f380f41 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Tue, 20 Feb 2007 11:37:16 +0000 Subject: $smtp_command and $smtp_command_argument were incomplete for MAIL commands with extra options such as SIZE. --- test/stderr/0021 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/stderr/0021') diff --git a/test/stderr/0021 b/test/stderr/0021 index c1ebc4d0c..70391fd12 100644 --- a/test/stderr/0021 +++ b/test/stderr/0021 @@ -58,9 +58,10 @@ check verify = sender ok in "!bad"? yes (end of list) ----------- end verify ------------ sender ok@test1 verified ok -check logwrite = :main,reject: mail accepted +check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" + = :main,reject: mail accepted "mail from:" "" LOG: MAIN REJECT - mail accepted + mail accepted "mail from:" "" accept: condition test succeeded using ACL "rcpt" processing "accept" @@ -142,9 +143,10 @@ check verify = sender ok in "!bad"? yes (end of list) ----------- end verify ------------ sender ok@test3 verified ok -check logwrite = :main,reject: mail accepted +check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" + = :main,reject: mail accepted "mail from:" "" LOG: MAIN REJECT - mail accepted + mail accepted "mail from:" "" accept: condition test succeeded using ACL "rcpt" processing "accept" @@ -184,3 +186,5 @@ LOG: MAIN LOG: smtp_connection MAIN SMTP connection from CALLER closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> +1999-03-02 09:44:33 ACL "warn" with "message" setting found in a non-message (EHLO or HELO) ACL: cannot specify header lines here: message ignored +1999-03-02 09:44:33 rcpt accepted -- cgit v1.2.3