[ZendTo] lock down recipient
Jules at Zend.To
Thu Oct 25 12:06:24 BST 2018
On 24/10/2018 20:51, Shane via ZendTo wrote:
> I've just finished installing zend.to
> in my centos 7. is it possible
> to lock down the users who login to send files to one particular
> recipient, not be able to add any other email address? I browsed through
> preferences.php and couldn't find any reference to it unless I missed
Not currently, no.
You could hard-wire into the template
/opt/zendto/templates/new_dropoff.tpl like this:
* Right near the top, put your fixed recipient info into the variables
"presetToName" and "presetToEmail".
* Search for 'id="addRecipients"'. Add to that <a> tag an attribute
That would stop it appearing, which may be enough for your needs.
> Also is it possible to lock down to allow only Excel files to be uploaded?
No. There's pretty much no way of *reliably* detecting that a file is an
And don't suggest *.xls or *.xlsx. Then people just rename their
p**n/w*r*z before sending it.
> thanks i
> ZendTo mailing list
> ZendTo at zend.to
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ZendTo