https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-05-18T11:08:57ZRedmineRedmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=382802012-05-18T11:08:57ZDaniel Munn
<ul></ul><p>After some further investigation, its happening with both BCC and standard mailing configuration when using sendmail - Works fine on SMTP.</p> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=389792012-06-13T15:25:11ZJeremy Cowgar
<ul></ul><p>My 2.0.2 installation is not sending email. Looking at the production log I see:</p>
<p>Sent mail to (20328ms)</p>
<p>Email was working fine before I upgraded from 1.1.2. I did migrate my old/config/email.yml to new/config/configuration.yml.</p>
<p>The user that is doing the sending (redmine) also gets messages back from postfix stating that the message could not be delivered because it contains no recipients.</p> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=389802012-06-13T15:47:33ZBjörn Peemöller
<ul></ul><p>I have the same issue, and already posted in on the board at</p>
<p><a class="external" href="http://www.redmine.org/boards/2/topics/30982">http://www.redmine.org/boards/2/topics/30982</a></p>
<p>Unfortunately, I have no clue how to further investigate this issue (help appreciated!).</p> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=389832012-06-13T16:11:38ZJeremy Cowgar
<ul></ul><p>I got mine working. I did two things:</p>
<p>First, Uncheck the BCC option from Administration > Settings > Email notifications</p>
<p>Second change my config/configuration.yml to read<br /><pre>
production:
email_delivery:
delivery_method: :async_sendmail
async_sendmail_settings:
arguments: -i
</pre></p>
<p>First, the :sendmail delivery method caused a 30 second delay. sendmail at the command line works instantly, so not sure what is going on there.<br />Second, the default arguments to sendmail was -i -t. When -t was in the arguments, my redmine email account (who mails come from) would get messages stating there was no difference between the email addresses supplied on the command line vs. what were found in the email, thus no valid recipients existed and the email simply would not be delivered.</p>
<p>So, with those changes to my configuration, things work now. Unsure of why good old :sendmail w/no config changes worked in 1.1.2, but the above works for me in 2.0.2.</p> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=390452012-06-15T09:57:41ZBjörn Peemöller
<ul></ul><p>Today I had a look at the sendmail log and found out the following:</p>
<ul>
<li>I used a non-existing e-mail address for sending e-mails, which is why they were filtered out by our mail system.</li>
<li>Nevertheless, this worked with Redmine 1.4.1.</li>
</ul>
<p>For Redmine 2.0.0, the log says:</p>
<pre>
postfix/pickup[11871]: 7F76E8542: uid=... from=<non-existent-address@domain>
postfix/cleanup[15230]: 7F76E8542: message-id=<...>
postfix/qmgr[1451]: 7F76E8542: from=<non-existent-address@domain>, size=959, nrcpt=1 (queue active)
postfix/smtp[15232]: 7F76E8542: to=<my-address>, relay=<my-relay>, delay=1.5, delays=0.16/0/0.02/1.3, dsn=2.0.0, status=sent (250 2.0.0 q5F9g85r024863 Message accepted for delivery)
postfix/qmgr[1451]: 7F76E8542: removed
</pre>
<p>but the mail gets filtered out. If I change the sender's address to a valid one, it works.</p>
<p>In contrast, with Redmine 1.4.1 the log says:</p>
<pre>
postfix/pickup[11871]: F31DD8542: uid=... from=<my-user-name>
postfix/cleanup[15230]: F31DD8542: message-id=<...>
postfix/qmgr[1451]: F31DD8542: from=<my-address>, size=918, nrcpt=1 (queue active)
postfix/smtp[15232]: F31DD8542: to=<my-address>, relay=<my-relay>, delay=1.4, delays=0.18/0/0.02/1.2, dsn=2.0.0, status=sent (250 2.0.0 q5F9hPPA024924 Message accepted for delivery)
postfix/qmgr[1451]: F31DD8542: removed
</pre>
<p>I don't know why Redmine 1.4.1 does not use the sender's address here, but at least I got 2.0.0 working again!</p> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=419402012-10-11T11:21:08ZKarel Pičman
<ul></ul><pre>
production:
email_delivery:
delivery_method: :async_sendmail
async_sendmail_settings:
arguments: -i
</pre>
<p>Works fine even with checked BCC option from Administration > Settings > Email notifications.<br />Thank you very much. I spent a few hours solving this problem with no result. It works fine now.</p> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=440002013-01-09T12:37:03ZKarel Pičman
<ul></ul><p>It works fine except the rake task redmine:send_reminders that generates empty emails. The final solution was to use sendmail with -i option:</p>
<pre>
production:
email_delivery:
delivery_method: :sendmail
sendmail_settings:
arguments: -i
</pre> Redmine - Defect #10955: Mail not sending in 2.0.0https://www.redmine.org/issues/10955?journal_id=1034862021-08-01T17:32:01ZMarius BĂLTEANU
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul>