SOLVED Can we disable the GitLab welcome email or chose a different default address?
This took a while to wrap my head around, but I think I've got it right:
Just installed GitLab to play around a little and was confused by an email chain that happened during setup. After finishing the installation, GitLab tries to send an email from to firstname.lastname@example.org to email@example.com (sic!) > Subject: Access to the GitLab Instance group was granted
I've set up Integromat to check for bounced Postmark messages to let my users know when their mail wasn't delivered.
So Postmark is trying to contact firstname.lastname@example.org about a bounced message via email@example.com (using that for notifications), which of course can't be delivered either because firstname.lastname@example.org doesn't accept mails.
So this mail then also bounces back to email@example.com which eventually informs me that a message bounced, including an attachment about a bounced message. Does that make sense?
This happens two more times (after you set a root password > Subject: Password Changed and after you changed the email address > Subject: Email Changed.
If the owner of example.com decides to create a catchall address, they could easily take over a fresh GitLab by setting the root password before we do.
Took me a minute to understand what's going on, not sure if it's worth fixing, but this messes with my Postmark statistic of bounced email
Good catch! I saw the same thing happen when I set up my Gitlab instance recently.
example.comisn't owned by anyone so there won't ever be a catchall address, but still worth it to take a look and fix this, imo.
robi last edited by
I've "fixed" this by creating a new domain with no-op DNS for cloudron.local, after which you can set up an admin mailbox and make yourself the owner.
repeat for any other domains you encounter as the apps packaged don't all use the same local admin email.
it would be nice to track all these apps down and have cloudron ship with this admin email catch already set up for the superadmin account you initially create.
robi last edited by
@robi That's an innovative solution!
Yes, mr. innovation over here I do it professionally.