Message-ID: <1558735409.21578.1371638193889.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_21577_314925831.1371638193888" ------=_Part_21577_314925831.1371638193888 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Mailman config (mm_cfg.py) supports PUBLIC_MBOX=3DNo, which really only = changes the look&feel of the pipermail archive so that it isn't readily= apparent that users can download <list>.mbox files. HOWEVER, this in= no way prevents savvy users from actually downloading those files. The .mb= ox and archive .txt files contain raw email addresses, and spammers have be= en known to download these to get lots of valid (interest specific) email a= ddresses. Here are my recommendations on how to suppress access to these fi= les:
In Apache's httpd.conf enable mod_redirect and use these rules:
The above Apache rules strictly inhibit the downloading of the .mbox and= .txt files. The side affect of redirecting the user to http:///mailman/ or= http:///pipermail/ is that the user is presented with a "Forbidden&qu= ot; web page. You could override/change this to point the user to a custom = site specific "Go Away" page by changing the RedirectMatch statem= ents.
Now that the user doesn't have the capability to download .mbox and .txt= files, you can make this change to Mailman/Archiver/HyperArch.py to disabl= e the presentation of the "Downloadable version" (*.txt or *.txt.= gz) files from each list main archive page.
Save the above code (excluding the begin/end lines) to a file called hyp= erarch.patch. Then cd into your Mailman directory (default is /usr/local/ma= ilman) and execute these commands:
The above patch will prevent your list archives from displaying a URL to= download the raw archive .txt or .txt.gz files. Now, the only remaining is= sue is that the main list archive page (http:///mailman/pipermail/
In the future I hope that this FAQ entry can go away and that Mailman wi= ll properly support chmod'ing private//.mbox and private/<= strong>/.txt archive files when the site sets PUBLIC_MBOX=3DNo.
Questions? email me email@example.com
Last changed on Sat Feb 4 21:10:54 2006 by Brad Knowles
Converted from the Mailman FAQ Wizard
This is one of many = Frequently Asked Questions.------=_Part_21577_314925831.1371638193888--