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
Docs: warn against using $local_part directly in delivery
[exim.git]
/
test
/
confs
/
0102
diff --git
a/test/confs/0102
b/test/confs/0102
index ac33f72f443135d12956687179dda24dffbdcf47..2497fd032b422b611441b8b614df8ff0a8f3031d 100644
(file)
--- a/
test/confs/0102
+++ b/
test/confs/0102
@@
-1,13
+1,7
@@
# Exim test configuration 0102
# Exim test configuration 0102
-exim_path = EXIM_PATH
-keep_environment =
-host_lookup_order = bydns
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+.include DIR/aux-var/std_conf_prefix
+
# ----- Main settings -----
# ----- Main settings -----
@@
-31,7
+25,9
@@
localuser:
local_part_prefix = bsmtp_ : mmdf_
local_part_prefix_optional
retry_use_local_part
local_part_prefix = bsmtp_ : mmdf_
local_part_prefix_optional
retry_use_local_part
- transport = ${local_part_prefix}local_delivery
+ transport = ${if !def:local_part_prefix {} \
+ {${if eq {bsmtp_}{$local_part_prefix} {bsmtp_}\
+ {${if eq {mmdf_}{$local_part_prefix} {mmdf_} {}}}}}}local_delivery
# ----- Transports -----
# ----- Transports -----