Content
You are here:
Sendmail never called when email is sent
Added by Casey Carlin over 10 years ago
I’ve got everything set up and working well with OpenProject - except email!
I have tried both:
production: email_delivery_method: :sendmail sendmail_arguments: " -i " sendmail_location: "/usr/sbin/sendmail" default: email_delivery_method: :sendmail
and just
production: email_delivery_method: :sendmail default: email_delivery_method: :sendmail
But either one results in a message saying that email was sent in the production log, but no trace of an email in /var/log/mail.log or /var/log/mail.err
Any pointers on how I can even start debugging this?
Thanks!
-Casey
Replies (1)
Hi Casey,
usually the problem results from a wrongly configured email delivery policy in OpenProject, at least it trips me up once a month…
Make sure under the global settings `Modules > Administration > Settings Email Notifications` you check everything in the list “Select actions for which email notifications should be sent”.
Secondly, under your account’s specific settings `My Account > System Preferences` you need to select “For any event on all my projects” as well as deselect “I don’t want to be notified of changes that I make myself”. This way no emails get discarded before delivery.
i cannot say whether the problem is with sendmail itself at the moment as we use a different approach, but if the above doesn’t work, then it probably is. Please post your results from the steps taken above.
Best regards,
Martin