[#11337] Maildrop Driver: add return-path to forward
Summary Maildrop Driver: add return-path to forward
Queue Ingo
Queue Version Git master
Type Enhancement
State Feedback
Priority 1. Low
Owners
Requester alessio@skye.it
Created 2012-08-10 (3170 days ago)
Due
Updated 2016-01-28 (1904 days ago)
Assigned
Resolved
Milestone
Patch No

Comments
alessio@skye.it 2012-08-10 09:15:08
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


Jan Schneider <jan@horde.org> 2012-08-29 12:30:18
This would assume that sendmail or at least some sendmail compatible 
binary is installed.

alessio@skye.it 2012-08-29 12:39:14
> 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


Jan Schneider <jan@horde.org> 2016-01-28 16:37:33
We actually already use sendmail in other recipes, so that's fine.
We still need a way to choose the correct From: address though.