<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI" bgColor=#ffffff text=#000000>
<DIV>Amazing...&nbsp; that was exactly what I was trying yesterday and it did not work.</DIV>
<DIV>&nbsp;</DIV>
<DIV>For testing, send a dropoff to a Yahoo account and look at the headers, the headers still show the return path as:</DIV>
<DIV>&nbsp;</DIV>
<DIV><TD class=label nowrap="nowrap" valign="top"><NOBR>Return-Path:</NOBR> &lt;</TD><TD style="PADDING-BOTTOM: 5px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; PADDING-TOP: 5px"></TD><TD class=headerDetails><A href="mailto:apache@zendto.domain.tld">apache@zendto.domain.tld</A>&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>instead of <A href="mailto:user@domain.tld">user@domain.tld</A>.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I though it might have been due to the apache user not being a trusted user, so I tried added apache to the /etc/mail/trusted-users and restarted sendmail.&nbsp;&nbsp; It still did not work.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm gonna work on this for another 20 minutes and then I'll have to retry on Friday.</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks</DIV>
<DIV>Brad</TD><BR><BR>&gt;&gt;&gt; On 9/21/2010 at 4:32 PM, in message &lt;4C99246D.9000205@Zend.To&gt;, Jules &lt;Jules@zend.to&gt; wrote:<BR></DIV>
<TABLE style="MARGIN: 0px 0px 0px 15px; FONT-SIZE: 1em" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: #050505 1px solid; PADDING-LEFT: 7px">In lib/NSSDropbox.php change<BR><BR>--- SNIP ---<BR>&nbsp; public function deliverEmail(<BR>&nbsp;&nbsp;&nbsp; $toAddr,<BR>&nbsp;&nbsp;&nbsp; $fromAddr,<BR>&nbsp;&nbsp;&nbsp; $subject,<BR>&nbsp;&nbsp;&nbsp; $content<BR>&nbsp; )<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp; return mail(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $toAddr,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $subject,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $content,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ($fromAddr==""?"":sprintf("From: %s\r\nReply-to: %s\r\n",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $fromAddr, $fromAddr)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<BR>&nbsp; }<BR>--- SNIP ---<BR>to this:<BR>--- SNIP ---<BR>&nbsp; public function deliverEmail(<BR>&nbsp;&nbsp;&nbsp; $toAddr,<BR>&nbsp;&nbsp;&nbsp; $fromAddr,<BR>&nbsp;&nbsp;&nbsp; $subject,<BR>&nbsp;&nbsp;&nbsp; $content<BR>&nbsp; )<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp; return mail(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $toAddr,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $subject,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $content,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ($fromAddr==""?"":sprintf("From: %s\r\nReply-to: %s\r\nReturn-Path: %s\r\n",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $fromAddr, $fromAddr, $fromAddr)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<BR>&nbsp; }<BR>--- SNIP ---<BR><BR>Please let me know if this solves the problem for you, and I will put it into the code.<BR><BR>Jules.<BR><BR>On 21/09/2010 21:48, Brad Beckenhauer wrote: 
<BLOCKQUOTE cite=mid:4C98D3CE020000680006418B@smtp.aafp.org type="cite">
<META name=GENERATOR content="MSHTML 8.00.7600.16625">
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle19
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>

<DIV>I was looking at this same issue yesterday, but ran out of time.</DIV>
<DIV>&nbsp;</DIV>
<DIV>a snip from the web on the Return-Path</DIV>
<DIV>&nbsp;</DIV>
<DIV>Envelope information: Return-Path, Received<BR>Return-Path<BR>The value of a Return-Path field is tokenizable. It shows the return path of the message, i.e., the address that bounces will be sent to. It is either (1) a &lt; token followed by a &gt; token, indicating an empty return path, or (2) a bracketed address. Two examples:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; Return-Path: &lt;&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Return-Path: &lt;<A href="mailto:God@heaven.af.mil" moz-do-not-send="true">God@heaven.af.mil</A>&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Messages transmitted through SMTP generally do not have Return-Path fields; the return path is transmitted out-of-band in the SMTP MAIL request. When a message is stored in a mailbox, the return path is stored in a Return-Path field. If the message is then retrieved (e.g., through POP) and sent through another SMTP hop, the Return-Path is removed and the return path is again sent out-of-band. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm pretty sure the function calling it is in the lib/NSSDropbox file, but have not figured out exactly how to add the coding.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'll be watching this thread.</DIV>
<DIV>Brad</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>&gt;&gt;&gt; On 9/21/2010 at 2:44 PM, in message <A class=moz-txt-link-rfc2396E href="mailto:9453A32CAC9FFB4D8F59285E34B6A50604AD27@hotc_exch.harperotc.com">&lt;9453A32CAC9FFB4D8F59285E34B6A50604AD27@hotc_exch.harperotc.com&gt;</A>, "Naz Snidanko" <A class=moz-txt-link-rfc2396E href="mailto:nsnidanko@harperpowerproducts.com">&lt;nsnidanko@harperpowerproducts.com&gt;</A> wrote:<BR></DIV>
<TABLE style="MARGIN: 0px 0px 0px 15px; FONT-SIZE: 1em" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: rgb(5,5,5) 1px solid; PADDING-LEFT: 7px">
<DIV class=Section1>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Hi, ZendTo Users</SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Scenario:</SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">User creates dropoff but misspells email address. MTA tries to deliver but domain has no MX record, so it generates bounce-back email sent to Return-Path: header value, which goes nowhere (<A href="mailto:www-data@server.domain.com" moz-do-not-send="true">www-data@server.domain.com</A> in my case) and thus it creates confusion </SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">How can I change Return-Path: header value for an email address of the person that created dropoff? To either From or Reply-To? Tis way person will get bounce back message and correct his mistake.</SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Please advice,</SPAN></FONT></P>
<DIV>
<P class=MsoNormal><B><FONT color=black size=1 face=Georgia><SPAN style="FONT-FAMILY: Georgia; FONT-SIZE: 8pt; FONT-WEIGHT: bold">Naz Snidanko</SPAN></FONT></B></P>
<P class=MsoNormal><B><FONT color=black size=1 face=Georgia><SPAN style="FONT-FAMILY: Georgia; FONT-SIZE: 8pt; FONT-WEIGHT: bold">Desktop &amp; Network Support</SPAN></FONT></B></P>
<P class=MsoNormal><B><FONT color=black size=1 face=Georgia><SPAN style="FONT-FAMILY: Georgia; FONT-SIZE: 8pt; FONT-WEIGHT: bold">Harper Power Products Inc.</SPAN></FONT></B></P>
<P class=MsoNormal><B><FONT color=black size=1 face=Georgia><SPAN style="FONT-FAMILY: Georgia; FONT-SIZE: 8pt; FONT-WEIGHT: bold">(p) 416 201- 7506</SPAN></FONT></B></P>
<P class=MsoNormal><FONT color=black size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"><A href="mailto:nsnidanko@harperpowerproducts.com" moz-do-not-send="true">nsnidanko@harperpowerproducts.com</A></SPAN></FONT></P></DIV></DIV></DIV></TD></TR></TBODY></TABLE><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
ZendTo mailing list
<A class=moz-txt-link-abbreviated href="mailto:ZendTo@zend.to">ZendTo@zend.to</A>
<A class=moz-txt-link-freetext href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</A></PRE></BLOCKQUOTE><BR><PRE class=moz-signature cols="72">Jules

-- 
Julian Field MEng CITP CEng
<A class=moz-txt-link-abbreviated href="http://www.Zend.To">www.Zend.To</A>

Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
</PRE></DIV></TD></TR></TBODY></TABLE></BODY></HTML>