diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0587 | 37 | ||||
-rw-r--r-- | test/log/0587 | 8 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0587 | 18 | ||||
-rw-r--r-- | test/stdout/0587 | 14 |
4 files changed, 77 insertions, 0 deletions
diff --git a/test/confs/0587 b/test/confs/0587 new file mode 100644 index 000000000..a47ca664a --- /dev/null +++ b/test/confs/0587 @@ -0,0 +1,37 @@ +# Exim test configuration 0587 + +.include DIR/aux-var/std_conf_prefix + + +# ----- Main settings ----- + +domainlist local_domains = @ + +acl_smtp_rcpt = accept +trusted_users = CALLER + + +# ----- Routers ----- + +begin routers + +dump_remote_domains: + driver = redirect + domains = ! +local_domains + data = :blackhole: + +localuser: + driver = accept + check_local_user + transport = local_delivery + + +# ----- Transports ----- + +begin transports + +local_delivery: + driver = appendfile + file = DIR/test-mail/$local_part_verified + +# End diff --git a/test/log/0587 b/test/log/0587 new file mode 100644 index 000000000..851116d27 --- /dev/null +++ b/test/log/0587 @@ -0,0 +1,8 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain U=CALLER P=local-smtp S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 => :blackhole: <b@remote> R=dump_remote_domains +1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER <CALLER@the.local.host.name> R=localuser T=local_delivery +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain U=CALLER P=local-smtp S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: <a@remote> R=dump_remote_domains +1999-03-02 09:44:33 10HmaY-0005vi-00 => CALLER <CALLER@the.local.host.name> R=localuser T=local_delivery +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed diff --git a/test/scripts/0000-Basic/0587 b/test/scripts/0000-Basic/0587 new file mode 100644 index 000000000..269cdb8b7 --- /dev/null +++ b/test/scripts/0000-Basic/0587 @@ -0,0 +1,18 @@ +# $local_part_verified, multi-rcpt message +# +exim -bs -odi +mail from:<someone@some.domain> +rcpt to:<CALLER@HOSTNAME> +rcpt to:<b@remote> +data +. +quit +**** +exim -bs -odi +mail from:<someone@some.domain> +rcpt to:<a@remote> +rcpt to:<CALLER@HOSTNAME> +data +. +quit +**** diff --git a/test/stdout/0587 b/test/stdout/0587 new file mode 100644 index 000000000..1c9455905 --- /dev/null +++ b/test/stdout/0587 @@ -0,0 +1,14 @@ +220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
+250 Accepted
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaX-0005vi-00
+221 the.local.host.name closing connection
+220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
+250 Accepted
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaY-0005vi-00
+221 the.local.host.name closing connection
|