
### transport/30_exim4-config_remote_smtp
#################################
# This transport is used for delivering messages over SMTP connections.
remote_smtp:
  debug_print = "T: remote_smtp for $local_part@$domain"
  driver = smtp
  # Try SMTP AUTH when sending to smarthost.
.ifdef DCconfig_smarthost DCconfig_satellite
  hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
  DEBCONFheaders_rewriteDEBCONF
.endif

remote_smtp_rewrite:
# this is rather ugly but required for rewriting the envelope-from at
# transport time.
  debug_print = "T: remote_smtp_rewrite for $local_part@$domain"
  driver = smtp
  # Try SMTP AUTH when sending to smarthost.
.ifdef DCconfig_smarthost DCconfig_satellite
  hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
  DEBCONFheaders_rewriteDEBCONF
  DEBCONFreturn_pathDEBCONF
.endif

