Project

General

Profile

Can not send email from redmine

Added by Leo Stas over 10 years ago

Sorry for bad English.
Can not send email from redmine - comes a message that "Mail failure - no recipient addresses"
Post subject as follows:

*A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.

------ This is a copy of your message, including all the headers. ------

Date: Tue, 06 Aug 2013 06:36:10 +0000
From:
Message-ID: <>
Subject: =?UTF-8?Q?[test_-_=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0_#48]?=
=?UTF-8?Q?_=28=D0=9D=D0=BE=D0=B2=D0=B0=D1=8F=29_fsdf?=
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5200995ac4da5_7f1d343ec18866e";
charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Redmine-Project: test
X-Redmine-Issue-Id: 48
X-Redmine-Issue-Author: test
X-Redmine-Issue-Assignee: test
X-Redmine-Sender: test
X-Mailer: Redmine
X-Redmine-Host: localhost:3000
X-Redmine-Site: =?UTF-8?Q?=D0=93=D0=B0=D1=80=D0=B0=D0=BD=D1=82=D1=83=D0=BC?=
X-Auto-Response-Suppress: OOF
Auto-Submitted: auto-generated
List-Id: <support.garantum.ru>
Sender: "" <>*

the recipient does not have a message, though in the account settings have email


Replies (4)

RE: Can not send email from redmine - Added by Leo Stas over 10 years ago

Removed the option "Blind carbon copy recipients (bcc)" now the following error:
A message that you sent using the -t command line option contained no
addresses that were not also on the command line, and were therefore
suppressed. This left no recipient addresses, and so no delivery could
be attempted.

------ This is a copy of your message, including all the headers. ------

Date: Tue, 06 Aug 2013 08:06:04 +0000
From:
To: ,

Message-ID: <>
Subject: =?UTF-8?Q?[test_-_=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0_#49]?=
=?UTF-8?Q?_=28=D0=9D=D0=BE=D0=B2=D0=B0=D1=8F=29?=
=?UTF-8?Q?_=D0=B2=D0=B2=D0=B2=D0=B2=D0=B2=D0=B2?=
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5200ae6c7c68_1b22394ac9899386";
charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Redmine-Project: test
X-Redmine-Issue-Id: 49
X-Redmine-Issue-Author: admin
X-Redmine-Issue-Assignee: admin
X-Redmine-Sender: admin
X-Mailer: Redmine
X-Redmine-Host: localhost:3000
X-Redmine-Site: =?UTF-8?Q?=D0=93=D0=B0=D1=80=D0=B0=D0=BD=D1=82=D1=83=D0=BC?=
X-Auto-Response-Suppress: OOF
Auto-Submitted: auto-generated
List-Id: <support.garantum.ru>
Sender: "" <>

RE: Can not send email from redmine - Added by Leo Stas over 10 years ago

the problem is solved.

RE: Can not send email from redmine - Added by Alessio Minotti about 10 years ago

I had the same problem on this configuration (exim for mails)

Environment:
Redmine version 2.4.2.stable.12855
Ruby version 2.1.0-p0 (2013-12-25) [x86_64-linux]
Rails version 3.2.16
Environment production
Database adapter Mysql2

production:
email_delivery:
delivery_method: :sendmail

solution was to add

config.action_mailer.sendmail_settings = {
:arguments => "-i"
}

in production.rb

RE: Can not send email from redmine - Added by Pavel Potcheptsov about 10 years ago

Why just not:

# tail configuration.yml
# specific configuration options for production environment
# that overrides the default ones
production:
  delivery_method: :async_sendmail
  sendmail_settings:
     location: /usr/sbin/sendmail
     arguments: -i -t
# specific configuration options for development environment
# that overrides the default ones
development:

    (1-4/4)