<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, 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> </DIV>
<DIV>in /lib/NSSDropbox.php lines 40-43 appear to be what is extracting the server name for the email message. In my case it's always an IP Address instead of the desired DNS host name. I did abit of research and found that if I set "UseCanonical On" in the apache conf file that $_SERVER['SERVER_NAME']; would return my server DNS name.</DIV>
<DIV> </DIV>
<DIV>I have a correct entry in my /etc/hosts file.</DIV>
<DIV> </DIV>
<DIV>What am I missing here to get the email to have the dns name instead of the hostname?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV>Brad</DIV>
<DIV><BR>>>> On 8/18/2010 at 2:19 PM, in message <4C6BEBDA020000680005DA99@smtp.aafp.org>, "Brad Beckenhauer" <bbecken@aafp.org> 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 and the link contains the IP Address of the actual zendto server.</DIV>
<DIV> </DIV>
<DIV>I want to change the message to use the servers DNS name and not the IP Address of the server.</DIV>
<DIV> </DIV>
<DIV>I looked at the templates/dropoff_email.tpl and it shows it referencing the zendToURL variable. Where is this variable set or am I looking at the wrong setting?</DIV>
<DIV> </DIV>
<DIV>Below is a snip from an email to a recipient showing the IP Address.</DIV>
<DIV> </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> <A href="https://10.1.1.2/pickup.php?claimID=" target='_blank 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> < omitted ><BR>The sender has left you a note:<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></TD></TR></TBODY></TABLE></BODY></HTML>