Project

General

Profile

email sendding problem when update 2.2.3 to 2.3.0

Added by Anonymous almost 11 years ago

After update to redmine V2.3.0, I have a problem with sendding email to users belong to a project when creat new Issue. All user account are be setting "Email notifications = For any event on all my projects" but when 1st issue created, all users recived email, and 2nd issue created nobody received email, 3rd issue created nobody received email even checking on Spam folder,.... (Each issue was created every 3-5 minutes)

I used sendmail function on Centos 5.9, all path are up to date.
All user emails are @gmail.com

In version 2.2.3 email sending very good and no problem found. I also did not change anything on Setting or something else when update tu 2.3.0 :(


Replies (23)

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Anonymous almost 11 years ago

So anybody help me?

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by marco deluca almost 11 years ago

I just updated from 2.2 to 2.3 and am having the exact same problem. Just started looking into it, but basically everything was working fine before, all of the settings seem to be correct, but no email notifications are being sent.

RE: email sendding problem when update 2.2.3 to 2.3.0 and 2.3.1 - Added by Anonymous almost 11 years ago

The problem is not fixed event I update redmine from 2.3.0 to 2.3.1
In 2.3.1 no email was sent when new issue or update created.
Pls help me sole this problem. On setting Administrator, I used "send test email" And redmine said "sent sucessfull" but I did not receive any email?

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Jorge Cabrera almost 11 years ago

Mailing is not working properly on version 2.3.1, thinking about downgrading, I also have an open issue with this (#37885)

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Jorge Cabrera almost 11 years ago

Jorge Cabrera wrote:

Mailing is not working properly on version 2.3.1, thinking about downgrading, I also have an open thread with this (#37885)

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by marco deluca almost 11 years ago

So... is it just the three of us that have this issue?

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Jérôme Jérôme almost 11 years ago

i have spent 3hours on That configuration file for email and you thinking it s an issue if redmine ?
do you have any news for That ?

thanks a lot

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by marco deluca almost 11 years ago

I havent had time to look into it. All I know is that I've been upgrading redmine since it was 1.x, and I've never had an issue with email notifications before. After upgrading from 2.2.3 to 2.3.1, email notifications stopped working. I'll try to take a look at it over the weekend. But it would be nice to know if there were more than 4 people with the same problem. Although even the fact that there are four suggests that there's a common problem here... that we should be able to solve:)

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Anonymous almost 11 years ago

I think this this problem happen when users update to redmine version 2.3.0 or 2.3.1. And with other users who updated to 2.3.1 but they did not use email sendding function they will not think about the problem. I hope redmine will fix this problem shortly.
Thanks.

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by jerome l almost 11 years ago

I use the smtp method and I have the same problème as Phiong TRAN, test email says ok but no email is sent. do you think we could have a quick fix or shall I install the previous release?

we would like to start using0 redmine next week for my whole team and email notification is a vert important feature.

thanks for your answer and sorry for m'y english.

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Anonymous almost 11 years ago

@ jerome l: If you have new redmine install, please use redmine 2.2.3. It working ok.

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by jerome l almost 11 years ago

hi Phuong

do you have any news from redmine developpers about that issue?

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Anonymous almost 11 years ago

Hi Jerome,
The problem solved when I change sendmail to GMAIL on configuration.yml:

email_delivery:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
openssl_verify_mode: 'none'
address: "smtp.googlemail.com"
port: '465'
domain: "smtp.googlemail.com"
authentication: :plain
user_name: "my-email@gmail.com"
password: "my-password"

you must have 3 following line to active redmine sendding email:
tls: true
enable_starttls_auto: true
openssl_verify_mode: 'none

And I also waiting for the new redmine version :D

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by jerome l almost 11 years ago

hi Phuong
thanks a lot for keeping me updated ! I will test it asap and will let you know the result.
see you soon

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Wasil Segejczyk over 10 years ago

here's my config for 2.3.1 that seems to play well with default postfix settings:

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: 'localhost'
      port: '25'
      domain: 'example.com'
      authentication: :none
      openssl_verify_mode: 'none'
      tls: false
      enable_starttls_auto: false

the last 2 options are the key ones, before i added them, postfix gave me "SSL_accept error".

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Alexey Shafranovich over 10 years ago

I've also have problems with mail since 2.3

But I'm working with hotmail (outlook.com).

When enable_starttls_auto: true without tls: true getting An error occurred while sending mail (SSL_read:: wrong version number)

When enable_starttls_auto: false without tls:true getting An error occurred while sending mail (530 5.7.0 Must issue a STARTTLS command first )

When tls: true or ssl: true I'm getting An error occurred while sending mail (SSL_connect returned=1 errno=0 state=unknown state: unknown protocol)

Does anybody works with hotmail?

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Wasil Segejczyk over 10 years ago

this option might help you:

openssl_verify_mode: 'none'

see: stackoverflow.com/a/16327737/2198571

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Alexey Shafranovich over 10 years ago

My current config

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address:                  'smtp.live.com'
      port:                     587
      domain:                   'customdomain.com'
      authentication:           :plain
      user_name:                'mail@customdomain.com'
      password:                 'passwd'
      enable_starttls_auto:     true
      openssl_verify_mode:      'none'

but it fails with

An error occurred while sending mail (SSL_read:: wrong version number)

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Alexey Shafranovich over 10 years ago

It seems like it's Debian 7 problem. Checked like in thread https://github.com/andris9/Nodemailer/issues/140 and got error like Arch

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by jerome l over 10 years ago

hi phuong
it works, it was just a problem of yaml identation for me.
i am using normal smtp without ssl
hope it helps

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Jan Niggemann (redmine.org team member) over 10 years ago

Alexey Shafranovich wrote:

It seems like it's Debian 7 problem. Checked like in thread https://github.com/andris9/Nodemailer/issues/140 and got error like Arch

That's unrelated to this thread, we use ActionMailer and that is about nodemailer. The only relation is the more or less same error message, but there's no solution in that thread anyway.

RE: email sendding problem when update 2.2.3 to 2.3.0 - Added by Alexey Shafranovich over 10 years ago

As I found problem lies in OpenSSL's 'Secure Renegotiation IS NOT supported', but correct me if I'm wrong (everything below is just mine research).
Debian for security reasons goes without this flag enabled during openssl compilation, so auth failing on connecting to outlook.com mail. It was promised that it will be enabled in Debian 7, but it have not been done.
I've solved this problem switching to Ubuntu 12.04 (works with settings i'll put below). So it seems like this problem linked not with 2.3 release but with different platform (my way was Ubuntu -> Debian -> Ubuntu (it was 3 factors in one point of time: hosting change, distro change and redmine update)). I posted this link just because that time I have no ideas how to solve problems with OpenSSL. And nodemailer and ActionMailer are linked by OpenSSL and TLS.

Now it works, and current config is:

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address:                  smtp.live.com
      port:                     587
      domain:                   customdomain.com
      authentication:           :login
      user_name:                mail@customdomain.com
      password:                 passwd
      enable_starttls_auto:     true
      openssl_verify_mode:      'none'

So if somebody have problems with such config, drop an eye on SSL version and "Secure Renegotiation" feature. Probably problem lies there.

    (1-23/23)