X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fexim4%2Fconf.d%2Ftransport%2F30_exim4-config_remote_smtp_smarthost;fp=etc%2Fexim4%2Fconf.d%2Ftransport%2F30_exim4-config_remote_smtp_smarthost;h=83edbd7d2c06018fe886201e49ef939fce79cb55;hb=0625c01974df320cade3f9cd56674bcdfee0d9f3;hp=0000000000000000000000000000000000000000;hpb=101c70d3c1375d6a434f87465bdba6722ad764ed;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost b/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost new file mode 100644 index 0000000..83edbd7 --- /dev/null +++ b/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost @@ -0,0 +1,29 @@ + +### transport/30_exim4-config_remote_smtp_smarthost +################################# + +# This transport is used for delivering messages over SMTP connections +# to a smarthost. The local host tries to authenticate. +# This transport is used for smarthost and satellite configurations. + +remote_smtp_smarthost: + debug_print = "T: remote_smtp_smarthost for $local_part@$domain" + driver = smtp + hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \ + {\ + ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\ + }\ + {} \ + } +.ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS + hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS +.endif +.ifdef REMOTE_SMTP_HEADERS_REWRITE + headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE +.endif +.ifdef REMOTE_SMTP_RETURN_PATH + return_path = REMOTE_SMTP_RETURN_PATH +.endif +.ifdef REMOTE_SMTP_HELO_FROM_DNS + helo_data=REMOTE_SMTP_HELO_DATA +.endif