Email Isn't For Files

2006-03-13 19:24 - Tech

There is a such thing as netiquette. I'll admit that 10 years ago the 'net was a friendlier, dare I say more intelligent, place. But I still prefer to deal with those individuals who do not conduct themselves like baboons. To wit, I find these items rather important:

We can't do much about those items on an automatic basis. Oh, but that last one! Email attachments are the unhappy status quo these days. I wince every time we're in a big meeting at work and the boss decides to just send his powerpoint slides around to everyone, so they have them for reference. I inevitably come back to my desk with a 3, 4, 5 megabyte message in my inbox, knowing it's been duplicated 50 times over, and die a little inside for the poor mail server.

Mail servers are not meant to send and receive big binary files. They're an especially bad way to archive big binary files. This program solves two of those ills, by offloading the archiving to the file system, and the sending to a web server. Running this will replace all binary attachments in your incoming email with a plain-text file, with links to where you can fetch the files via the web. You of course need a viable userdir, to have the links work.

Download:

Email Isn't For Files

Notes:

This is a perl script, and depends on a number of CPAN modules. It can be tough to get the sysadmin to install things for you on production machines. If you have enough access to get this file somewhere in your home dir, though, you can do it yourself. Simply put the files into the right structure, somewhere in your home directory, and add a line like use lib "/home/USERNAME/lib/"; into the script.

If only we could cure top posting ...

Comments:

Update MIME types
2006-03-23 11:48 - arantius

Updated to version 0.3 today. This version properly juggles MIME types with /mixed and /alternative to avoid the bug where HTML mails with a plain text alternative as well would display twice.

Post a comment:

Username
Password
  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.
Subject:
Comment:

You may use Markdown syntax in the comment, but no HTML. Hints:

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)