maildir inlet #151
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#151
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Peter mentioned yesterday that one of google's offerings lets you upload
files by emailing them (as attachments) to some special email address.
I'm thinking this would be cool to have in Tahoe. The way I'd do this is to
say that if the node notices a maildir-shaped directory named 'inlet' in its
basedir (meaning that it sees three directories: inlet/{new,cur,tmp}), it
will poll or use inotify or something to watch for new messages in new/ .
When one appears, it will pull a command out of the Subject: line. A subject
of 'add DIRURI' would cause it to locate all of the attached files, upload
them to the mesh, then add their filenames to the designated directory.
For our testnet, the inlet address could be something like
'testnet@allmydata.org'. or 'testnet-inlet@allmydata.org'.
Doing it this way exposes the DIRURI to anyone who can intercept the mail, of
course. Putting the authority in the subject line (as opposed to the
destination address, like 'testnet-add-DIRURI@allmydata.org') reduces the
exposure somewhat, since destination addresses are usually logged by all
intermediate MTAs, while subjects (and bodies) are usually not.
I'm thinking that the node should never ever send email, so the user who
sends this email will not get email-based notification of success. Instead
they should poll the directory to watch for their files to appear.
If the mail need not be encrypted, then this seems less secure than existing frontends. If it does need to be encrypted, then it seems like a lot of work for little or no gain in usability compared to other frontends. Suggest wontfix.
It would certainly be less secure. The original idea was to make it easy for e.g. allmydata customers to add files to their directories, similar to what some other services do (dropio? box.net? I forget). I'd leave it on the back burner, and see if we get some users searching/asking for it.
I don't think we should add frontends that are significantly less secure than the existing ones. E-mail is mostly unencrypted and sent over untrusted channels, so it doesn't fit Tahoe's security requirements for a frontend protocol.
Let's close this as
wontfix
. We can always re-open it if someone comes up with a compelling use case or a huge BitCoin bounty or something. :-)