exim_path = EXIM_PATH
host_lookup_order = bydns
-rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/SERVER%slog
gecos_pattern = ""
acl_smtp_rcpt = accept
-smtp_active_hostname = ${if eq{$interface_address}{IP1}\
+smtp_active_hostname = ${if eq{$received_ip_address}{IP1}\
{host.IP1}\
{\
- ${if eq{$interface_address}{IP2}\
+ ${if eq{$received_ip_address}{IP2}\
{}\
{\
- ${if eq{$interface_address}{IP3}\
+ ${if eq{$received_ip_address}{IP3}\
{${lookup{x}lsearch{/non/exist}}}\
fail}\
}}\