Defect #11025
closedEmail sent from bad user
0%
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 subproject@externaldomain.com>: Relay access denied; from .. "
this is blocking.
Updated by Jean-Philippe Lang over 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.
Updated by William Piedfort over 12 years ago
try to reproduce email with other account to be placed on first place : 1wp
in defect #11031
Updated by William Piedfort over 12 years ago
- Assignee set to William Piedfort
Answer to JFL : I did not install any plugins nor any changes made.
Updated by William Piedfort over 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.
Updated by William Piedfort over 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>
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
- Status changed from Resolved to Closed
closing, resolved since 8 months