Cannot set up SMTP and cannot connect to update server
I've just installed Bugzilla version 5.0.4 on a corporate Windows server on IIS.
I have two problems with the installations which might be related somehow.
The first is that I cannot set up a connection to Gmail's SMTP server through any means. The error message is displayed when saving the settings, "Cannot connect to smtp server ..."
I tried to manually edit params.json, this way the values are at least "saved", but when the application tries to send mails it returns a similar error.
I've enabled debugging as well and checked the logs generated by IIS, they are of no information (to me at least).
I though the problem might be firewall related, but it looks like it is not, since I am successfully sending mails from another application on the same server through this exact same SMTP server (to be specific: smtp.gmail.com, port 587), and I can also ping and telnet into this address and port.
I've tried all of the different smtp servers and port combinations from this Google Support article, to no avail:
The second problem occurs on the home page, stating the following:
"The remote file http://updates.bugzilla.org/bugzilla-update.xml cannot be downloaded (reason: 500 Can't connect to updates.bugzilla.org:80 (nodename nor servname provided, or not known))."
The problem is similar to the first one, since I can successfully ping and telnet into this address, only Bugzilla cannot access it.
Running checksetup.pl informs me that the mandatory modules are installed, there are some optional ones which are not. It gives me the commands to install them but none of them work: "Can't find any package that provides <modulename>"
ppm itself works because all the other modules I installed successfully by hand.