6.0.0-alpha14
7/3/25

[#10488] message redirect is sent with syntax errro in return-path
Summary message redirect is sent with syntax errro in return-path
Queue IMP
Queue Version 5.0.11
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester mase (at) alicom (dot) com
Created 09/06/2011 (5049 days ago)
Due
Updated 09/08/2011 (5047 days ago)
Assigned 09/08/2011 (5047 days ago)
Resolved 09/08/2011 (5047 days ago)
Github Issue Link
Github Pull Request
Milestone 5.0.12
Patch No

History
09/08/2011 12:20:27 PM mase (at) alicom (dot) com Comment #9 Reply to this comment
Changes have been made in Git for this ticket:

Resetting the Return-Path header somehow got lost (Bug #10488).

  3 files changed, 9 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/ef8c61aa2364ca0c8f068bd0e234b31a79f747d0
Ok..i didn't see your patch, now it works correctly. Thanks a lot
09/08/2011 12:02:08 PM mase (at) alicom (dot) com Comment #8 Reply to this comment
The Return-Path header is indeed not touched, and I wasn't able to 
reproduce this either. But watching what's going over the wire, I 
see that the SMTP MAIL FROM command is sending this duplicate 
brackets. Out MTAs seem to be more forgiving though.
I got the error if using exim as MTA , with qmail for example imp gave 
me no errors but the result is the same at the end because you get 
syntax error from remote smtp that is receiving email. You can try 
forward to a gmail.com account for example of the syntax error you 
have in smtp delivery.
09/08/2011 12:00:36 PM Git Commit Comment #7 Reply to this comment
Changes have been made in Git for this ticket:

Resetting the Return-Path header somehow got lost (Bug #10488).

  3 files changed, 9 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/ef8c61aa2364ca0c8f068bd0e234b31a79f747d0
09/08/2011 12:00:27 PM Jan Schneider Milestone ⇒ 5.0.12
State ⇒ Resolved
 
09/08/2011 11:45:59 AM Jan Schneider Comment #6
Assigned to Jan Schneider
State ⇒ Assigned
Reply to this comment
The Return-Path header is indeed not touched, and I wasn't able to 
reproduce this either. But watching what's going over the wire, I see 
that the SMTP MAIL FROM command is sending this duplicate brackets. 
Out MTAs seem to be more forgiving though.
09/07/2011 09:00:25 AM mase (at) alicom (dot) com Comment #5 Reply to this comment
And I can verify that IMP sends redirect messages just fine (with no 
munging of the Return-Path header).
No, i'm pretty sure there are problems,. i found that someone else has 
the same problem (with version 5.0.9) in mailing list:

http://comments.gmane.org/gmane.comp.horde.imp/28533
09/07/2011 08:56:04 AM mase (at) alicom (dot) com Comment #4 Reply to this comment
The Return-Path header is set by the MTA, not by the client, i.e. IMP.
I tried with 4 different MTA and the problem is the same.
exim give me this message error in imp when i do redirect:

Failed to set sender: <mailname@doman.com> [SMTP: Invalid response 
code received from server (code: 250, response: Reset OK)]
09/06/2011 04:17:28 PM Michael Slusarz Comment #3 Reply to this comment
And I can verify that IMP sends redirect messages just fine (with no 
munging of the Return-Path header).
09/06/2011 03:57:43 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
The Return-Path header is set by the MTA, not by the client, i.e. IMP.
09/06/2011 03:43:20 PM mase (at) alicom (dot) com Comment #1
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ IMP
Due ⇒ 09/06/2011
Summary ⇒ message redirect is sent with syntax errro in return-path
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
when i choose a message in imp and resent this message with redirect 
button the email
that is generated  as a return-path modified that is not valid.
Esample:
email original return-path:
Return-Path: <mailname@domain.com>
modified return-path when i sent email with redirect option:
Return-Path: <"<mailname"@domain.com>

this, of course, cause Syntax Error with almost every smtp you try to 
deliver the message to.


Saved Queries