Project

General

Profile

Actions

Defect #11025

closed

Email sent from bad user

Defect #11025: Email sent from bad user

Added by William Piedfort over 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Urgent
Category:
Email notifications
Target version:
-
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.

Updated by Jean-Philippe Lang over 14 years ago Actions #1

  • 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.

Updated by William Piedfort over 14 years ago Actions #2

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

Updated by William Piedfort over 14 years ago Actions #3

  • Assignee set to William Piedfort

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

Updated by William Piedfort over 14 years ago Actions #4

  • 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.

Updated by William Piedfort over 14 years ago Actions #5

  • 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>

Updated by Jan Niggemann (redmine.org team member) almost 14 years ago Actions #6

  • Status changed from Resolved to Closed

closing, resolved since 8 months

Actions

Also available in: PDF Atom