<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">
<DIV>Ok,&nbsp; I'm no PHP kung-fu expert, but I'm pretty sure that I've narrowed down where my problem is, but I'm not sure how to fix it or if there is a better method.</DIV>
<DIV>&nbsp;</DIV>
<DIV>in /lib/NSSDropbox.php lines 40-43 appear to be what is extracting the server name for the email&nbsp;message.&nbsp; In my case it's always an IP Address instead of the desired&nbsp;DNS host name.&nbsp;&nbsp; I did abit of research and found that if I set&nbsp; "UseCanonical On" in the apache conf file that $_SERVER['SERVER_NAME']; would return my server DNS name.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have a correct entry in my /etc/hosts file.</DIV>
<DIV>&nbsp;</DIV>
<DIV>What am I missing here to get the email to have the dns name instead of the hostname?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks</DIV>
<DIV>Brad</DIV>
<DIV><BR>&gt;&gt;&gt; On 8/18/2010 at 2:19 PM, in message &lt;4C6BEBDA020000680005DA99@smtp.aafp.org&gt;, "Brad Beckenhauer" &lt;bbecken@aafp.org&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">
<DIV>When Zendto is sending the message to the recipient, the recipient receives the email&nbsp;and the link contains the IP Address of the actual zendto server.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to change the message to use the servers DNS name and not the IP Address of the server.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;looked at&nbsp;the templates/dropoff_email.tpl&nbsp; and it shows it referencing the zendToURL variable.&nbsp;&nbsp; Where is this variable set or am I looking at the wrong setting?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Below is a snip from an email to a recipient showing the IP Address.</DIV>
<DIV>&nbsp;</DIV>
<DIV>IF YOU TRUST THE SENDER, and are expecting to receive a file from them, you may choose to retrieve the drop-off by clicking the following link (or copying and pasting it into your web browser):<BR><BR>&nbsp; <A href="https://10.1.1.2/pickup.php?claimID=" target='_blank&nbsp;&nbsp;onclick="return' themainwindow.showlinkwarning(this)=""><FONT color=red><B>MailScanner has detected a possible fraud attempt from "10.1.1.2" claiming to be</B></FONT> https://10.1.1.2/pickup.php?claimID=</A>&nbsp;&lt; omitted &gt;<BR>The sender has left you a note:<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV></TD></TR></TBODY></TABLE></BODY></HTML>