Author Topic: SMTP using ipaddress ok but using mydomain.com timeout  (Read 3848 times)

Marcus

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 395
  • Karma: +12/-0
    • View Profile
    • Professional IT Service
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #15 on: April 20, 2012, 09:50:18 pm »
Hello yudidw2,

Since the start of this thread, have you rebooted your PC ?

You may also try to flush your DNS:
1) Click Start

2) Search for "cmd.exe" (it should start your shell)

3) type:
Code: [Select]
ipconfig /flushdns
4) restart ThunderBird and test

**Also, please make sure that you leave the DNS auto-configuration to your desktop.  See this howto if you aren't familiar with this configuration:
http://support.microsoft.com/kb/323380/en

Keep us updated.

Best,

Marcus

 

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #16 on: April 23, 2012, 06:33:53 am »
Hello yudidw2,

Since the start of this thread, have you rebooted your PC ?

You may also try to flush your DNS:
1) Click Start

2) Search for "cmd.exe" (it should start your shell)

3) type:
Code: [Select]
ipconfig /flushdns
4) restart ThunderBird and test

**Also, please make sure that you leave the DNS auto-configuration to your desktop.  See this howto if you aren't familiar with this configuration:
http://support.microsoft.com/kb/323380/en

Keep us updated.

Best,

Marcus

already done that, but still thunderbird can't connect to the server.
all pc in office cannot connect via thunderbird to that mail server (domain.com)

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #17 on: April 23, 2012, 07:12:51 am »
I suspect - again - something wrong client side.
Look at attached pic. This is how it looks on my own Thunderbird (Ubuntu).

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #18 on: April 23, 2012, 11:10:52 am »
I suspect - again - something wrong client side.
Look at attached pic. This is how it looks on my own Thunderbird (Ubuntu).
same with mine

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #19 on: April 23, 2012, 11:18:57 am »
No this is not the same  ;)
You target port 587 but no security (e.g. STARTTLS) and you provide login (here test@domain.com) and authentication method differs too.

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #20 on: April 23, 2012, 11:20:02 am »
this is the capture of error

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #21 on: April 23, 2012, 11:45:27 am »
your last capture is showing that you even can't resolve this name at OS level (while you explained the opposite  ::) ) thus there is no chance it works using Thunderbird  8)
Could you please post the result of:
Code: [Select]
ipconfig /all

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #22 on: April 23, 2012, 11:49:33 am »
your last capture is showing that you even can't resolve this name at OS level (while you explained the opposite  ::) ) thus there is no chance it works using Thunderbird  8)
Could you please post the result of:
Code: [Select]
ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Titan
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 4:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : D-Link DFE-538TX 10/100 Adapter
   Physical Address. . . . . . . . . : 00-05-5D-42-84-B4
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection 3:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Atheros AR8131 PCI-E Gigabit Ethernet Con
troller (NDIS 6.20)
   Physical Address. . . . . . . . . : F4-6D-04-D9-2E-E8
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::d84a:cea1:c9dc:f3b7%20(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.42.181(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.42.1
   DHCPv6 IAID . . . . . . . . . . . : 435449092
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-72-D7-42-00-15-58-24-CC-E0

   DNS Servers . . . . . . . . . . . : 192.168.42.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #23 on: April 23, 2012, 11:52:36 am »
Is 192.168.42.1 your Zentyal server?
Type, from your client:
Code: [Select]
nslookup mail.mydomain.com

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #24 on: April 23, 2012, 11:56:31 am »
Is 192.168.42.1 your Zentyal server?
Type, from your client:
Code: [Select]
nslookup mail.mydomain.com

Server:  xxx.mydomain.com (firewall)
Address:  192.168.xxx.xxx

Non-authoritative answer:
Name:    mail.mydomain.com
Address:  xxx.xxx.xxx.xxx

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #25 on: April 23, 2012, 12:29:34 pm »
 ;D ;D ;D I realize now that you made some effort to hide everything in your previous attachment reason why I tough name was not resolved (I read it too quickly too  :-[)

However I notice you can't ping (reach ?) it.

PS: no need to hide your internal IP (192.168.42.x): this is RFC1817 compliant => no one will access it from outside  ;)
even in your last reply, you replace your DNS IP with xxx. Who cares if this is 192.168.42.1 or 192.168.42.254?

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #26 on: April 24, 2012, 03:44:20 am »
;D ;D ;D I realize now that you made some effort to hide everything in your previous attachment reason why I tough name was not resolved (I read it too quickly too  :-[)

However I notice you can't ping (reach ?) it.

PS: no need to hide your internal IP (192.168.42.x): this is RFC1817 compliant => no one will access it from outside  ;)
even in your last reply, you replace your DNS IP with xxx. Who cares if this is 192.168.42.1 or 192.168.42.254?

192.168.42.1 is the firewall server
192.168.42.2 is the zentyal server (mail server).
at client i can ping the mail.mydomain.com or the ip address of zentyal server.
but when connect using thunderbird time out

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #27 on: April 24, 2012, 06:27:39 am »
1 - did you try, from command line:
Code: [Select]
telnet 25 mail.mydomain.com
2 - Did you look at firewall logs for rejected or dropped packets?

yudidw2

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #28 on: April 24, 2012, 08:52:29 am »
1 - did you try, from command line:
Code: [Select]
telnet 25 mail.mydomain.com
2 - Did you look at firewall logs for rejected or dropped packets?
Connecting To 25...Could not open connection to the host, on port mail.mydomain.com: Connect failed

christian

  • Guest
Re: SMTP using ipaddress ok but using mydomain.com timeout
« Reply #29 on: April 24, 2012, 09:18:38 am »
So do not wonder why Thunderbird fails.

I definitely advise you to look at firewall rules and log to ensure you can access.
What is very strange to me is that you can access using IP.
Can you try to make it simple, from Thunderbird standpoint (for testing purpose) and set up your SMTP server using port 25 (no TLS, no auth...)?