# Exim test configuration 0900
SERVER=
X=
+Y=
OPT=
+ALLOW=
exim_path = EXIM_PATH
keep_environment =
gecos_pattern = ""
gecos_name = CALLER_NAME
chunking_advertise_hosts = *
-tls_advertise_hosts =
+tls_advertise_hosts = ${if eq {Y}{tls} {*}}
# ----- Main settings -----
domainlist local_domains = @ : test.ex
acl_smtp_rcpt = check_recipient
+acl_smtp_data_prdr = check_prdr
acl_smtp_data = check_data
trusted_users = CALLER
queue_only
smtp_receive_timeout = 2s
log_selector = +received_recipients
+tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+
+ALLOW
# ----- ACL -----
accept domains = +local_domains
deny message = relay not permitted
+check_prdr:
+ accept local_parts = good
+ deny
+
check_data:
warn message = X-acl-message-linecount: $message_linecount
accept