Content
Email notifications with Google Apps not sending on Centos 6.6
Added by Nelson Medina over 9 years ago
Hello everybody. I know there has been much written about my problem but I wanted to be more speciffic about installation on Centos 6.6
I followed this tutorial (https://community.openproject.org/topics/1308) to install OpenProject from source. So far installation has been going allright except for the notifications, which basically doesn’t find a way to go out from the server. I’ve opened the 25 and 587 firewall ports with Iptables. Also changed the configuration.yml file, and no results. Notifications won’t send. Not event the Test Mail on Settings page.
I’ll leave you my configuration.yml and the production.log output,
@ email_delivery_method: “smtp”
smtp_enable_starttls_auto: true
smtp_address: “smtp.gmail.com”
smtp_port: 587
smtp_domain: “citriom.com”
smtp_authentication: :plain
smtp_user_name: “nelson.medina@citriom.com”
smtp_password: “MySecretPassword”@
production.log
@ Sent mail to nelson.medina@citriom.com (30017.1ms)
Completed 500 Internal Server Error in 30126.8ms
Net::OpenTimeout (execution expired):
app/controllers/users_controller.rb:191:in `update’@
All the user creation, updates, and the rest of operations are done normally. But when the mail notification fails, a 500 error is thrown and the browser says to contact the server administrator.
Would anybody please give me some guidance? I haven’t find any useful solution so far.
Thanks
Replies (1)
For those who may don’t know, DigitalOcean blocks SMTP by default. Plus, there could be some IPv6 issues aswell. I changed my IP configuration on the VPS using the StackOverflow answer below. Maybe you find it useful.
http://stackoverflow.com/questions/26388090/netopentimeout-execution-expired-exception-with-rails-mailer