move attachments from email to web?

Glenn Steen glenn.steen at gmail.com
Thu Mar 2 21:13:33 GMT 2006


On 02/03/06, Julian Field <MailScanner at ecs.soton.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> We have a quarantine retrieval system here which puts quarantined
> attachments on a website. It isn't quite what you want, but might help.
>
> How would you move the attachments to a website? It is quite possible to
> process the message to remove attachments bigger than a certain size and
> copy them somewhere, but you have the whole security problem to be aware
> of. Just generate a random URL? When would you delete the file? It's got
> to hang around for quite a while. You would replace the attachment with
> a text attachment containing the URL for the file.
>
> It sounds an interesting project to write, and I am quite willing to
> help. Things are pretty quiet right now (he says, cursing himself into a
> month like January!).
>
> If you can expand the spec, that would help.
> We could have a directory and ownership and permissions supplied, and a
> random directory name containing the files attached to a particular
> message that are over a certain size.
> So supply:
> Directory name
> Owner
> Group
> Permissions
>
> I then create a random directory name (based on the message queue id for
> simplicity) and move the attachments into there. I then replace the
> attachments one at a time with text/plain or text/html attachments
> directing the user to click on a link to download the attachment, whose
> filename will be the sanitised original attachment name.
>
> How does that sound?
> A nice little project that would be particularly useful to users with
> slow connections who are using POP and have a tight mail quota. It
> effectively moves their mail quota into web server space, but that's not
> my problem :-)


Wouldn't this best be solved by just let it degrade to the problem of
"shoving the attachments into the quarantine, possibly notifying the
recipient, then handling everything concerning the web view/release
from within MailWatch"?
Perhaps not as fun a project:-)

-- Glenn
> Tom Combs wrote:
> > Hi,  This is off topic but given the experience of this group, I thought
> > I'd ask...
> > I'd like to be able to scrub large attachments from email, converting
> > them to
> > html and making them accessible via a provided URL.  Does anyone have
> > any experience with this?  If so, how do you do it?
> >
> > Thanks,   Tom Combs
> >
>
> - --
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.0.5 (Build 5050)
>
> iQA/AwUBRAdHaRH2WUcUFbZUEQKhZQCg01pHDCNjEBTmkUajsX6kVh+fmREAnjsr
> 7MPNu3Pd6wmpzz7dGOA7nqOD
> =Mm2O
> -----END PGP SIGNATURE-----
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list