5.3.0-git
2014-09-02

[#11337] Maildrop Driver: add return-path to forward
Summary Maildrop Driver: add return-path to forward
Queue Ingo
Queue Version Git develop
Type Enhancement
State Feedback
Priority 1. Low
Owners
Requester alessio (at) skye (dot) it
Created 2012-08-10 (753 days ago)
Due
Updated 2012-08-29 (734 days ago)
Assigned
Resolved
Milestone
Patch No

History
2012-08-29 12:39:14 alessio (at) skye (dot) it Comment #3 Reply to this comment
This would assume that sendmail or at least some sendmail compatible 
binary is installed.
I don't think that maildrop could work without a sendmail compatible 
binary , but I'm not sure.

The feature could be added as an option.
Thanks

2012-08-29 12:30:18 Jan Schneider Comment #2
Version ⇒ Git develop
State ⇒ Feedback
Reply to this comment
This would assume that sendmail or at least some sendmail compatible 
binary is installed.
2012-08-10 09:15:08 alessio (at) skye (dot) it Comment #1
State ⇒ New
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Maildrop Driver: add return-path to forward
Type ⇒ Enhancement
Priority ⇒ 1. Low
Reply to this comment
Hi,

when using ingo and maildrop for forward email to an external address 
Ingo creat a filter like this:

if( \
    /^From:\s*.*/:h \
)
exception {
   cc "! alessio.cecchi@gag.it"
  exit
}

but in this mode the email has return-path empty (<>) and this can 
cause some email to reject from some email server

we can set

exception {
   cc "| /usr/sbin/sendmail -fMY@address REMOTE@address"
  exit
}

that add the correct return path. Could be nice add the option for set 
or not set the return-path in forwarded messages.

You can also read this:
http://markmail.org/message/n3c6tx45j5o3mhsr

Thanks