<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
In lib/NSSDropbox.php change<br>
<br>
--- SNIP ---<br>
public function deliverEmail(<br>
$toAddr,<br>
$fromAddr,<br>
$subject,<br>
$content<br>
)<br>
{<br>
return mail(<br>
$toAddr,<br>
$subject,<br>
$content,<br>
($fromAddr==""?"":sprintf("From: %s\r\nReply-to:
%s\r\n",<br>
$fromAddr, $fromAddr)<br>
)<br>
);<br>
}<br>
--- SNIP ---<br>
to this:<br>
--- SNIP ---<br>
public function deliverEmail(<br>
$toAddr,<br>
$fromAddr,<br>
$subject,<br>
$content<br>
)<br>
{<br>
return mail(<br>
$toAddr,<br>
$subject,<br>
$content,<br>
($fromAddr==""?"":sprintf("From: %s\r\nReply-to:
%s\r\nReturn-Path: %s\r\n",<br>
$fromAddr, $fromAddr,
$fromAddr)<br>
)<br>
);<br>
}<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 content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<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> </div>
<div>a snip from the web on the Return-Path</div>
<div> </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 < token followed by a >
token, indicating an empty return path, or (2) a bracketed
address. Two examples:</div>
<div> </div>
<div> Return-Path: <><br>
Return-Path: <<a moz-do-not-send="true"
href="mailto:God@heaven.af.mil">God@heaven.af.mil</a>></div>
<div> </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> </div>
<div> </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> </div>
<div>I'll be watching this thread.</div>
<div>Brad</div>
<div> </div>
<div> </div>
<div><br>
<br>
>>> On 9/21/2010 at 2:44 PM, in message
<a class="moz-txt-link-rfc2396E" href="mailto:9453A32CAC9FFB4D8F59285E34B6A50604AD27@hotc_exch.harperotc.com"><9453A32CAC9FFB4D8F59285E34B6A50604AD27@hotc_exch.harperotc.com></a>,
"Naz Snidanko" <a class="moz-txt-link-rfc2396E" href="mailto:nsnidanko@harperpowerproducts.com"><nsnidanko@harperpowerproducts.com></a> wrote:<br>
</div>
<table style="margin: 0px 0px 0px 15px; font-size: 1em;"
bgcolor="#f3f3f3" border="0">
<tbody>
<tr>
<td>
<div style="border-left: 1px solid rgb(5, 5, 5);
padding-left: 7px;">
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"
color="navy"><span style="font-family: Arial;
color: navy; font-size: 10pt;">Hi, ZendTo Users</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"
color="navy"><span style="font-family: Arial;
color: navy; font-size: 10pt;">Scenario:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"
color="navy"><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
moz-do-not-send="true"
href="mailto:www-data@server.domain.com">www-data@server.domain.com</a>
in my case) and thus it creates confusion </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"
color="navy"><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 face="Arial" size="2"
color="navy"><span style="font-family: Arial;
color: navy; font-size: 10pt;">Please advice,</span></font></p>
<div>
<p class="MsoNormal"><b><font face="Georgia"
size="1" color="black"><span
style="font-family: Georgia; font-size: 8pt;
font-weight: bold;">Naz Snidanko</span></font></b></p>
<p class="MsoNormal"><b><font face="Georgia"
size="1" color="black"><span
style="font-family: Georgia; font-size: 8pt;
font-weight: bold;">Desktop & Network
Support</span></font></b></p>
<p class="MsoNormal"><b><font face="Georgia"
size="1" color="black"><span
style="font-family: Georgia; font-size: 8pt;
font-weight: bold;">Harper Power Products
Inc.</span></font></b></p>
<p class="MsoNormal"><b><font face="Georgia"
size="1" color="black"><span
style="font-family: Georgia; font-size: 8pt;
font-weight: bold;">(p) 416 201- 7506</span></font></b></p>
<p class="MsoNormal"><font face="Arial" size="2"
color="black"><span style="font-family: Arial;
font-size: 10pt;"><a moz-do-not-send="true"
href="mailto:nsnidanko@harperpowerproducts.com">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>
</body>
</html>