Moved Passbolt to new location, email not workig

Checklist
[x] I have read intro post: About the Installation Issues category
[x] I have read the tutorials, help and searched for similar issues
[x] I provide relevant information about my server (component names and versions, etc.)
[x] I provide a copy of my logs and healthcheck
[x] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue

Hello all,
@home i use passbolt for some time and it works great.
I made a new VM instance with Ubuntu 18.04 and the latest passbolt for testing on a remote site.
So imported the vm on the local site, de do not have DHCP ,DNS and the network is local only.
So a assigned fixed IP adress to ubuntu (sudo nano /etc/netplan/01-netcfg)

Edited

 sudo nano /etc/nginx/conf.d/passbolt.conf
  and change the server_name    ip adres to the new ip

sudo nano config/passbolt.php

[code]‘fullBaseUrl’ => ‘http://new_ip’,

email transport 
'default' => [
        'host' => 'local SMTP IP',
        'port' => 25,
        'timeout' => 30,
        'username' => null,
        'password' => null,
        // Is this a secure connection? true if yes, null if no.
        'tls' => null,
        //'timeout' => 30,
        //'client' => null,
        //'url' => null,

[/code]

Now the webpage loads, but the admin account witch i set up does not send email
Smtp answerrs not accepted with Doesnotexist@domain.com

So i found in SendTestEmailTask.php

   $recipient = $this->param('recipient');
        if (empty($recipient)) {
            $recipient = 'Your.name@yourdomain.com';

Now the
sudo ./bin/cake passbolt send_test_email –-recipient=your.name@yourdomain.com runs fine now

But http://my_IP/users/recover , does not send emails
is there any log from the mailer ? or other places to look

How about the /var/log/mail.log on the server? Anything there?

We did change lots of things, the LOG was empty.
In the end we decided to delete the VM-Ubuntu and we did a complete new installation.
Everything is now functioning properly.

Probably addresses of the installation in Passbolt are written at various places, outside the locations mentioned in the starting post.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.