1

I have VM1 acting as an Active Directory and DNS server, and have installed SmarterMail (Free) on VM2.

If I remote desktop to VM2 I can connect to the mail server fine if I use 127.0.0.1:25. However if I use the computer name VM2:25 or VM2.domain.local:25 the connection times out.

In DNS I've added an MX record and pointed it back to VM2. This didn't make any difference.

I've checked the firewall settings (although I wouldn't think they would apply when logged on to the local machine) and added a rule for TCP on ports 25 and 110.

Still I can't connect when using the actual machine name. Any ideas?

Update based on Jim B's answer:

  1. I can ping vm2 and get its IPv6 address returned.

  2. Turning off Windows Firewall makes no difference.

  3. I've tried enabling every relevant setting without success. (In terms of relay, the default settings seem to let you log in but won't let you relay without an account.)

I didn't mention there are two NICs on this VM, one set on the internal network of 192.168.200.x and the other set on NAT. I've bound SmarterMail to 192.168.200.x but alas still no progress.

2 Answers 2

1

If you cannot connect there is probably a firewall problem. An MX record is used by other mailservers to look up the ip of the mailserver for the domain specified so it will not affect the ability to connect at all.

I would:

  1. ping vm2 and verify the IP returned

  2. turn off windows firewall and see if you can connect to the IP of vm2.

  3. verify that there are no connection setting inside of smartermail that prevent connections from hosts. Some mail servers have settings that will prevent it from taking mail connections from unspecified IP addresses.

1
  • Thanks for your suggestions. Unfortunately nothing worked so far but I've updated the answer.
    – Alex Angas
    Jun 27, 2010 at 23:24
0

I was able to find SmarterMail binding to 127.0.0.1 instead of 192.168.200.2 (the IP of VM2). After changing that I was able to successfully use telnet to connect to ports 25 and 110.

Unfortunately Outlook still refused to connect, but as SmarterMail has a webmail feature, that is a "good enough" solution for now.

1
  • I'll leave this open for a little while in case someone else has some more ideas. I think there is a routing issue because of the two NICs.
    – Alex Angas
    Jun 28, 2010 at 5:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .