git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hintsdb sqlite: use transaction rather than file lock
[exim.git]
/
test
/
scripts
/
0000-Basic
/
0376
diff --git
a/test/scripts/0000-Basic/0376
b/test/scripts/0000-Basic/0376
index 7430a6bcea0ec153222f9c27eefb7c97fceee830..d6107e0461e49e0a8f3baf90506da09440113fd8 100644
(file)
--- a/
test/scripts/0000-Basic/0376
+++ b/
test/scripts/0000-Basic/0376
@@
-3,7
+3,7
@@
need_ipv4
#
server PORT_S
220 Server ready
#
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-13,11
+13,13
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
@@
-26,6
+28,7
@@
QUIT
sleep 2
# Should want to connect, but fail
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
sleep 2
# Should want to connect, but fail
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
@@
-33,7
+36,7
@@
QUIT
# Test unsuccessful caching
server PORT_S
220 Server ready
# Test unsuccessful caching
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-43,11
+46,13
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<bad@localhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
MAIL FROM:<bad@localhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<bad@localhost>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<bad@localhost>
RCPT TO:<z@test.ex>
QUIT
@@
-55,7
+60,7
@@
QUIT
# Test caching of rejection of MAIL FROM:<>
server PORT_S
220 Server ready
# Test caching of rejection of MAIL FROM:<>
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
550 REJECT MAIL FROM
250 OK
MAIL FROM
550 REJECT MAIL FROM
@@
-63,11
+68,13
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.1
+HELO test
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
@@
-75,7
+82,7
@@
QUIT
# Test caching of rejection of postmaster
server PORT_S
220 Server ready
# Test caching of rejection of postmaster
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-91,11
+98,13
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
+HELO test
MAIL FROM:<ok@otherhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
MAIL FROM:<ok@otherhost>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
+HELO test
MAIL FROM:<ok@otherhost>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@otherhost>
RCPT TO:<z@test.ex>
QUIT
@@
-103,7
+112,7
@@
QUIT
# Test caching of accepting of postmaster
server PORT_S
220 Server ready
# Test caching of accepting of postmaster
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-119,11
+128,13
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
+HELO test
MAIL FROM:<ok@otherhost2>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
MAIL FROM:<ok@otherhost2>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
+HELO test
MAIL FROM:<ok@otherhost2>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@otherhost2>
RCPT TO:<z@test.ex>
QUIT
@@
-131,21
+142,23
@@
QUIT
# Test caching of accepting a random address
server PORT_S
220 Server ready
# Test caching of accepting a random address
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
-RCPT TO
+RCPT TO
:<myhost.test.ex-
250 OK
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
250 OK
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
+HELO test
MAIL FROM:<ok@otherhost3>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
MAIL FROM:<ok@otherhost3>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
+HELO test
MAIL FROM:<otherok@otherhost3>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<otherok@otherhost3>
RCPT TO:<z@test.ex>
QUIT
@@
-153,21
+166,23
@@
QUIT
# Test caching of accepting a random address and postmaster
server PORT_S
220 Server ready
# Test caching of accepting a random address and postmaster
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
-RCPT TO
+RCPT TO
:<myhost.test.ex-
250 OK
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
250 OK
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
+HELO test
MAIL FROM:<ok@otherhost4>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
MAIL FROM:<ok@otherhost4>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
+HELO test
MAIL FROM:<ok@otherhost4>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@otherhost4>
RCPT TO:<z@test.ex>
QUIT
@@
-175,33
+190,35
@@
QUIT
# Test caching of rejecting a random address and postmaster
server PORT_S
220 Server ready
# Test caching of rejecting a random address and postmaster
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
250 OK
-MAIL FROM
+MAIL FROM
:<>
250 OK
250 OK
-RCPT TO
+RCPT TO
:<myhost.test.ex-
550 NOT OK
RSET
250 OK
550 NOT OK
RSET
250 OK
-MAIL FROM
+MAIL FROM
:<>
250 OK
250 OK
-RCPT TO
+RCPT TO
:<ok@otherhost41>
250 OK
RSET
250 OK
250 OK
RSET
250 OK
-MAIL FROM
+MAIL FROM
:<>
250 OK
250 OK
-RCPT TO
+RCPT TO
:<postmaster@otherhost41>
250 OK
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
250 OK
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
+HELO test
MAIL FROM:<ok@otherhost41>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
MAIL FROM:<ok@otherhost41>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.4
+HELO test
MAIL FROM:<ok@otherhost41>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@otherhost41>
RCPT TO:<z@test.ex>
QUIT
@@
-210,7
+227,7
@@
QUIT
# address has to be tested
server PORT_S
220 Server ready
# address has to be tested
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-226,13
+243,14
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
+HELO test
MAIL FROM:<ok@otherhost21>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
MAIL FROM:<ok@otherhost21>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-242,6
+260,7
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.2
+HELO test
MAIL FROM:<ok2@otherhost21>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok2@otherhost21>
RCPT TO:<z@test.ex>
QUIT
@@
-249,7
+268,7
@@
QUIT
# Test caching of rejecting a random address
server PORT_S
220 Server ready
# Test caching of rejecting a random address
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-265,13
+284,14
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
+HELO test
MAIL FROM:<ok@otherhost31>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
MAIL FROM:<ok@otherhost31>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-281,6
+301,7
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.3
+HELO test
MAIL FROM:<okok@otherhost31>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<okok@otherhost31>
RCPT TO:<z@test.ex>
QUIT
@@
-289,7
+310,7
@@
QUIT
sleep 2
server PORT_S
220 Server ready
sleep 2
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-305,6
+326,7
@@
QUIT
250 OK
****
sudo exim -DPEX=1s -d-all+verify -v -bs -oMa V4NET.0.0.3
250 OK
****
sudo exim -DPEX=1s -d-all+verify -v -bs -oMa V4NET.0.0.3
+HELO test
MAIL FROM:<okokok@otherhost31>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<okokok@otherhost31>
RCPT TO:<z@test.ex>
QUIT
@@
-312,7
+334,7
@@
QUIT
# Timeout on the RCPT for random
server PORT_S
220 Server ready
# Timeout on the RCPT for random
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-320,6
+342,7
@@
RCPT TO
*sleep 2
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.5
*sleep 2
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.5
+HELO test
MAIL FROM:<okok@otherhost51>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<okok@otherhost51>
RCPT TO:<z@test.ex>
QUIT
@@
-327,7
+350,7
@@
QUIT
# Postmaster_sender set non-empty
server PORT_S
220 Server ready
# Postmaster_sender set non-empty
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-343,6
+366,7
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.6
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.6
+HELO test
MAIL FROM:<okokok@otherhost52>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<okokok@otherhost52>
RCPT TO:<z@test.ex>
QUIT
@@
-350,7
+374,7
@@
QUIT
# Header_sender sender set non-empty
server PORT_S
220 Server ready
# Header_sender sender set non-empty
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-360,6
+384,7
@@
QUIT
250 OK
****
sudo exim -d-all+verify -odq -v -bs -oMa V4NET.0.0.7
250 OK
****
sudo exim -d-all+verify -odq -v -bs -oMa V4NET.0.0.7
+HELO test
MAIL FROM:<ok7@otherhost53>
RCPT TO:<z@test.ex>
DATA
MAIL FROM:<ok7@otherhost53>
RCPT TO:<z@test.ex>
DATA
@@
-370,7
+395,7
@@
QUIT
# Timeout on RCPT for header_sender (defer_ok test)
server PORT_S
220 Server ready
# Timeout on RCPT for header_sender (defer_ok test)
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-378,6
+403,7
@@
RCPT TO
*sleep 2
****
sudo exim -d-all+verify -odq -v -bs -oMa V4NET.0.0.8
*sleep 2
****
sudo exim -d-all+verify -odq -v -bs -oMa V4NET.0.0.8
+HELO test
MAIL FROM:<ok7@otherhost53>
RCPT TO:<z@test.ex>
DATA
MAIL FROM:<ok7@otherhost53>
RCPT TO:<z@test.ex>
DATA
@@
-388,7
+414,7
@@
QUIT
# Test full postmaster check
server PORT_S
220 Server ready
# Test full postmaster check
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-406,6
+432,7
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.9
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.9
+HELO test
MAIL FROM:<ok@otherhost9>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@otherhost9>
RCPT TO:<z@test.ex>
QUIT
@@
-413,7
+440,7
@@
QUIT
# Test postmaster_mailfrom with random
server PORT_S
220 Server ready
# Test postmaster_mailfrom with random
server PORT_S
220 Server ready
-
HE
LO
+
EH
LO
250 OK
MAIL FROM
250 OK
250 OK
MAIL FROM
250 OK
@@
-435,6
+462,7
@@
QUIT
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.10
250 OK
****
sudo exim -d-all+verify -v -bs -oMa V4NET.0.0.10
+HELO test
MAIL FROM:<ok@otherhost10>
RCPT TO:<z@test.ex>
QUIT
MAIL FROM:<ok@otherhost10>
RCPT TO:<z@test.ex>
QUIT