Hi Edward, Thank you for the reply.
I will try your workaround: Perhaps disable postfix, and then delete messages from the postfix queue before re-enabling postfix. I understand the email notification is important security feature. I am now just doing test for setting up gitlab server and so don't want to notify user. When I am ready to setup the production server, I will have user receive this email. Thanks, Stacey On Wednesday, September 14, 2016 at 6:36:57 AM UTC-4, Edward Ned Harvey (gitlabgooglegroup) wrote: > > > From: gitl...@googlegroups.com <javascript:> [mailto: > gitl...@googlegroups.com <javascript:>] On > > Behalf Of staceyt...@gmail.com <javascript:> > > Subject: How to turn off email notification when adding ssh key for > users? > > Alerting users about new ssh keys that are able to access their accounts > is an important security feature. Remember that major github hack about 3 > years ago? It is not normal to add ssh keys to a user account without > notifying them, and there may not be any graceful way to change that > behavior. > > Perhaps disable postfix, and then delete messages from the postfix queue > before re-enabling postfix. > > Or maybe there's an official way. You might find an official way if you > keep browsing all the settings and documentation. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/68129471-af2f-430d-b072-0189959a560b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.