 New install: Redmine not sending emails
New install: Redmine not sending emails
Added by John Junkins 6 months ago
I've just finished setting it up on an Ubuntu server. Everything seems to be working fine except for email notifications—they're just not being sent out. I'm using Postfix and have configured the configuration.yml file according to the documentation.
Here's a snippet of my email configuration:
production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "localhost" 
      port: 25
      domain: "example.com" 
I don’t see any error messages in the logs, but emails just don’t arrive. I’ve checked spam folders and even tried using a different SMTP server with no luck.
Has anyone run into something similar? Any advice or troubleshooting tips would be greatly appreciated!
Replies (3)
     RE: New install: Redmine not sending emails
    -
    Added by Derek Thomas 6 months ago
    RE: New install: Redmine not sending emails
    -
    Added by Derek Thomas 6 months ago
  
  That configuration isn't going to work.
If you're going to use SMTP, it needs to be configured to use an SMTP relay that will require a login at minimum.
Try this instead using your server's mail function:
production:
 email_delivery:
   delivery_method: :sendmail
     RE: New install: Redmine not sending emails
    -
    Added by Alberto Hernández 5 months ago
    RE: New install: Redmine not sending emails
    -
    Added by Alberto Hernández 5 months ago
  
  I also tried with this last configuration and I get this error
We're sorry, but something went wrong.
The issue has been logged for investigation. Please try again later.
What else needs to be configured?
| Screenshot_1.png (12.3 KB) Screenshot_1.png | 
     RE: New install: Redmine not sending emails
    -
    Added by Ivan Cenov 5 months ago
    RE: New install: Redmine not sending emails
    -
    Added by Ivan Cenov 5 months ago
  
  This is my configuration that works:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "mail.myisp.com" 
      enable_starttls_auto: true
      port: 587
      user_name: "myredmine@mydomain.com" 
      password: "thepassword"