git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: use verified version of local_part variable in router require_files example
[users/heiko/exim.git]
/
test
/
confs
/
3403
diff --git
a/test/confs/3403
b/test/confs/3403
index 6adcf65f3261a2c3908c5c242f24a35e8be7b676..161cdeaeeeed1280c384ecef0d07ae8576ffeee2 100644
(file)
--- a/
test/confs/3403
+++ b/
test/confs/3403
@@
-1,17
+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
-rfc1413_query_timeout = 0s
-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 -----
@@
-31,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
@@
-48,7
+50,7
@@
begin transports
t1:
driver = appendfile
t1:
driver = appendfile
- file = DIR/test-mail/$
local_part
+ file = DIR/test-mail/$
{bless:$local_part}
user = CALLER
# End
user = CALLER
# End