Please see the newly added documentation in Omnibus added because of
your questions 
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#emails-are-not-being-delivered

On Wed, Jul 30, 2014 at 10:44 AM, Marcus Berglund <[email protected]> wrote:
> As I was able to use sendmail outside of gitlab (as long as I am able to
> specify the sender), I replaced the smtp configuration shown below (in
> /etc/gitlab/gitlab.rb) with one line:
>
> gitlab_rails['gitlab_email_from'] = "<sender email address>"
>
> Running gitlab-ctl reconfigure resulted in sendmail being used and the
> sender address being set properly (my upstream smtp gw requires sender email
> addresses to be permissioned).
>
> It works now.
> ...
>
>
> On Tuesday, 29 July 2014 17:55:57 UTC+2, Marcus Berglund wrote:
>>
>> Hello all.
>>
>> I have been trying to create a functioning configuration in
>> /etc/gitlab/gitlab.rb that would enable gitlab to send mail.
>>
>> So far, I have not been successful.
>>
>> I spent some time trying to configure the smtp settings as described on
>> https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
>> I could not get it to work. I was able to gitlab-ctl reconfigure ok but
>> the closest I would get to a working setup was that the smtp gw saw a
>> connection attempt followed by nothing, then disconnect.
>>
>> So - now I'm trying to figure out how to use /etc/gitlab/gitlab.rb to
>> configure gitlab to use sendmail instead.
>> I have not been able to find any relevant examples of how to do this.
>>
>> All examples I can find involve adding the configuration to production.rb
>> or similar - but I have no idea how to convert these settings into a syntax
>> (in /etc/gitlab/gitlab.rb) that can be used by gitlab-ctl reconfigure.
>>
>> Does anyone have a working example of an /etc/gitlab/gitlab.rb
>> configuration file that generates a valid sendmail configuration when
>> running gitlab-ctl reconfigure ?
>>
>> Something that sets the sender ( sendmail -f <send as user> ) would be
>> fantastic.
>>
>> Would really appreciate some pointers in the right direction ...
>>
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/3d1771d1-c5e9-4712-add0-68ba8dd5b70b%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAEG31mPj355aariVadp%3DZyaNSnwAccjLnsuA2BQb4LrDANXjRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to