Does the $host expansion include the port, if present?

For instance, if I have

# ROUTERS

smarthost:
  driver = manualroute
  route_list = * mail.example.com::587
  domains = ! +local_domains
  transport = remote_smtp

# TRANSPORTS

remote_smtp:
  headers_add = "X-Show-Host: $host"
  driver = smtp
    
what will the inserted header say:

X-Show-Host: mail.example.com

or

X-Show-Host: mail.example.com:587

or even

X-Show-Host: mail.example.com::587

?

If the port is _not_ part of the expansion, is there any other way to
get at it within transport options?

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to