0

I've installed gitlab on a centOS 7 server with omnibus package but when I try to create an user on gitlab the mails are not sent. I've opened the post 25 with :

sudo firewall-cmd   --add-port=25/tcp

But I'm not sure about the psotfix configuration (set hosts,user,password)

I'm using the docs config

gitlab_rails['smtp_enable'] = true;
gitlab_rails['smtp_address'] = 'localhost';
gitlab_rails['smtp_port'] = 25;
gitlab_rails['smtp_domain'] = 'localhost';
gitlab_rails['smtp_tls'] = false;
gitlab_rails['smtp_openssl_verify_mode'] = 'none'
gitlab_rails['smtp_enable_starttls_auto'] = false
gitlab_rails['smtp_ssl'] = false
gitlab_rails['smtp_force_ssl'] = false
afdi2
  • 3
  • 2
  • `sudo firewall-cmd --add-port=25/tcp` opens port 25 for incoming SMTP traffic, which is generally not needed when you only send mail from a server. - Do your log files contain any relevant details/errors/warnings? – HBruijn Jul 02 '18 at 13:48
  • I have this message on logs `warning: Illegal address syntax from localhost[::1] in MAIL command: ` – afdi2 Jul 02 '18 at 14:05
  • It seems as if your Email is accepted but the Local Server but cannot be forwarded due to Postfix Configuration Issue. It is certainly not a Firewall Issue. – Bodo Hugo Barwich Jul 02 '18 at 14:23
  • if you try to send an Email to a User using the IP Address of its Machine Postfix will give you an Error: `Jul 2 15:27:14 mailserver postfix/smtpd[4371]: warning: Illegal address syntax from mailserver[127.0.0.1] in RCPT command: ` the recipient needs a Machine with Canonical Name or some name that can be resolved with an DNS Request. – Bodo Hugo Barwich Jul 02 '18 at 14:31

0 Answers0