<div dir="ltr"><div>I&#39;m not entirely sure that&#39;ll be the case.  For me, ZendTo emails are sent from PHP via Sendmail, which equates to &lt;PHP Process user&gt;@&lt;hostname&gt;.<br><br></div>This is a better explanation of a workaround (as long as there are no other emails sent by that machine): <a href="http://mailman.ecs.soton.ac.uk/pipermail/zendto/2012-November/001855.html">http://mailman.ecs.soton.ac.uk/pipermail/zendto/2012-November/001855.html</a><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br>Kris Lou<br><a href="mailto:klou@themusiclink.net" target="_blank">klou@themusiclink.net</a></div></div>
<br><div class="gmail_quote">On Wed, Nov 9, 2016 at 8:18 AM, Matthew Moore <span dir="ltr">&lt;<a href="mailto:MooreM10@cardiff.ac.uk" target="_blank">MooreM10@cardiff.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Keith,<br>
<br>
So if the user accesses <a href="http://zend.to" rel="noreferrer" target="_blank">zend.to</a> via the new domain, the new domain will be in the emails.<br>
<br>
That&#39;s a nice easy fix.  Thanks for that.  I was going to put a redirect in with apache anyway.<br>
Cheers,<br>
<span class=""><br>
Matthew Moore<br>
<br>
Senior Server Engineer and Team Leader<br>
University IT Service<br>
Cardiff University<br>
42 Park Place<br>
Cardiff<br>
CF10 3BB<br>
Tel: <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
Email: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a><br>
<br>
Matthew M​oore<br>
<br>
<br>
Gwasanaeth TG y Brifysgol<br>
Prifysgol Caerdydd<br>
42 Plas y Parc<br>
Caerdydd<br>
CF10 3BB<br>
Ffôn : <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
E-bost: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a> ​<br>
<br>
<br>
______________________________<wbr>__________<br>
</span>From: <a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a> &lt;<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>&gt; on behalf of Keith Erekson &lt;<a href="mailto:kbe2@lehigh.edu">kbe2@lehigh.edu</a>&gt;<br>
Sent: 09 November 2016 16:10:21<br>
To: ZendTo Users<br>
Subject: Re: [ZendTo] Changing dropoff link in emails sent out<br>
<div class="HOEnZb"><div class="h5"><br>
The URL is assembled in lib/NSSDropbox.php, and the domain name comes<br>
from the $_SERVER[&#39;SERVER_NAME&#39;] env variable.<br>
<br>
This means it uses whichever domain name the users are hitting to access<br>
the site.<br>
<br>
To &quot;phase out&quot; an old domain, you can just configure your web server to<br>
redirect the old one to the new one, perhaps with mod_rewrite.<br>
<br>
~Keith<br>
<br>
<br>
On 11/09/2016 11:01 AM, Matthew Moore wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; My <a href="http://zend.to" rel="noreferrer" target="_blank">zend.to</a> installation has two domain names, I&#39;m trying to phase one out.  However it happens to be the domain which is used in the email which is sent out to users.  How do I change that email address?<br>
&gt;<br>
&gt; I can&#39;t find an option in any of the config files to change it.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Matthew Moore<br>
&gt;<br>
&gt; Senior Server Engineer and Team Leader<br>
&gt; University IT Service<br>
&gt; Cardiff University<br>
&gt; 42 Park Place<br>
&gt; Cardiff<br>
&gt; CF10 3BB<br>
&gt; Tel: <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
&gt; Email: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a><br>
&gt;<br>
&gt; Matthew M​oore<br>
&gt;<br>
&gt;<br>
&gt; Gwasanaeth TG y Brifysgol<br>
&gt; Prifysgol Caerdydd<br>
&gt; 42 Plas y Parc<br>
&gt; Caerdydd<br>
&gt; CF10 3BB<br>
&gt; Ffôn : <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
&gt; E-bost: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a> ​<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; ZendTo mailing list<br>
&gt; <a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
&gt; <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
<br>
______________________________<wbr>_________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a></div></div></blockquote></div><br></div></div>