stripping attachments and sending the URL

Hello everybody,
On http://www.linuxjournal.com/article/3844 (May 1st, 2000) I read the following:
"For example, there is a project contributor who has implemented a MIME attachment scanner module which can be dropped into the pipeline. This module can strip attachments from the message, post the attachments to an external archive (either the file system or a WebDAV server) and then rewrite the outgoing message to include a URL to the attachment instead of the attachment text."
This is exactly the functionality I'm looking for! Does anyone have an idea where to find this module, or how this can be done otherwise?
Thanks in advance,
Thijs Braem Onderwijstechnoloog Onderwijsvernieuwing & OnderwijsServiceCentrum Vrije Universiteit Brussel Tel : +32.2629.1249 E-mail: tbraem@vub.ac.be http://osc.vub.ac.be/
-- "If you believe in freedom of speech, you believe in freedom of speech for views you don't like. Goebbels was in favor of freedom of speech for views he liked. So was Stalin. If you're in favor of freedom of speech, that means you're in favor of freedom of speech precisely for views you despise." -- Noam Chomsky

Thijs Braem wrote:
On http://www.linuxjournal.com/article/3844 (May 1st, 2000) I read the following:
"For example, there is a project contributor who has implemented a MIME attachment scanner module which can be dropped into the pipeline. This module can strip attachments from the message, post the attachments to an external archive (either the file system or a WebDAV server) and then rewrite the outgoing message to include a URL to the attachment instead of the attachment text."
This is exactly the functionality I'm looking for! Does anyone have an idea where to find this module, or how this can be done otherwise?
Starting with Mailman 2.1.6, there is a scrub_nondigest setting in the Non-digest options section of the web admin interface.
This will cause non text/plain parts of the message to be removed and replaced by links to the archive where they are stored. You don't have a choice of where the "attachments" are stored, but otherwise this is the feature.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Hello List. Question - moved server with Mailman on it from one domain to another, changed ip address and physical location. Changed config files, did withlist -l -r fix_url , and everything works fine except for one little thing - the page titled <The Test-list Archives> with link <You can get more information about this list> - link still points to the old server name. Any idea where do i fix that? Mailman version 2.1.9 on Centos 5.2 Many Thanks.
Alex

Alex Rogozin wrote:
Question - moved server with Mailman on it from one domain to another, changed ip address and physical location. Changed config files, did withlist -l -r fix_url , and everything works fine except for one little thing - the page titled <The Test-list Archives> with link <You can get more information about this list> - link still points to the old server name. Any idea where do i fix that?
Those links are in the HTML files in the archive. Some of those files like the table of contents and the current periodic (monthly or ..) indices are rewritten as new posts arrive, and should get rewritten with the correct URL. The listinfo links in older indices and messages will not get rewritten.
You have a few choices.
- Assuming the archives/private/LISTNAME.mbox/LISTNAME.mbox files are present and complete, rebuild the archives with
bin/arch --wipe LISTNAME
Edit the HTML files by hand or with a script
Live with it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Hello,
On Sat, Jan 10, 2009 at 17:58, Mark Sapiro <mark@msapiro.net> wrote:
You have a few choices.
- Assuming the archives/private/LISTNAME.mbox/LISTNAME.mbox files are present and complete, rebuild the archives with
bin/arch --wipe LISTNAME
Edit the HTML files by hand or with a script
Live with it.
There is one more option. Assuming you still control the old domain, you can rewrite the links in .htaccess file. But only if the domain is still yours.
-- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl

Thijs Braem wrote:
"For example, there is a project contributor who has implemented a MIME attachment scanner module which can be dropped into the pipeline. This module can strip attachments from the message, post the attachments to an external archive (either the file system or a WebDAV server) and then rewrite the outgoing message to include a URL to the attachment instead of the attachment text."
This is exactly the functionality I'm looking for! Does anyone have an idea where to find this module, or how this can be done otherwise?
Dunno about the WebDAV part, but the rest can be done by simply enabling attachment stripping for non-digest messages.
-- Brad Knowles <brad@shub-internet.org> If you like Jazz/R&B guitar, check out LinkedIn Profile: my friend bigsbytracks on YouTube at <http://tinyurl.com/y8kpxu> http://preview.tinyurl.com/bigsbytracks
participants (5)
-
Alex Rogozin
-
Brad Knowles
-
Mark Sapiro
-
Thijs Braem
-
Zbigniew Szalbot