Project

General

Profile

Actions

Defect #25733

closed

Messages get bounced

Added by Rene H over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

Description

I found out we seem to have a problem with incoming emails not being updated into redmine. Our setup goes via Google Apps, and the messages get forwarded to our postfix-server:

user sends message to that is handled by googlel apps. The message get's routed back to our redmine-server that responds on

In postfix i have configured an alias that runs the rdm-mailhandler.rb

/usr/local/rvm/rubies/ruby-2.3.0/bin/ruby /etc/postfix/rdm-mailhandler.rb \
--project support   \
--tracker New issues \
--unknown-user create \
--no-permission-check \
--no-check-certificate \
--url https://redmineserver.ourdomain.tld \
--key [randomstuff] \
--allow-override all \
--no-account-notice \
--default-group Support

I still get though the following error

"permission denied. Command output: Request was denied by your Redmine server. Possible reasons: email is sent from an invalid email address or is missing some information" 

This is my currentn setup

Environment:
  Redmine version                3.3.1.stable
  Ruby version                   2.3.0-p0 (2015-12-25) [x86_64-linux]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Subversion                     1.6.11
  Git                            1.7.1
  Filesystem                     
Redmine plugins:
  accept                         0.0.2
  issue_mail_with_attachments    0.1.0
  redmine_autoclose              0.0.4
  redmine_close_button           0.0.8
  redmine_default_assign         0.6
  redmine_gc_sync                1.0.0
  redmine_mail_reminder          3.0.0.0001
  redmine_pretend                2.0.1
  redmine_tweaks                 1.0.0

Actions #1

Updated by Toshi MARUYAMA over 7 years ago

  • Status changed from New to Needs feedback

What is your Redmine log?

Actions #2

Updated by Go MAEDA almost 6 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to No feedback
Actions #3

Updated by Rob Spearman almost 6 years ago

I am having the same problem. I looked in the production log and I see the error:

MailHandler: ignoring email from unknown user []

But this is for an email from myself and I am a valid user on the project and Redmine admin as well. Sometimes my emails work, but most of the time I see this error and my email is bounced back.

I see nothing obviously odd about the emails that work versus those that do not.

I am running Redmine 3.2.8 but otherwise same Ruby and Rails as on this issue. I did not see any closed issues on this topic but I could try upgrading. Let me know if I should open a separate issue.

Actions

Also available in: Atom PDF