summaryrefslogtreecommitdiff
path: root/test/scripts/5100-lmtp-transport
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/5100-lmtp-transport')
-rw-r--r--test/scripts/5100-lmtp-transport/510039
-rw-r--r--test/scripts/5100-lmtp-transport/51018
-rw-r--r--test/scripts/5100-lmtp-transport/510277
-rw-r--r--test/scripts/5100-lmtp-transport/51038
-rw-r--r--test/scripts/5100-lmtp-transport/REQUIRES1
5 files changed, 133 insertions, 0 deletions
diff --git a/test/scripts/5100-lmtp-transport/5100 b/test/scripts/5100-lmtp-transport/5100
new file mode 100644
index 000000000..224943d44
--- /dev/null
+++ b/test/scripts/5100-lmtp-transport/5100
@@ -0,0 +1,39 @@
+# LMTP over a pipe (using lmtp transport)
+exim -odi userx
+script: 01
+This is a test message.
+****
+exim -odi userx
+script: 02
+This is a test message.
+****
+exim -odi userx
+script: 03
+This is a test message.
+****
+exim -odi userx
+script: 04
+This is a test message.
+****
+exim -odi userx jack jill tom dick harry
+script: 05
+This is a test message.
+****
+dump retry
+exim -odi userx jack jill tom dick harry
+script: 06
+This is a test message.
+****
+exim -odi userx jack jill tom dick harry
+script: 07
+This is a test message.
+****
+exim -odi -DIGNORE_QUOTA=true jack jill
+script: 08
+This is a test message.
+****
+exim -odi -DIGNORE_QUOTA=true jack jill
+script: 09
+This is a test message.
+****
+no_msglog_check
diff --git a/test/scripts/5100-lmtp-transport/5101 b/test/scripts/5100-lmtp-transport/5101
new file mode 100644
index 000000000..45a69abcd
--- /dev/null
+++ b/test/scripts/5100-lmtp-transport/5101
@@ -0,0 +1,8 @@
+# LMTP and transport filter and shadow transport
+exim -odi userx jack jill
+mailbox: copied
+This is a test message.
+****
+exim -odi userx jack jill
+This is another test message.
+****
diff --git a/test/scripts/5100-lmtp-transport/5102 b/test/scripts/5100-lmtp-transport/5102
new file mode 100644
index 000000000..a12e3164d
--- /dev/null
+++ b/test/scripts/5100-lmtp-transport/5102
@@ -0,0 +1,77 @@
+# LMTP over a socket (using lmtp transport)
+need_ipv4
+#
+server DIR/test.socket
+220
+LHLO
+220 OK
+MAIL
+250 OK
+RCPT
+250 OK
+DATA
+334 send more
+.
+250 OK
+QUIT
+250 OK
+****
+exim -odi userx
+This is a test message.
+****
+server DIR/test.socket
+*sleep 3
+****
+exim -odi userx
+This is a test message.
+****
+server DIR/test.socket
+440 Sorry, there's a problem here
+****
+exim -qf
+****
+server DIR/test.socket
+220 Welcome to this LMTP simulation
+LHLO
+250-Hello there
+250 SIZE
+MAIL FROM
+550 Don't like that sender
+QUIT
+250 OK
+****
+exim -qf
+****
+server DIR/test.socket
+220 Welcome to this LMTP simulation
+LHLO
+250-Hello there
+250 SIZE
+MAIL FROM
+250 OK
+RCPT TO
+250 OK
+RCPT TO
+250 OK
+RCPT TO
+250 OK
+RCPT TO
+450 This one is delayed on RCPT
+RCPT TO
+550 This one is unknown on RCPT
+RCPT TO
+250 OK
+DATA
+354 Send it
+.
+250 Number 1 is OK
+450 Number 2 is now delayed
+550 Number 3 is now rejected
+250 Number 6 is OK
+QUIT
+250 OK
+****
+exim -odi lp1 lp2 lp3 lp4 lp5 lp6
+This is a test message
+****
+no_msglog_check
diff --git a/test/scripts/5100-lmtp-transport/5103 b/test/scripts/5100-lmtp-transport/5103
new file mode 100644
index 000000000..3d7ace50f
--- /dev/null
+++ b/test/scripts/5100-lmtp-transport/5103
@@ -0,0 +1,8 @@
+# transport filter command fails to execute
+need_ipv4
+#
+exim -odi userx
+transport: t1
+Test 1
+****
+no_msglog_check
diff --git a/test/scripts/5100-lmtp-transport/REQUIRES b/test/scripts/5100-lmtp-transport/REQUIRES
new file mode 100644
index 000000000..2b68349b0
--- /dev/null
+++ b/test/scripts/5100-lmtp-transport/REQUIRES
@@ -0,0 +1 @@
+transport lmtp