I haven't configured gitlab to send directly to the gmail smtp server so I couldn't help you with that, but it appears that you have that working. I have configured another program to work with the gmail smtp server and what I learned in that process is that whatever account logs into gmail's smtp server is the email address that will be used for sending the email.
As far as I know that is something that google enforces. Probably so that you can't use their SMTP servers for sending spam without it being traceable directly to you. You might do some searching on sending email through the gmail smtp servers, but I didn't find anything when I looked about a year ago. I got around it by sending email through my ISP's smtp servers instead of google's smtp servers. On Sunday, November 11, 2018 at 12:41:09 AM UTC-6, Kaushal Shriyan wrote: > > > > On Saturday, 27 October 2018 20:37:44 UTC+5:30, Kaushal Shriyan wrote: >> >> >> >> On Tuesday, 23 October 2018 00:03:11 UTC+5:30, Kaushal Shriyan wrote: >>> >>> >>> >>> On Tuesday, 16 October 2018 20:34:34 UTC+5:30, Kaushal Shriyan wrote: >>>> >>>> >>>> >>>> On Friday, October 12, 2018 at 10:51:32 PM UTC+5:30, Kaushal Shriyan >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I have the below Gmail SMTP settings in /etc/gitlab/gitlab.rb and >>>>> referring to https://docs.gitlab.com/omnibus/settings/smtp.html. It >>>>> is working perfectly fine. But when i receive the email for example >>>>> password reset or adding new user i am getting the email from address as >>>>> *gic...@digitprodtest.com >>>>> <javascript:>* instead of *git...@digitprodtest.com <javascript:>* >>>>> >>>>> Am i missing anything or is there any issue with >>>>> *gitlab_rails['gitlab_email_from'] >>>>> = "git...@digitprodtest.com <javascript:>"* ? >>>>> >>>>> gitlab_rails['gitlab_email_enabled'] = true >>>>> gitlab_rails['gitlab_email_from'] = "git...@digitprodtest.com >>>>> <javascript:>" >>>>> gitlab_rails['gitlab_email_display_name'] = 'GitLab' >>>>> gitlab_rails['smtp_enable'] = true >>>>> gitlab_rails['smtp_address'] = "smtp.gmail.com" >>>>> gitlab_rails['smtp_port'] = 587 >>>>> gitlab_rails['smtp_user_name'] = "gic...@digitprodtest.com >>>>> <javascript:>" >>>>> gitlab_rails['smtp_password'] = "Test$%&*$" >>>>> gitlab_rails['smtp_domain'] = "smtp.gmail.com" >>>>> gitlab_rails['smtp_authentication'] = "login" >>>>> gitlab_rails['smtp_enable_starttls_auto'] = true >>>>> gitlab_rails['smtp_tls'] = false >>>>> gitlab_rails['smtp_openssl_verify_mode'] = 'peer' # Can be: 'none', >>>>> 'peer', 'client_once', 'fail_if_no_peer_cert', see >>>>> http://api.rubyonrails.org/classes/ActionMailer/Base.html >>>>> >>>>> https://support.google.com/mail/answer/22370?hl=en >>>>> >>>>> Any help will be highly appreciable. Thanks in Advance. >>>>> >>>>> Best Regards, >>>>> >>>>> Kaushal >>>>> >>>> >>>> Hi, >>>> >>>> Checking in again if somebody can pitch in for help for my earlier post >>>> to this google group forums. >>>> >>>> Best Regards, >>>> >>>> Kaushal >>>> >>> >>> >>> Hi, >>> >>> Checking in again if somebody can pitch in for help for my earlier post >>> to this google group forums. >>> >>> Best Regards, >>> >>> Kaushal >>> >> >> Hi, >> >> I have been following up with this group regarding my earlier question >> and will appreciate if somebody can pitch in for help. Thanks in Advance. >> >> Best Regards, >> >> Kaushal >> > > Hi Again, > > I have been following up with this group regarding my earlier question and > will appreciate if somebody can pitch in for help. Is there a way to debug > and fix the issue. > > Thanks in Advance. > > Best Regards, > > Kaushal > -- 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/c879a50b-2b54-441d-9112-462c22186feb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.