Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How do I config postfix to accept sending email from gitlab installed on a subdomain?
I have a postfix installed on example.com. I installed gitlab on git.example.com and I have configured gitlab to send email through my postfix. here is my gitlab.rb:
gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "example.com" gitlab_rails['smtp_port'] = 25 gitlab_rails['smtp_user_name'] = "root" gitlab_rails['smtp_password'] = "password" gitlab_rails['smtp_domain'] = "example.com" gitlab_rails['smtp_authentication'] = :plain gitlab_rails['smtp_enable_starttls_auto'] = true
But I get this error on postfix log file:
example postfix/smtpd: connect from git.example.com example postfix/smtpd: lost connection after STARTTLS from git.example.com example postfix/smtpd: disconnect from git.example.com
I think there is a problem with postfix configuration.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×