smtp_transport_options_block *ob =
(smtp_transport_options_block *)(tblock->options_block);
host_item *hostlist = addrlist->host_list;
-host_item *host = NULL;
+host_item *host;
DEBUG(D_transport)
{
{
debug_printf("hostlist:\n");
for (host = hostlist; host; host = host->next)
- debug_printf(" %s:%d\n", host->name, host->port);
+ debug_printf(" '%s' IP %s port %d\n", host->name, host->address, host->port);
}
if (continue_hostname)
debug_printf("already connected to %s [%s] (on fd %d)\n",
my_smtp transport entered
userx@domain.com
hostlist:
- 127.0.0.1:-1
+ '127.0.0.1' IP 127.0.0.1 port -1
checking status of 127.0.0.1
127.0.0.1 [127.0.0.1]:1111/ip4.ip4.ip4.ip4 retry-status = usable
delivering 10HmaX-0005vi-00 to 127.0.0.1 [127.0.0.1] (userx@domain.com)
t1 transport entered
userx@test.ex
hostlist:
- 127.0.0.1:-1
+ '127.0.0.1' IP 127.0.0.1 port -1
checking status of 127.0.0.1
127.0.0.1 [127.0.0.1]:1111 retry-status = usable
delivering 10HmaX-0005vi-00 to 127.0.0.1 [127.0.0.1] (userx@test.ex)
t1 transport entered
CALLER@the.local.host.name
hostlist:
- 127.0.0.1:-1
+ '127.0.0.1' IP 127.0.0.1 port -1
checking status of 127.0.0.1
127.0.0.1 [127.0.0.1]:1111 retry-status = usable
delivering 10HmaZ-0005vi-00 to 127.0.0.1 [127.0.0.1] (CALLER@the.local.host.name)
t1 transport entered
usery@test.ex
hostlist:
- 127.0.0.1:-1
+ '127.0.0.1' IP 127.0.0.1 port -1
checking status of 127.0.0.1
no message retry record
127.0.0.1 [127.0.0.1]:1111 retry-status = unusable
t1 transport entered
userb@test.ex
hostlist:
- 127.0.0.1:1225
+ '127.0.0.1' IP 127.0.0.1 port 1225
already connected to 127.0.0.1 [127.0.0.1] (on fd 0)
checking status of 127.0.0.1
127.0.0.1 [127.0.0.1]:1111 retry-status = usable
t1 transport entered
userb@test.ex
hostlist:
- 127.0.0.1:1225
+ '127.0.0.1' IP 127.0.0.1 port 1225
already connected to 127.0.0.1 [127.0.0.1] (on fd 0)
checking status of 127.0.0.1
127.0.0.1 [127.0.0.1]:1111 retry-status = usable