# User invitation email link has wrong domain name

**URL:** <https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825>\
**Category:** Uncategorized\
**Created:** [January 26, 2022, 4:30pm UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825 "2022-01-26T16:30:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpayn0123](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dpayn0123](https://community.passbolt.com/u/dpayn0123)\
**Post date:** [January 26, 2022, 4:30pm UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/1 "2022-01-26T16:30:01Z")

</div>

Just installed Passbolt CE on Ubuntu 20.04, vmware vm

my server name is pb. **mydomainName**.com

When I send the invitation email for a new user that I create, the link contains a domain name that is not associated with my PB installation. However, I own and use the “other” domain name internally and outside of our network:

[http://url7032](http://url7032). **oneOfMyOtherDomainNames**.com/ls/click?upn=9u9PdQc-2BMRctDVwXxLqshJ9E-2FDvv9kaxTjvZB8p8x5m22C12BRg-2FK-2BQFO0Ll3MCIthDMO55DU9inqcnlzNi1E0aUevXvSh4zfUmZ0lq2e4q0otDb5cMr5kq2S85hmiNeoBJH0sE-2FEBLgnL5b1IcxZ224NgF2BpoXIoZCd8fn5Js-3DxYTC\_fq0l1iXIAZziJtVYrmBHc5BPex7YDaFaFUPvr3JBiMGvD8rhITQZGBv4iFKCx6tdquLM0e4yviL…

I am not sure why this is happening, nor how to correct it.

My Other Domain Name was never used during the Passbolt setup. It’s very odd.

---

<div class="post-metadata">

**Author:** ![AnatomicJC](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/anatomicjc/32/962_2.png) [@AnatomicJC](https://community.passbolt.com/u/AnatomicJC)\
**Post date:** [January 26, 2022, 4:44pm UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/2 "2022-01-26T16:44:52Z")

</div>

Hi,

If you open **/etc/passbolt/passbolt.php** configuration file, you will find a **fullBaseUrl** parameter. Is the value of this parameter correct ? It must be your passbolt main url.

Best,

---

<div class="post-metadata">

**Author:** ![joaoafricano](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@joaoafricano](https://community.passbolt.com/u/joaoafricano)\
**Post date:** [February 22, 2025, 6:19pm UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/3 "2025-02-22T18:19:23Z")

</div>

> [@AnatomicJC](#):
>
> /etc/passbolt/passbolt.php

I have the same problem, and I looked for the file mentioned in the mentioned folder, but I can’t find this passbolt.php file.

Could you help me?

---

<div class="post-metadata">

**Author:** ![antony](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/antony/32/3130_2.png) [@antony](https://community.passbolt.com/u/antony)\
**Post date:** [February 24, 2025, 10:36am UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/4 "2025-02-24T10:36:30Z")

</div>

Hello @joaoafricano ,

On which distribution are you running passbolt? If you are on Docker, you might want to take a look at the docker compose file with the `APP_FULL_BASE_URL` environment variable.

---

<div class="post-metadata">

**Author:** ![joaoafricano](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@joaoafricano](https://community.passbolt.com/u/joaoafricano)\
**Post date:** [February 24, 2025, 11:15am UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/5 "2025-02-24T11:15:57Z")

</div>

Hello antony, thanks for answering.

I’m using docker, here’s the content of the compose file.

version: ‘3.3’  
services:

passbolt:  
image: passbolt/passbolt:latest-ce  
#Alternatively you can use rootless:  
#image: passbolt/passbolt:latest-ce-non-root  
restart: unless-stopped

```
environment:
  APP_FULL_BASE_URL: http://192.168.15.5:8081
  DATASOURCES_DEFAULT_HOST: "mariadb"
  DATASOURCES_DEFAULT_USERNAME: "passbolt_user"
  DATASOURCES_DEFAULT_PASSWORD: "Senh@P4ssb0lt"
  DATASOURCES_DEFAULT_DATABASE: "passbolt_db"
  EMAIL_DEFAULT_FROM_NAME: "joao@joaoafricano.com.br"
  EMAIL_DEFAULT_FROM: "joao@joaoafricano.com.br"
  EMAIL_TRANSPORT_DEFAULT_HOST: "smtp.sendgrid.net"
  EMAIL_TRANSPORT_DEFAULT_PORT: "587"
  EMAIL_TRANSPORT_DEFAULT_USERNAME: "apikey"
  EMAIL_TRANSPORT_DEFAULT_PASSWORD: "&hhdf98*UHDKKLD09ppkfd;lfk(DIlkjmf9U(FDppjoidfjpo(LKHJDF\}{SDF}"
  EMAIL_TRANSPORT_DEFAULT_TLS: "true"
volumes:
  - gpg_volume:/etc/passbolt/gpg
  - jwt_volume:/etc/passbolt/jwt
command: ["/usr/bin/wait-for.sh", "-t", "0", "mariadb:3306", "--", "/docker-entrypoint.sh"]
ports:
  - 8081:80
  - 7443:443
networks:
  - guacamole_network
  - passbolt_network

#Alternatively for non-root images:
# - 8080:80
# - 4433:433

```

networks:  
guacamole\_network:  
external: true  
passbolt\_network:  
name: passbolt\_network  
driver: bridge  
volumes:  
gpg\_volume:  
jwt\_volume:

In this case I am using another container with the mariadb database, which is on the guacamole\_network .

As you can see, the APP\_FULL\_BASE\_URL variable is filled in.

Everything works, the email reaches the recipient.

Below is a copy of the email that arrives.

=====================================================================

Rina Arielle ([joao@alwaystec.com.br](mailto:joao@alwaystec.com.br))  
joao just created an account for you on passbolt!  
Feb 23, 2025, 19:18 (UTC)

### Welcome Rina,

Joao just invited you to join passbolt at [http://192.168.15.5:8081/](http://url8171.joaoafricano.com.br/ls/click?upn=u001.Wo0KgKWkj5IMtfByutKKaRW4bdzPg4JLdZ3neRtsOA3Uv3X9506GMz6lk1V-2BzeA-2Fmtez_y3xxRgC62d5qbQ-2BDgOg4JUm2-2FgkcyLkzmreq8d9klEOMMWtZaTbN7kLX8ooJ5vV9-2Ftc84-2FEuUxZlQ1GbzBWpolT2UMP3GquXxtoZ7Ge2rVjqp2NYixhBIHwJn0Oz2ihBFnJ2A-2B72uBUBmR4IB3az-2FFzuFfrSFCiHf-2BGrkY8kmJl2gXk6NmEIagUz-2BccntRmbd7jJtocpfSHXeNhSJk0Lyw-3D-3D) Passbolt is an open source password manager. It is designed to allow sharing credentials securely with your team!

Let’s take the next five minutes to get you started!  
[get started](http://url8171.joaoafricano.com.br/ls/click?upn=u001.Wo0KgKWkj5IMtfByutKKaRW4bdzPg4JLdZ3neRtsOA2HlKn-2BLXsykBHeMmDSYcvIDAO8fqe0VD9E2c4-2BcsYlyus-2BCRIzZZ-2Bfgt0ihLtffiAuUwijqYWq74fYBzXlSk8DQkPgaHhqXaVPsUeB86MDZf5QhsQbrEUcuUssihS2u-2FQ-3DtDYJ_y3xxRgC62d5qbQ-2BDgOg4JUm2-2FgkcyLkzmreq8d9klEOMMWtZaTbN7kLX8ooJ5vV9Ez88518BeCvn5BoQd9dT308JdYLdaGXloU8WfUJsxru9dqAEffp767ih7kaP7M4sV-2Br7tQLNFctNVSaPPL-2FsdIcpGFH0B-2Bm2-2FR6ty4zHOa8F-2BgyY6O1FndHmZeLLMOLezQhAfQm5uwPJhAeLwlSLEQ-3D-3D)

This email is an automatic notification sent by [http://192.168.15.5:8081](http://url8171.joaoafricano.com.br/ls/click?upn=u001.Wo0KgKWkj5IMtfByutKKaRW4bdzPg4JLdZ3neRtsOA1TP03SqDBPJllBZCDznQ2p15Pf_y3xxRgC62d5qbQ-2BDgOg4JUm2-2FgkcyLkzmreq8d9klEOMMWtZaTbN7kLX8ooJ5vV9wL0xY9un3rq1N1RL7ZC-2Bz0Mvp-2F-2F11ReIWYlGgt4Xp-2FNrdVmo-2FdvGP3Qsj8-2Bp9McFyE4MqCJIFKSASzZ9kb-2FNz33LZX6mesY6p1RgYBkENtBTS-2FtVPY-2FBhZX7VVbafgXMXnHR0EFcHHWZOgZH0XkNoQ-3D-3D). You can disable these notifications by requesting an administrator to delete your account.

=====================================================================

Note that although the path appears correct in the email, the link it points to is another one that is not even in the compose file. I have no idea where he gets it from.  
Note that the domain “joaoafricano.com.br” is mine, and the only mention of this domain is in the email.

---

<div class="post-metadata">

**Author:** ![gyaresu](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/gyaresu/32/5320_2.png) [@gyaresu](https://community.passbolt.com/u/gyaresu)\
**Post date:** [February 24, 2025, 4:07pm UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/6 "2025-02-24T16:07:36Z")

</div>

Hi Folks.  
My guess would be that Sendgrid is doing “click tracking” and using a subdomain off either their own domain or yours and then redirecting you to the destination ([http://192.168.168.15.5:8081](http://192.168.168.15.5:8081) or similar).  
Can you confirm this is the case by turning off click tracking in sendgrid for this smtp service?

cheers  
gareth

---

<div class="post-metadata">

**Author:** ![joaoafricano](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@joaoafricano](https://community.passbolt.com/u/joaoafricano)\
**Post date:** [February 25, 2025, 10:26pm UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/7 "2025-02-25T22:26:43Z")

</div>

Hi Gyaresu  
Thank you very much, you saved me, that was exactly it.  
After disabling all the tracking options in SendGrid, everything started working again.  
I was going crazy with this problem.

---

<div class="post-metadata">

**Author:** ![gyaresu](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/gyaresu/32/5320_2.png) [@gyaresu](https://community.passbolt.com/u/gyaresu)\
**Post date:** [February 26, 2025, 7:53am UTC](https://community.passbolt.com/t/user-invitation-email-link-has-wrong-domain-name/4825/8 "2025-02-26T07:53:20Z")

</div>

Excellent! Glad to hear it.  
Let us know if you have any other issues.  
🙂
