Hello,
I was considering, it would be a nice add-on, if one could directly email a file (or more) from let’s say Virtualmin’s File Manager or from Usermin.
I don’t know, if it’s easy to implement or if it will benefit a lot of people, but I wanted to send a file from the server over email the other day and found it was not possible neither from VMin or from UMin.
That seems like a pretty risky feature to expose email users to (it’d be very easy for a user to try to email a multi-GB file, which is not a reasonable thing to do). I don’t think I’d want to put that foot-gun into Usermin.
I’m also not sure about in Webmin/Virtualmin. File Manager still tends to be used by lots of non-technical users and adding more options has a price (and we already have too much going on in the UI). That said, it would be cool to be able to share local files easily, as one can do with, e.g. Google Cloud Storage or Google Drive. I’m not sure how we’d implement that securely, though. We currently only have authenticated and unauthenticated access, I don’t think we have a way to do “authenticated by URL”.
I think I just have to say, “We’ll talk about it, but no promises.”
Why would it be risky? Since users can download files locally and then attach in Usermin. The only difference is, such feature will spare the time and bandwidth to download and upload.
Besides, it can be implemented with let’s say Admin ability to control such attachments by size and by file type.
This feature is already available. It can be enabled on Webmin ⇾ Usermin Configuration: Usermin Module Configuration / Read Mail page, with Allow access to server-side files option.