# Exim test configuration 0900
SERVER=
Y=
-OPT=
+LIST=
ALLOW=
exim_path = EXIM_PATH
to_server:
driver = accept
condition = ${if !eq {SERVER}{server}}
- transport = remote_smtp${if eq {X}{dkim} {_dkim}}
+ transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
errors_to = ""
fail_remote_domains:
command_timeout = 2s
final_timeout = 2s
-.ifdef X
+.ifdef OPT
dkim_domain = test.ex
dkim_selector = sel
dkim_private_key = DIR/aux-fixed/dkim/dkim.private
.ifndef HEADERS_MAXSIZE
- dkim_sign_headers = OPT
+ dkim_sign_headers = LIST
.endif
.endif
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- 988 byte chunk, total 988\\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- 8524 byte chunk, total 9175\\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 ********
****
#
# single header signed, short message
-exim -DX=dkim -DOPT=From -odf a@test.ex
+exim -DOPT=dkim -DLIST=From -odf a@test.ex
From: nobody@example.com
From: second@example.com
****
#
# single header signed, long message
-exim -DX=dkim -DOPT=From -odf b@test.ex
+exim -DOPT=dkim -DLIST=From -odf b@test.ex
From: nobody@example.com
From: second@example.com