Content
Unable to send email notification without getting filtered or marked as spam/junk
Added by Zheng Huang over 7 years ago
Hi,
It took me pretty long time to set up OP on my company’s server, now I need help to get the email notification on OP to work.
(Please forgive me if I ask some dumb questions because I’m very new on installing application on server)
The server I’m working with has Red Hat Enterprise Linux Server release 7.4 (Maipo) and I don’t really know if it has smtp or not.
By following this post (because I need to set up email without authentication)- https://community.openproject.com/topics/996#
I’ve modified my config/configuration.yml to be like this (I don’t know what the other lines are for, so I didn’t change anything else):
default:
@ rails_cache_store: <%= ENV.fetch(‘RAILS_CACHE_STORE’) { :memcache }.to_sym %>@
@ session_store: <%= ENV.fetch(‘SESSION_STORE’) { :cache_store }.to_sym %>@
@ email_delivery_method: “smtp”@
@ smtp_address: “localhost”@
@ smtp_port: 25@
@ smtp_enable_starttls_auto: <%= ENV.fetch(‘SMTP_ENABLE_STARTTLS_AUTO’) { “false” } %>@
@ attachments_storage_path: /var/db/openproject/files@
<% git_configured = ENV['GIT_REPOSITORIES'].present? %>
<% svn_configured = ENV['SVN_REPOSITORIES'].present? %>
<% if git_configured || svn_configured %>
@ scm:@
@ <% if git_configured %>@
@ git:@
@ manages: <%= ENV[‘GIT_REPOSITORIES’] %>@
@ mode: 0770@
@ group: <%= ENV[‘SERVER_GROUP’] %>@
@ <% end %>@
@ <% if svn_configured %>@
@ subversion:@
@ # SVN uses Apache repository wrapper due to permission errors in multi-user operation@
@ manages: <%= ENV[‘SVN_REPOMAN_URL’] %>@
@ # Do noot verify SSL certificates when SERVER_PROTOCOL is ‘https’.@
@ # As we currently only support local repoman installations with packager,@
@ # this option is set to true by default.@
@ insecure: true@
@ access_token: <%= ENV[‘SVN_REPOMAN_TOKEN’] %>@
@ <% end %>@
<% end %>
Now the problem is that it does send email to my personal gmail and live account (showed up in Spam), but when I test it with my company email(partnered with MS Outlook), the email never show up. And it does not give me any errors in the log.
I tried adding the emission email address to the Safe Senders in the outlook, that does not work as well, so I’m guessing it might be filtered out automatically before it reached to my mailbox.
My ultimate goal is to be able to send email notification to my company email without having to put in email/pw as sender.
Please let me know if you need additional information, anything tips or advises would be appreciated.
Thanks in advance
Zheng