Note: since I'm getting "422. This request was denied because it was considered spam or your IP adress is temporarily blocked." while trying to update the issue, I'll replace, as per http://www.redmine.org/issues/12495 all links and domains by redime.org.
Updated information:
1. Software versions:
Environment:
Operating System Ubuntu Server 12.10
Redmine version 2.3.2 2013-07-14
Ruby version ruby 1.8.7 2012-02-08 patchlevel 358 [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql
ssmtp version 2.64-7
2. E-mail settings ssmtp using 3rd party relay, replaced by redmine.org in this snippet
ssmtp 2.64-7
/etc/ssmtp/ssmtp.conf
root=
admin@redmine.orgmailhub=smtp.redmine.org:587
UseTLS=YES
UseSTARTTLS=YES
AuthMethod=LOGIN
- 3rd party relay credentials
AuthUser=*********@redmine.org
AuthPass=*********
hostname=server.redmine.org
3. I can send e-mails through ssmtp:
echo "Subject: test" | sendmail -v destination@redmine.org
[<-] 220 mx.redmine.org ESMTP dr11sm4732360wid.3 - gsmtp
[->] EHLO server.redmine.org
[<-] 250 ENHANCEDSTATUSCODES
[->] STARTTLS
[<-] 220 2.0.0 Ready to start TLS
[->] EHLO server.redmine.org
[<-] 250 ENHANCEDSTATUSCODES
[->] AUTH LOGIN
[<-] 334 VXNlcm5hbWU6
[->] amFtZ28ub3JnQGdtYWlsLmNvbQ==
[<-] 334 UGFzc3dvcmQ6
[<-] 235 2.7.0 Accepted
[->] MAIL FROM:<local_unix_user@server.redmine.org>
[<-] 250 2.1.0 OK dr11sm4732360wid.3 - gsmtp
[->] RCPT TO:<destination@redmine.org>
[<-] 250 2.1.5 OK dr11sm4732360wid.3 - gsmtp
[->] DATA
[<-] 354 Go ahead dr11sm4732360wid.3 - gsmtp
[->] Received: by server.redmine.org sSMTP sendmail emulation; Fri, 30 Aug 2013 16:38:08 +0200
[->] From: "local_unix_user" <local_unix_user@server.redmine.org>
[->] Date: Fri, 30 Aug 2013 16:38:08 +0200
[->] Subject: test
[->]
[->] .
[<-] 250 2.0.0 OK 1377873491 dr11sm4732360wid.3 - gsmtp
[->] QUIT
[<-] 221 2.0.0 closing connection dr11sm4732360wid.3 - gsmtp
4. I tried to create a user and check "Send account information to the user", and also creating a ticket and adding this new user as a watcher. In both cases looks like redmine never reached ssmtp, since /var/log/mail.log shows no activity.
Simon Z can you please provide same details of your working environment?
Can somebody else please try to reproduce?
Thanks