{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/211","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/211/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/211/events","html_url":"https://github.com/sameersbn/docker-gitlab/pull/211","id":49622352,"number":211,"title":"Add configuration for sendmail","user":{"login":"msteinert","id":202852,"avatar_url":"https://avatars.githubusercontent.com/u/202852?v=3","gravatar_id":"","url":"https://api.github.com/users/msteinert","html_url":"https://github.com/msteinert","followers_url":"https://api.github.com/users/msteinert/followers","following_url":"https://api.github.com/users/msteinert/following{/other_user}","gists_url":"https://api.github.com/users/msteinert/gists{/gist_id}","starred_url":"https://api.github.com/users/msteinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msteinert/subscriptions","organizations_url":"https://api.github.com/users/msteinert/orgs","repos_url":"https://api.github.com/users/msteinert/repos","events_url":"https://api.github.com/users/msteinert/events{/privacy}","received_events_url":"https://api.github.com/users/msteinert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-20T21:46:09Z","updated_at":"2015-06-17T13:55:36Z","closed_at":"2015-02-09T17:05:17Z","pull_request":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/pulls/211","html_url":"https://github.com/sameersbn/docker-gitlab/pull/211","diff_url":"https://github.com/sameersbn/docker-gitlab/pull/211.diff","patch_url":"https://github.com/sameersbn/docker-gitlab/pull/211.patch"},"body":"If `SENDMAIL_ENABLED` is set to `true` then postfix will be started and Gitlab will be configured to use sendmail. If both `SENDMAIL_ENABLED` and `SMTP_ENABLED` are `true` then the sendmail feature is disabled. The configuration for postfix is simple; it is setup as a relay.\r\n\r\nPostfix forks into the background and as a result cannot be started under supervisord. See the following link for more background information:\r\n\r\nhttp://goo.gl/F4neAQ\r\n\r\nCloses sameersbn/docker-gitlab#208\r\n\r\nI opted to use postfix over sendmail because postfix is the default MTA on Ubuntu and is significantly easier to configure."},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/comments/112810029","html_url":"https://github.com/sameersbn/docker-gitlab/pull/211#issuecomment-112810029","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/211","id":112810029,"user":{"login":"kain88-de","id":4302678,"avatar_url":"https://avatars.githubusercontent.com/u/4302678?v=3","gravatar_id":"","url":"https://api.github.com/users/kain88-de","html_url":"https://github.com/kain88-de","followers_url":"https://api.github.com/users/kain88-de/followers","following_url":"https://api.github.com/users/kain88-de/following{/other_user}","gists_url":"https://api.github.com/users/kain88-de/gists{/gist_id}","starred_url":"https://api.github.com/users/kain88-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kain88-de/subscriptions","organizations_url":"https://api.github.com/users/kain88-de/orgs","repos_url":"https://api.github.com/users/kain88-de/repos","events_url":"https://api.github.com/users/kain88-de/events{/privacy}","received_events_url":"https://api.github.com/users/kain88-de/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T13:55:36Z","updated_at":"2015-06-17T13:55:36Z","body":"@skython did this setup work for you? I have created the docker containers locally like you described but I never get an email from this setup.\r\n\r\nthe `production.log` from gitlab says that it has send all emails. But when I check the `mail.log` in the postfix container I see no attempt to send a mail at all. I see that gitlab attempts to send email when I use `smtpd_relay_restrictions` in `/etc/postfix/main.cf`. But all those attempts say that the SASL Authentication failed. \r\n\r\nWas there maybe anything missing in your setup?"}}