<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Shane,<br>
    <br>
    Be careful when you upgrade in future.<br>
    <br>
    When you upgrade, apt or yum/rpm will notice that you have modified
    that template.<br>
    It will create a new one for you (yum/rpm will call it
    new_dropoff.tpl.rpmnew).<br>
    You will need to make your change to the new one, then move it into
    place to overwrite the old one.<br>
    <br>
    I frequently have to change that particular template file as it's so
    complicated.<br>
    <br>
    The apt/yum/rpm command will tell you that it's got a new version of
    that particular file. But it tends to output rather a lot anyway, so
    it's very easy to miss the line that tells you about this file.<br>
    <br>
    Cheers,<br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 25/10/2018 23:54, Shane via ZendTo
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:WM!24b8fef85fd5d31312bce961027db29aa233a0f8796eedd033d7d5c256b6d5958a26dbfa5aaf333eb6d6af599851c1bd!@mx.jul.es">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Jules</div>
        <div><br>
        </div>
        <div>Thank you. That worked great. <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, Oct 25, 2018 at 4:07 AM Jules Field via
          ZendTo <<a href="mailto:zendto@zend.to"
            moz-do-not-send="true">zendto@zend.to</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF"> Shane,<br>
            <br>
            <div class="m_-8468460817526564310moz-cite-prefix">On
              24/10/2018 20:51, Shane via ZendTo wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div>Hello <br>
                </div>
                <div><br>
                </div>
                <div>I've just finished installing <a
href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fzend.to&data=01%7C01%7CJules%40ecs.soton.ac.uk%7Cfd6cebc05dc946b2713108d639ea34bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=mdR4MmVIXUR9XqFoPOpgmtdG%2FpzSkIrY6I0YN%2Bh4F7s%3D&reserved=0"
                    target="_blank" moz-do-not-send="true">zend.to</a>
                  in my centos 7. is it possible</div>
                <div>to lock down the users who login to send files to
                  one particular</div>
                <div>recipient, not be able to add any other email
                  address?  I browsed through</div>
                <div>preferences.php and couldn't find any reference to
                  it unless I missed something.</div>
              </div>
            </blockquote>
            Not currently, no.<br>
            You could hard-wire into the template
            /opt/zendto/templates/new_dropoff.tpl like this:<br>
            * Right near the top, put your fixed recipient info into the
            variables "<tt>presetToName</tt>" and "<tt>presetToEmail</tt>".<br>
            * Search for '<tt>id="addRecipients"</tt>'. Add to that
            <a> tag an attribute '<tt>style="display:none"</tt>'.<br>
            That would stop it appearing, which may be enough for your
            needs.<br>
            <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div><br>
                </div>
                <div>Also is it possible to lock down to allow only
                  Excel files to be uploaded?<br>
                </div>
              </div>
            </blockquote>
            No. There's pretty much no way of *reliably* detecting that
            a file is an Excel file.<br>
            And don't suggest *.xls or *.xlsx. Then people just rename
            their p**n/w*r*z before sending it.<br>
            <br>
            Sorry!<br>
            Jules.<br>
            <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div><br>
                </div>
                <div>thanks i</div>
                <div>shane<br>
                </div>
              </div>
              <br>
              <fieldset
                class="m_-8468460817526564310mimeAttachmentHeader"></fieldset>
              <pre class="m_-8468460817526564310moz-quote-pre">_______________________________________________
ZendTo mailing list
<a class="m_-8468460817526564310moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" target="_blank" moz-do-not-send="true">ZendTo@zend.to</a>
<a class="m_-8468460817526564310moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjul.es%2Fmailman%2Flistinfo%2Fzendto&amp;data=01%7C01%7CJules%40ecs.soton.ac.uk%7Cfd6cebc05dc946b2713108d639ea34bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=i%2FQ4BIYymCnsMKYR%2B71Hvn%2FMYIcvFlcQ4T5sFU1YYuA%3D&amp;reserved=0" target="_blank" moz-do-not-send="true">https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjul.es%2Fmailman%2Flistinfo%2Fzendto&amp;data=01%7C01%7CJules%40ecs.soton.ac.uk%7Cfd6cebc05dc946b2713108d639ea34bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=i%2FQ4BIYymCnsMKYR%2B71Hvn%2FMYIcvFlcQ4T5sFU1YYuA%3D&amp;reserved=0</a>
</pre>
            </blockquote>
            <br>
            <pre class="m_-8468460817526564310moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'In Flanders fields the poppies blow
 Between the crosses, row on row,
 That mark our place: and in the sky
 The larks still bravely singing fly
 Scarce heard amid the guns below.

 We are the dead: Short days ago,
 We lived, felt dawn, saw sunset glow,
 Loved and were loved: and now we lie
 In Flanders fields!

 Take up our quarrel with the foe
 To you, from failing hands, we throw
 The torch: be yours to hold it high
 If ye break faith with us who die,
 We shall not sleep, though poppies grow
 In Flanders fields.' Lieutenant Colonel John McCrae

Composed at the battlefront on May 3, 1915 
during the second battle of Ypres, Belgium

<a class="m_-8468460817526564310moz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
</pre>
          </div>
          _______________________________________________<br>
          ZendTo mailing list<br>
          <a href="mailto:ZendTo@zend.to" target="_blank"
            moz-do-not-send="true">ZendTo@zend.to</a><br>
          <a href="http://jul.es/mailman/listinfo/zendto"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
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://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'They went with songs to the battle, they were young.
 Straight of limb, true of eye, steady and aglow.
 They were staunch to the end against odds uncounted,
 They fell with their faces to the foe.

 They shall grow not old, as we that are left grow old:
 Age shall not weary them, nor the years condemn.
 At the going down of the sun and in the morning,
 We will remember them.

 They mingle not with their laughing comrades again;
 They sit no more at familiar tables of home;
 They have no lot in our labour of the day-time;
 They sleep beyond England's foam.'
    - Ode of Remembrance, Laurence Binyon

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
  </body>
</html>