Defect #11025
Email sent from bad user
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Urgent | Due date: | ||
| Assignee: | William Piedfort | % Done: | 0% | |
| Category: | Email notifications | |||
| Target version: | - | |||
| Affected version: | 2.0.0 | Resolution: | Cant reproduce |
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.
History
#1 Updated by Jean-Philippe Lang 12 months 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.
#2 Updated by William Piedfort 12 months ago
try to reproduce email with other account to be placed on first place : 1wp
in defect #11031
#3 Updated by William Piedfort 12 months ago
- Assignee set to William Piedfort
Answer to JFL : I did not install any plugins nor any changes made.
#4 Updated by William Piedfort 12 months 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.
#5 Updated by William Piedfort 12 months 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>
#6 Updated by Jan Niggemann 4 months ago
- Status changed from Resolved to Closed
closing, resolved since 8 months