# callout verification (no caching) and $router_name
need_ipv4
#
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
250 OK
QUIT
250 OK
****
# sender
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<ok@localhost>
RCPT TO:<z@test.ex>
QUIT
****
# sender, no callout
sudo exim -v -bs -oMa V4NET.0.0.2
MAIL FROM:<unchecked@localhost>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550 Unknown user
QUIT
250 OK
****
# sender, refused
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<bad@localhost>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
450 Temporary error
QUIT
250 OK
****
# sender, tmperr
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
550 Error for <>
QUIT
250 OK
****
# sender, err on mailfrom
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<uncheckable2@localhost1>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
550-Multiline error for <>
550 Here's the second line
QUIT
250 OK
****
# sender, multiline err on mailfrom
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
550 Bad-char error for <> topbitchar:\x80\xFF\xFF
QUIT
250 OK
****
# sender, err on mailfrom, with bad char
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<uncheckable2@localhost1>
RCPT TO:<z@test.ex>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550 Recipient not liked
QUIT
250 OK
****
# recipient, refused
sudo exim -v -bs -oMa V4NET.0.0.3
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550-Recipient not liked on two lines
550 Here's the second
QUIT
250 OK
****
# recipient, refused
sudo exim -v -bs -oMa V4NET.0.0.3
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550 Recipient not liked, with bad char:\x80\xFF\xFF
QUIT
250 OK
****
# recipient, refused, badchar in resp
sudo exim -v -bs -oMa V4NET.0.0.3
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
# recipient, no conneect
sudo exim -v -bs -oMa V4NET.0.0.3
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550 Not liked
QUIT
250 OK
****
sudo exim -v -bs -oMa V4NET.0.0.4
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.domain>
DATA
From: abcd@x.y.z
.
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550 Not liked
QUIT
250 OK
****
sudo exim -v -bs -oMa V4NET.0.0.4
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.domain>
DATA
From: abcd@x.y.z
.
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
250 OK
RSET
250 OK
MAIL FROM
250 OK
RCPT TO
250 OK
QUIT
250 OK
****
sudo exim -v -bs -oMa V4NET.0.0.5
MAIL FROM:<ok@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
server PORT_S
220 Server ready
EHLO
250 OK
MAIL FROM
250 OK
RCPT TO
250 OK
RSET
250 OK
MAIL FROM
250 OK
RCPT TO
550 Don't like postmaster
QUIT
250 OK
****
sudo exim -v -bs -oMa V4NET.0.0.5
MAIL FROM:<ok@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
#
server PORT_S
220 Server ready
EHLO
250- wotcher sverifier
250-SIZE
250 OK
MAIL FROM:<>
250 OK
RCPT TO
250 OK
QUIT
250 OK
****
# sender, size known, tgt supports sixe
sudo exim -v -bs -oMa V4NET.0.0.6
EHLO me
MAIL FROM:<ok@localhost1> SIZE=420000
RCPT TO:<z@test.ex>
QUIT
****
#
server PORT_S
220 Server ready
EHLO
250- wotcher rverifier
250-SIZE
250 OK
MAIL FROM:<> SIZE=
250 OK
RCPT TO
250 OK
QUIT
250 OK
****
# receipient, size known, tgt supports size
sudo exim -v -bs -oMa V4NET.0.0.3
EHLO me
MAIL FROM:<ok@localhost1> SIZE=420000
RCPT TO:<z@remote.domain>
QUIT
****
#
server PORT_S
220 Server ready
EHLO
250- wotcher rverifier
250-SIZE
250 OK
MAIL FROM:<>
250 OK
RCPT TO
250 OK
QUIT
250 OK
****
# receipient, size unknown, tgt supports size
sudo exim -v -bs -oMa V4NET.0.0.3
EHLO me
MAIL FROM:<ok@localhost1>
RCPT TO:<z@remote.domain>
QUIT
****
#
server PORT_S
220 Server ready
EHLO
250- wotcher rverifier
250-SIZE
250 OK
MAIL FROM:<ok@localhost1>
250 OK
RCPT TO:<myhost.test.ex-
550 RANDOM NOT OK
RSET
250 OK
MAIL FROM:<ok@localhost1> SIZE=
250 OK
RCPT TO:<z@remote.domain>
250 OK
QUIT
250 OK
****
# receipient, size known, tgt supports size, use_sender, w/random
# stdout should see SIZE on the main but not on the random receipient's MAIL FROM
sudo exim -v -bs -oMa V4NET.0.0.7
EHLO me
MAIL FROM:<ok@localhost1> SIZE=420000
RCPT TO:<z@remote.domain>
QUIT
****
#
server PORT_S
220 Server ready
LHLO
250 OK
MAIL FROM
250 OK
RCPT TO
550 Recipient not liked
QUIT
250 OK
****
sudo exim -v -bs -oMa V4NET.0.0.3
MAIL FROM:<uncheckable@localhost1>
RCPT TO:<z@remote.lmtp>
QUIT
****
server PORT_S
****
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<bad@localhost1>
RCPT TO:<z@test.ex>
QUIT
****
sudo exim -v -bs -oMa V4NET.0.0.1
MAIL FROM:<bad@localhost1>
RCPT TO:<z@test.ex>
QUIT
****