title: Can't Telnet to SMTP server on port 25 but PHP mail() works
body: <p>Not having found any answers to this question: <a href="https://stackoverflow.com/questions/28021821/php-mail-function-from-inside-vmware-virtual-machine-win7?noredirect=1#comment44438016_28021821">PHP mail() function from inside VMWare virtual machine (Win7)</a></p>
  
  <p>I have decided to try something new. I set up an SMTP relay on a machine. I can use it and receive mail inside its spooling directory just fine. 
  However when I try to set it up to forward mail to an already configured SMTP server (called "mail", at port 25) it fails.</p>
  
  <p>Telnet also fails on port 25, so it seems normal that it wouldn't work - "Connection refused" is the error from telnet.</p>
  
  <p>But the really strange thing is that if I set up an Apache/PHP server on this machine and use the mail function of PHP (configured to connect to "mail" at port 25) it works! I can send emails from PHP (which I don't need) but I can't telnet to the machine.</p>
  
  <p>Anyone ever see something like this? It's driving me crazy!</p>
  
  <p>Thanks in advance</p>