Can not send emails via remote email server
Created by: airekans
Hi, all.
I've installed GitLab 4.0 on CentOS 6.2 successfully. But I cannot setup email notifier properly with remote email server. I run GitLab in production mode.
Suppose that IP of the mail server is 192.168.1.18, the port is 25, username is "testuser" and password is ""(empty), I add the following lines to the config/environments/production.rb:
# config.action_mailer.delivery_method = :sendmail
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
    :address => "192.168.1.18",
    :port => 25,
    :user_name => "testuser",
    :password => "",
    :authentication => :plain
}
But with these lines, emails still cannot be sent.
I use tcpdump to check packages to port 25, and no package is captured.
And I cannot find any log in log/*.
Is there anything I am missing? Please tell me where I can find the log for the email and how I can fix this.