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
Fix exit on attempt to rewrite a malformed address. Bug 2903
[exim.git]
/
test
/
confs
/
3403
diff --git
a/test/confs/3403
b/test/confs/3403
index 2f12a56f3abb042505ef5f588d6ee1aed4a0519b..327308591abb0dfa40f9e9ed1244c4a1f4fa2936 100644
(file)
--- a/
test/confs/3403
+++ b/
test/confs/3403
@@
-1,16
+1,13
@@
# Exim test configuration 3403
# Exim test configuration 3403
-exim_path = EXIM_PATH
-host_lookup_order = bydns
+.include DIR/aux-var/std_conf_prefix
+
primary_hostname = myhost.test.ex
primary_hostname = myhost.test.ex
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
# ----- Main settings -----
acl_smtp_rcpt = accept
# ----- Main settings -----
acl_smtp_rcpt = accept
+acl_smtp_data = check_data
# ----- Authentication -----
# ----- Authentication -----
@@
-30,6
+27,12
@@
plain1:
server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
server_mail_auth_condition = ${if eq{$authenticated_id}{userx}{yes}}
+# ----- ACL -----
+begin acl
+
+check_data:
+ accept add_header = :at_start:${authresults {$primary_hostname}}
+
# ----- Routers -----
begin routers
# ----- Routers -----
begin routers
@@
-37,6
+40,7
@@
begin routers
d1:
driver = accept
headers_add = aid: $authenticated_id
d1:
driver = accept
headers_add = aid: $authenticated_id
+ headers_add = rtr_authres: ${authresults {$primary_hostname}}
retry_use_local_part
transport = t1
retry_use_local_part
transport = t1
@@
-48,6
+52,7
@@
begin transports
t1:
driver = appendfile
file = DIR/test-mail/$local_part
t1:
driver = appendfile
file = DIR/test-mail/$local_part
+ create_file = DIR/test-mail
user = CALLER
# End
user = CALLER
# End