Hello! I recently installed Zimbra on Microsoft Azure for a project i need to do. The admin panel is working fine and i can receive emails from gmail for example, but i cannot send any emails. MXtoolbox errors:

I'm afraid that information you've supplied doesn't show anything other a test of your server by the MXtoolbox test sites and there's nothing wrong with what you've posted. You're going to have to give a bit more information about your exact problem.

phoenix wrote:I'm afraid that information you've supplied doesn't show anything other a test of your server by the MXtoolbox test sites and there's nothing wrong with what you've posted. You're going to have to give a bit more information about your exact problem.

What do you want me to post? I'm a beginner so I don't know much about the logs here. Here is the zimbra log when I'm trying to send from my zimbra account (on azure VM) to my gmail account:

That information only shows that an attempted connection to gmail "timed out", that's the reason you can't send mail. You'll have to determine why you can't make an outbound connection on port 25, perhaps you have a firewall problem or your ISP is blocking outbound port 25? You can confirm this behaviour by connecting to the ZCS server via ssh then doing a "telnet <gmail ip> 25" - pick one of the gmail IPs and see what happens.

phoenix wrote:That information only shows that an attempted connection to gmail "timed out", that's the reason you can't send mail. You'll have to determine why you can't make an outbound connection on port 25, perhaps you have a firewall problem or your ISP is blocking outbound port 25? You can confirm this behaviour by connecting to the ZCS server via ssh then doing a "telnet <gmail ip> 25" - pick one of the gmail IPs and see what happens.

Ok, so I did a telnet on port 25 and didn't connect, but it did connect on port 465. What do I need to change so that I can work with that port? Also, thank you for your help.

diznpc wrote:Ok, so I did a telnet on port 25 and didn't connect, but it did connect on port 465. What do I need to change so that I can work with that port? Also, thank you for your help.

SMTP doesn't work like that. If you are sending (and receiving) mail to and from other mail servers then they connect over port 25 and only that port for an SMTP connection. Port 465 is a 'submission' port for 'fat' mail clients to connect to a mail server and send mail which then goes out via port 25. You need to determine why you can't connect via port 25, as I mentioned you may have a firewall problem of an ISP that doesn't let you send outbound mail via port 25, as I don't know your configuration I'm not able to advise you what to do next.

I'm guessing that's your problem, what they're talking about in that article is you using a mail relay service that will allow you to send mail via another server (on port 587 or 465) so that you're not blocked - It's most likely that some of these services charge a fee. You could always use a hosting provider that doesn't block port 25.

diznpc wrote:Ok, so I did a telnet on port 25 and didn't connect, but it did connect on port 465. What do I need to change so that I can work with that port? Also, thank you for your help.

SMTP doesn't work like that. If you are sending (and receiving) mail to and from other mail servers then they connect over port 25 and only that port for an SMTP connection. Port 465 is a 'submission' port for 'fat' mail clients to connect to a mail server and send mail which then goes out via port 25. You need to determine why you can't connect via port 25, as I mentioned you may have a firewall problem of an ISP that doesn't let you send outbound mail via port 25, as I don't know your configuration I'm not able to advise you what to do next.

I'm guessing that's your problem, what they're talking about in that article is you using a mail relay service that will allow you to send mail via another server (on port 587 or 465) so that you're not blocked - It's most likely that some of these services charge a fee. You could always use a hosting provider that doesn't block port 25.

It is a spelling error. I've pointed people to that article for years and you're the first one to point out that error, thanks for that and I've corrected it.

BTW, I'd be interested to hear how you get on with using the mail relay service. If you have the time when you' got it running and a spare moment could you post an update in this thread? If if your issue is resolved could you also mark this thread as ["Solved]" (unfortunately you'll have to edit your first post to modify the title)?