warn message = X-acl-message-linecount: $message_linecount
accept
-
# ----- Routers -----
begin routers
allow_localhost
command_timeout = 2s
final_timeout = 2s
- headers_rewrite = *@* CALLER_NAME@$domain fs
remote_smtp_dkim:
driver = smtp
allow_localhost
command_timeout = 2s
final_timeout = 2s
- headers_rewrite = *@* CALLER_NAME@$domain fs
.ifdef OPT
dkim_domain = test.ex
-1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for a@test.ex
+1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for a@test.ex
1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
-1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for b@test.ex
+1999-03-02 09:44:33 10HmaY-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for b@test.ex
1999-03-02 09:44:33 10HmaY-0005vi-00 == b@test.ex R=to_server T=remote_smtp defer (dd): Connection timed out H=127.0.0.1 [127.0.0.1]: SMTP timeout after end of data (ddd bytes written)
-1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for c@test.ex
+1999-03-02 09:44:33 10HmaZ-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for c@test.ex
1999-03-02 09:44:33 10HmaZ-0005vi-00 => c@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK"
1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for d@test.ex
+1999-03-02 09:44:33 10HmbA-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for d@test.ex
1999-03-02 09:44:33 10HmbA-0005vi-00 ** d@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 500 oops
1999-03-02 09:44:33 10HmbA-0005vi-00 d@test.ex: error ignored
1999-03-02 09:44:33 10HmbA-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbB-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for e@test.ex
+1999-03-02 09:44:33 10HmbB-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for e@test.ex
1999-03-02 09:44:33 10HmbB-0005vi-00 == e@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 400 not right now
-1999-03-02 09:44:33 10HmbC-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for p@test.ex
+1999-03-02 09:44:33 10HmbC-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for p@test.ex
1999-03-02 09:44:33 10HmbC-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat"
1999-03-02 09:44:33 10HmbC-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbD-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for q@test.ex
+1999-03-02 09:44:33 10HmbD-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for q@test.ex
1999-03-02 09:44:33 10HmbD-0005vi-00 == q@test.ex R=to_server T=remote_smtp defer (dd): Connection timed out H=127.0.0.1 [127.0.0.1]: SMTP timeout after pipelined end of data (ddd bytes written)
-1999-03-02 09:44:33 10HmbE-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for r@test.ex
+1999-03-02 09:44:33 10HmbE-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for r@test.ex
1999-03-02 09:44:33 10HmbE-0005vi-00 => r@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat"
1999-03-02 09:44:33 10HmbE-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbF-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for s@test.ex
+1999-03-02 09:44:33 10HmbF-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for s@test.ex
1999-03-02 09:44:33 10HmbF-0005vi-00 ** s@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 550 unacceptable mail-from
1999-03-02 09:44:33 10HmbF-0005vi-00 s@test.ex: error ignored
1999-03-02 09:44:33 10HmbF-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbG-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for s1@test.ex
+1999-03-02 09:44:33 10HmbG-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for s1@test.ex
1999-03-02 09:44:33 10HmbG-0005vi-00 == s1@test.ex R=to_server T=remote_smtp defer (-45) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 450 greylisted mail-from
-1999-03-02 09:44:33 10HmbH-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for t@test.ex
+1999-03-02 09:44:33 10HmbH-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for t@test.ex
1999-03-02 09:44:33 10HmbH-0005vi-00 ** t@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t@test.ex>: 550 no such recipient
1999-03-02 09:44:33 10HmbH-0005vi-00 t@test.ex: error ignored
1999-03-02 09:44:33 10HmbH-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbI-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for u@test.ex
+1999-03-02 09:44:33 10HmbI-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for u@test.ex
1999-03-02 09:44:33 10HmbI-0005vi-00 ** u@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 500 oops bdat
1999-03-02 09:44:33 10HmbI-0005vi-00 u@test.ex: error ignored
1999-03-02 09:44:33 10HmbI-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbJ-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for v@test.ex
+1999-03-02 09:44:33 10HmbJ-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for v@test.ex
1999-03-02 09:44:33 10HmbJ-0005vi-00 == v@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 400 not right now bdat
-1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for a@test.ex
+1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for a@test.ex
1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
-1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for d@test.ex
+1999-03-02 09:44:33 10HmaY-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for d@test.ex
1999-03-02 09:44:33 10HmaY-0005vi-00 ** d@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after sending data block: 500 oops bdat-nonlast
1999-03-02 09:44:33 10HmaY-0005vi-00 d@test.ex: error ignored
1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
-1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for p@test.ex
+1999-03-02 09:44:33 10HmaZ-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for p@test.ex
1999-03-02 09:44:33 10HmaZ-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat"
1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for s@test.ex
+1999-03-02 09:44:33 10HmbA-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for s@test.ex
1999-03-02 09:44:33 10HmbA-0005vi-00 ** s@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 550 unacceptable mail-from
1999-03-02 09:44:33 10HmbA-0005vi-00 s@test.ex: error ignored
1999-03-02 09:44:33 10HmbA-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbB-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for t@test.ex
+1999-03-02 09:44:33 10HmbB-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for t@test.ex
1999-03-02 09:44:33 10HmbB-0005vi-00 ** t@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t@test.ex>: 550 no such recipient
1999-03-02 09:44:33 10HmbB-0005vi-00 t@test.ex: error ignored
1999-03-02 09:44:33 10HmbB-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbC-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for t1@test.ex t2@test.ex
+1999-03-02 09:44:33 10HmbC-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for t1@test.ex t2@test.ex
1999-03-02 09:44:33 10HmbC-0005vi-00 ** t1@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t1@test.ex>: 550 no such recipient
1999-03-02 09:44:33 10HmbC-0005vi-00 => t2@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat"
1999-03-02 09:44:33 10HmbC-0005vi-00 t1@test.ex: error ignored
1999-03-02 09:44:33 10HmbC-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbD-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for u@test.ex
+1999-03-02 09:44:33 10HmbD-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for u@test.ex
1999-03-02 09:44:33 10HmbD-0005vi-00 ** u@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 500 oops nonlast bdat
1999-03-02 09:44:33 10HmbD-0005vi-00 u@test.ex: error ignored
1999-03-02 09:44:33 10HmbD-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbE-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for v@test.ex
+1999-03-02 09:44:33 10HmbE-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for v@test.ex
1999-03-02 09:44:33 10HmbE-0005vi-00 ** v@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 500 oops bdat
1999-03-02 09:44:33 10HmbE-0005vi-00 v@test.ex: error ignored
1999-03-02 09:44:33 10HmbE-0005vi-00 Completed
-1999-03-02 09:44:33 10HmbF-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for p@test.ex
+1999-03-02 09:44:33 10HmbF-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for p@test.ex
1999-03-02 09:44:33 10HmbF-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat"
1999-03-02 09:44:33 10HmbF-0005vi-00 Completed
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for CALLER@test.ex
-1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] X=TLS1.x:xxxxRSA_AES_256_CBC_SHAnnn:256 CV=no K C="250- 363 byte chunk, total 363\\n250 OK id=10HmaY-0005vi-00"
+1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] X=TLS1.x:xxxxRSA_AES_256_CBC_SHAnnn:256 CV=no K C="250- 360 byte chunk, total 360\\n250 OK id=10HmaY-0005vi-00"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
******** SERVER ********
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for CALLER@test.ex
1999-03-02 09:44:33 10HmaX-0005vi-00 [127.0.0.1] SSL verify error: depth=0 error=self signed certificate cert=/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock
1999-03-02 09:44:33 10HmaX-0005vi-00 [127.0.0.1] SSL verify error: certificate name mismatch: "/C=UK/O=The Exim Maintainers/OU=Test Suite/CN=Phil Pennock"
-1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] X=TLSv1:AES256-SHA:256 CV=no K C="250- 363 byte chunk, total 363\\n250 OK id=10HmaY-0005vi-00"
+1999-03-02 09:44:33 10HmaX-0005vi-00 => CALLER@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] X=TLSv1:AES256-SHA:256 CV=no K C="250- 360 byte chunk, total 360\\n250 OK id=10HmaY-0005vi-00"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
******** SERVER ********
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for a@test.ex
-1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 675 byte chunk, total 675\\n250 OK id=10HmaY-0005vi-00"
+1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 665 byte chunk, total 665\\n250 OK id=10HmaY-0005vi-00"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@testhost.test.ex U=CALLER P=local S=sss for b@test.ex
-1999-03-02 09:44:33 10HmaZ-0005vi-00 => b@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 8534 byte chunk, total 8862\\n250 OK id=10HmbA-0005vi-00"
+1999-03-02 09:44:33 10HmaZ-0005vi-00 => b@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 8524 byte chunk, total 8852\\n250 OK id=10HmbA-0005vi-00"
1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed
******** SERVER ********
-1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender_gets_replaced@testhost.test.ex U=CALLER P=local S=sss for usery userz
+1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for usery@testhost.test.ex userz@testhost.test.ex
1999-03-02 09:44:33 10HmaX-0005vi-00 => usery@testhost.test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] PRDR K C="250 first rcpt was good"
1999-03-02 09:44:33 10HmaX-0005vi-00 -> userz@testhost.test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] PRDR K C="250 second rcpt was good"
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
250 OK
RCPT TO
250 OK
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
250 OK
QUIT
225 OK
*eof
****
-exim -odf a@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<a@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected more data, client gets timeout for data-ack
250 good mail cmd
RCPT TO
250 acceptable rcpt cmd
-BDAT 346 LAST
-*data 347
+BDAT 329 LAST
+*data 330
250 OK got that data
QUIT
225 OK quitting
****
-exim -odf b@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<b@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected less data
250 OK
RCPT TO
250 OK
-BDAT 346 LAST
-*data 345
+BDAT 329 LAST
+*data 328
250 OK
QUIT
225 OK
****
-exim -odf c@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<c@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server rejects BDAT cmd
250 OK
RCPT TO
250 OK
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
500 oops
QUIT
225 OK
****
-exim -odf d@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<d@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server tmp-rejects BDAT cmd
250 OK
RCPT TO
250 OK
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
400 not right now
QUIT
225 OK
****
-exim -odf e@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<e@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
#
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
250 OK mail
250 OK rcpt
250 OK bdat
225 OK
*eof
****
-exim -odf p@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<p@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected more data, client gets timeout for data-ack
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 347
+BDAT 329 LAST
+*data 330
250 good mail cmd
****
-exim -odf q@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<q@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# Error case: server wrongly expected less data
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 345
+BDAT 329 LAST
+*data 328
250 OK mail
250 OK rcpt
250 OK bdat
QUIT
225 OK
****
-exim -odf r@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<r@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server rejects MAIL cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
QUIT
225 OK
****
-exim -odf s@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<s@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server tmp-rejects MAIL cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 347 LAST
-*data 347
+BDAT 330 LAST
+*data 330
450 greylisted mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
QUIT
225 OK
****
-exim -odf s1@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<s1@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server rejects RCPT cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
250 OK mail
550 no such recipient
500 oops bdat
QUIT
225 OK
****
-exim -odf t@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<t@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server rejects BDAT cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
250 OK mail
250 OK rcpt
500 oops bdat
QUIT
225 OK
****
-exim -odf u@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<u@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
# server tmp-rejects BDAT cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 346 LAST
-*data 346
+BDAT 329 LAST
+*data 329
250 OK mail
250 OK rcpt
400 not right now bdat
QUIT
225 OK
****
-exim -odf v@test.ex
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<v@test.ex>
+DATA
Subject: foo
data
+.
+QUIT
****
#
#
250 OK
RCPT TO
250 OK
-BDAT 340
-*data 340
+BDAT 295
+*data 295
250 OK nonlast bdat
BDAT 8380 LAST
*data 8380
225 OK
*eof
****
-exim -odf a@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<a@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
#
250 OK
RCPT TO
250 OK
-BDAT 340
-*data 340
+BDAT 295
+*data 295
500 oops bdat-nonlast
QUIT
225 OK
****
-exim -odf d@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<d@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
#
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 340
+BDAT 295
250 OK mail
250 OK rcpt
-*data 340
+*data 295
250 OK nonlast bdat
BDAT 8380 LAST
*data 8380
225 OK
*eof
****
-exim -odf p@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<p@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
# server rejects MAIL cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 340
-*data 340
+BDAT 295
+*data 295
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
500 bdat (nonlast) ungood lacking mail-from
QUIT
225 OK
****
-exim -odf s@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<s@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
# server rejects RCPT cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 340
-*data 340
+BDAT 295
+*data 295
250 OK mail
550 no such recipient
500 oops nonlast bdat - no rcpt
QUIT
225 OK
****
-exim -odf t@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<t@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
# server rejects 1st RCPT cmd of two
MAIL FROM
RCPT TO
RCPT TO
-BDAT 324
-*data 324
+BDAT 279
+*data 279
250 OK mail
550 no such recipient
250 good recipient
QUIT
225 OK
****
-exim -odf t1@test.ex t2@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<t1@test.ex>
+RCPT TO:<t2@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
# server rejects initial BDAT cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 340
-*data 340
+BDAT 295
+*data 295
250 OK mail
250 OK rcpt
500 oops nonlast bdat
QUIT
225 OK
****
-exim -odf u@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<u@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
# server rejects final BDAT cmd
250 CHUNKING
MAIL FROM
RCPT TO
-BDAT 340
-*data 340
+BDAT 295
+*data 295
250 OK mail
250 OK rcpt
250 OK nonlast bdat
QUIT
225 OK
****
-exim -odf v@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<v@test.ex>
+DATA
Subject: foo
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
# message with long headers
250 OK rcpt
*data 8191
250 OK nonlast bdat
-BDAT 852 LAST
-*data 852
+BDAT 807 LAST
+*data 807
250 OK bdat
QUIT
225 OK
*eof
****
-exim -odf p@test.ex
+sudo exim -odf -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<p@test.ex>
+DATA
Subject: foo
X-long_hdr: 0
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
body
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+.
+QUIT
****
#
#
250 OK
RCPT TO
250 OK
-BDAT 328 LAST
-*data 328
+BDAT 285 LAST
+*data 285
353 prdr responses coming up
250 first rcpt was good
250 second rcpt was good
QUIT
250 OK
****
-exim -odi -f sender_gets_replaced usery userz
+sudo exim -odi -bS
+EHLO
+MAIL FROM:<sender@dom>
+RCPT TO:<usery>
+RCPT TO:<userz>
+DATA
Some message text.
+.
+QUIT
****
#
#
250 OK
RCPT TO:<a@test.ex>
250 OK
-BDAT 346 LAST
+BDAT 329 LAST
250 OK
QUIT
225 OK
250 good mail cmd
RCPT TO:<b@test.ex>
250 acceptable rcpt cmd
-BDAT 346 LAST
+BDAT 329 LAST
Unxpected EOF read from client
Listening on port 1224 ...
Connection request from [127.0.0.1]
250 OK
RCPT TO:<c@test.ex>
250 OK
-BDAT 346 LAST
+BDAT 329 LAST
250 OK
Comparison failed - bailing out
250 OK
RCPT TO:<d@test.ex>
250 OK
-BDAT 346 LAST
+BDAT 329 LAST
500 oops
QUIT
225 OK
250 OK
RCPT TO:<e@test.ex>
250 OK
-BDAT 346 LAST
+BDAT 329 LAST
400 not right now
QUIT
225 OK
250 CHUNKING
MAIL FROM:<>
RCPT TO:<p@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
250 OK mail
250 OK rcpt
250 OK bdat
250 CHUNKING
MAIL FROM:<>
RCPT TO:<q@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
Unxpected EOF read from client
Listening on port 1224 ...
Connection request from [127.0.0.1]
250 CHUNKING
MAIL FROM:<>
RCPT TO:<r@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
250 OK mail
250 OK rcpt
250 OK bdat
250 CHUNKING
MAIL FROM:<>
RCPT TO:<s@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
250 CHUNKING
MAIL FROM:<>
RCPT TO:<s1@test.ex>
-BDAT 347 LAST
+BDAT 330 LAST
450 greylisted mail-from
550 rcpt ungood lacking mail-from
500 bdat ungood lacking mail-from
250 CHUNKING
MAIL FROM:<>
RCPT TO:<t@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
250 OK mail
550 no such recipient
500 oops bdat
250 CHUNKING
MAIL FROM:<>
RCPT TO:<u@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
250 OK mail
250 OK rcpt
500 oops bdat
250 CHUNKING
MAIL FROM:<>
RCPT TO:<v@test.ex>
-BDAT 346 LAST
+BDAT 329 LAST
250 OK mail
250 OK rcpt
400 not right now bdat
250 OK
RCPT TO:<a@test.ex>
250 OK
-BDAT 340
+BDAT 295
250 OK nonlast bdat
BDAT 8380 LAST
250 OK bdat
250 OK
RCPT TO:<d@test.ex>
250 OK
-BDAT 340
+BDAT 295
500 oops bdat-nonlast
QUIT
225 OK
250 CHUNKING
MAIL FROM:<>
RCPT TO:<p@test.ex>
-BDAT 340
+BDAT 295
250 OK mail
250 OK rcpt
250 OK nonlast bdat
250 CHUNKING
MAIL FROM:<>
RCPT TO:<s@test.ex>
-BDAT 340
+BDAT 295
550 unacceptable mail-from
550 rcpt ungood lacking mail-from
500 bdat (nonlast) ungood lacking mail-from
250 CHUNKING
MAIL FROM:<>
RCPT TO:<t@test.ex>
-BDAT 340
+BDAT 295
250 OK mail
550 no such recipient
500 oops nonlast bdat - no rcpt
MAIL FROM:<>
RCPT TO:<t1@test.ex>
RCPT TO:<t2@test.ex>
-BDAT 324
+BDAT 279
250 OK mail
550 no such recipient
250 good recipient
250 CHUNKING
MAIL FROM:<>
RCPT TO:<u@test.ex>
-BDAT 340
+BDAT 295
250 OK mail
250 OK rcpt
500 oops nonlast bdat
250 CHUNKING
MAIL FROM:<>
RCPT TO:<v@test.ex>
-BDAT 340
+BDAT 295
250 OK mail
250 OK rcpt
250 OK nonlast bdat
250 OK mail
250 OK rcpt
250 OK nonlast bdat
-BDAT 852 LAST
+BDAT 807 LAST
250 OK bdat
QUIT
225 OK
250 OK
RCPT TO:<userz@testhost.test.ex>
250 OK
-BDAT 328 LAST
+BDAT 285 LAST
353 prdr responses coming up
250 first rcpt was good
250 second rcpt was good