Project

General

Profile

Actions

Defect #11025

closed

Email sent from bad user

Added by William Piedfort almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Urgent
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

When you have many users in a project and these users have their own emails (different company, so different domains) : the sender taken for a notification email is not the email central adress set by admin in Redmine platform but :

the 1st user (sorted by ID) of the project or sub-project !

so on Postfix, the email send is rejected and in /var/log/error you get at posting the notification , or "reject: RCPT from [your machine]<1st user of the >: Relay access denied; from .. "

this is blocking.

Actions #1

Updated by Jean-Philippe Lang almost 12 years ago

  • Resolution set to Cant reproduce

Have you done any change or local plugins? Because in the core, the "From" header is always the email adress entered in settings.

Actions #2

Updated by William Piedfort almost 12 years ago

try to reproduce email with other account to be placed on first place : 1wp
in defect #11031

Actions #3

Updated by William Piedfort almost 12 years ago

  • Assignee set to William Piedfort

Answer to JFL : I did not install any plugins nor any changes made.

Actions #4

Updated by William Piedfort almost 12 years ago

  • Assignee deleted (William Piedfort)

I test my email with telnet commands : this is right.

The test in Redmine config runs also with me@my Redmine-domain.

The fact is that your Redmine application is sending a mail with "RCPT TO" equal to the email of the person assigned.
(when I look in the /var/log/syslog ou mail : error message :
: 554 5.7.1 <person assigned>: Relay access denied; from=<me@my Redmine-domain> to=...

This says that <person assigned> is trying to place a "reply to" command in Postfix with his adress and so it is forbidden, no matter a normal config.

Did you changed something in the emails since the 2.0.0 release ?
thanks for yur feedback.

Actions #5

Updated by William Piedfort almost 12 years ago

  • Status changed from New to Resolved
  • Assignee set to William Piedfort

The solution is :
under Postfix
to say in /etc/postfix/main.cf
relay_domains = <the domain of the persons assigned>

Actions #6

Updated by Jan Niggemann (redmine.org team member) over 11 years ago

  • Status changed from Resolved to Closed

closing, resolved since 8 months

Actions

Also available in: Atom PDF