ISPConfig, Linux, ubuntu 18.04, Roundcube, google platform - can´t get the e-mail server to work

Discussion in 'Installation/Configuration' started by Jorge Mauricio, Nov 1, 2018.

  1. Jorge Mauricio

    Jorge Mauricio New Member

    I´m relatively new to server setup. I followed the guide on: https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/

    I´m using Google Cloud Compute Engine for the VM instances. Got everything to work fine. Except the part on the e-mail servers and account.

    I changed the SMTP setup to port 2525, since I found out that Google blocks the port 25. The main problem is when I try to send e-mails through the test account. It show the message box "sending message..." but it never goes on. And doesn´t show any other error messages. Here´s the print screen of this part:
    [​IMG]

    Anyone went through a similar problem? Or is it really impossible to set up a mail server with Google Cloud Platform infrastructure? Other tutorial to build e-mail servers using Google Cloud are also accepted.

    Here´s my Google Cloud Firewall Configuration:
    [​IMG]
    On ISPConfig, monitor -> server state, shows that SMTP-Server is offline. I´ve executed /etc/init.d/postfix restart in the terminal but that doesn´t seem to be it. Here are some print screens on some of the logs on ISPConfig:
    [​IMG] [​IMG]
    [​IMG] [​IMG] [​IMG]
    Has anyone ran into this problem and has a solution for it? Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    As far as I know, Google blocks email in their cloud and changing postfix port to 2525 will probably not help you to trick google plus it will cause the mail setup to fail, so the first step to fix your setup is to undo the port change for postfix. If you want to run an email server, better get a VM instance at a cloud provider which allows email servers. If you really want to have a server that is able to send email at Google, then you probably need a second server as a mail relay for sending which accept the emails from your google server at a custom port and then configure that external relay server ibcl. the custom port as relay host under system > server config > mail. A relay server with custom port is configured like this:

    Relay server: myotherserver.tld:2525
     
  3. Jorge Mauricio

    Jorge Mauricio New Member

    Hi till,
    Thanks for the help. I understood what you suggested. Makes sense. But as I said in the beginning of the post, I´m kind of new to server setup, so I have no idea on how I would do that. Do you think you guys would be interested on making a tutorial for this kind of situation? If so, I´d rather wait, as I´m kind of ahead the schedule with this project. Anyway, I´m going to return with the default configuration and try to follow this suggestion with some other sources on the web.
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    The point is you need port 25 for an email server to work. I think that's why @till suggest another server that have port 25 that can relay to your current server that is setup to use port 2525 (or other than port 25).
     

Share This Page