# Moved Passbolt to new location, email not workig

**URL:** <https://community.passbolt.com/t/moved-passbolt-to-new-location-email-not-workig/2177>\
**Category:** Installation Issues\
**Created:** [November 8, 2019, 2:07pm UTC](https://community.passbolt.com/t/moved-passbolt-to-new-location-email-not-workig/2177 "2019-11-08T14:07:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterSmout](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@PeterSmout](https://community.passbolt.com/u/PeterSmout)\
**Post date:** [November 8, 2019, 2:07pm UTC](https://community.passbolt.com/t/moved-passbolt-to-new-location-email-not-workig/2177/1 "2019-11-08T14:07:34Z")

</div>

**Checklist**  
[x] I have read intro post: [About the Installation Issues category](https://community.passbolt.com/t/about-the-installation-issues-category/12)  
[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

```auto
 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](mailto:Doesnotexist@domain.com)

So i found in SendTestEmailTask.php

```auto
   $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

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [November 13, 2019, 11:48am UTC](https://community.passbolt.com/t/moved-passbolt-to-new-location-email-not-workig/2177/2 "2019-11-13T11:48:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![PeterSmout](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@PeterSmout](https://community.passbolt.com/u/PeterSmout)\
**Post date:** [November 14, 2019, 12:24pm UTC](https://community.passbolt.com/t/moved-passbolt-to-new-location-email-not-workig/2177/3 "2019-11-14T12:24:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [November 19, 2019, 12:24pm UTC](https://community.passbolt.com/t/moved-passbolt-to-new-location-email-not-workig/2177/4 "2019-11-19T12:24:38Z")

</div>

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