I have started hosting a friends site as well as their email. They are receiving mail through their client (Outlook express) but they can not send. When sending they are getting the following error:
The connection to the server has failed. Subject ‘test’, Account: ‘mail.mydomain.com’, Server: ‘mail.mydomain.com’, Protocol: SMTP, Port: 25, Secure(SSL): Yes, Socket Error: 10060, Error Number: 0x800CCC0E
I have tried using authentication in the mail client (outlook ) but this did not help.
My virtualmin is using the Postfix mail server.
I am not very comfortable with ‘mail’ issues so I was hoping someone could point me in the right direction.
Unless you have a non-default Postfix configuration, you’re trying to connect using SSL on a port that does not accept SSL. Either turn off encryption in the client, or setup Postfix to accept SMTPS connections (or “submission”), and configure the client to connect on either the smtps or submission ports.
I am not sure why it says I am trying to connect using SSL…I am not. I tried connecting using Thunderbird mail as well and it says the server is not allowing SMTP connections.
I am using a hardware firewall and Port 25 is open. Yet I try to telnet on port 25 and it is not connecting. Any idea where I can start to troubleshoot. Is there documentation on the site for setting up SMTP connections.
A simpler way may be to enable SMTPS and/or Submission, which allows you to securely access your SMTP server using SSL or TLS – and they use ports 465 and 587.
If you change your SMTP port from 25, no one would be able to send you mail.
To enable those, go into Webmin -> Servers -> Postfix -> SMTP Authentication And Encryption, and make sure "Enable SASL SMTP authentication" and "Enable TLS encryption" are enabled.
Then you’d just configure your email client to use it.
For example, you could configure it to authenticate using SSL, and use port 465.
-Eric