Mailman-coders Digest, Vol 21, Issue 1
Ehsan
masoomy at gmail.com
Wed Sep 1 12:21:20 CEST 2004
http://masoomy2000.persianblog.com
On Wed, 1 Sep 2004 12:00:53 +0200 (CEST),
mailman-coders-request at python.org <mailman-coders-request at python.org>
wrote:
> Send Mailman-coders mailing list submissions to
> mailman-coders at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.python.org/mailman/listinfo/mailman-coders
> or, via email, send a message with subject or body 'help' to
> mailman-coders-request at python.org
>
> You can reach the person managing the list at
> mailman-coders-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Mailman-coders digest..."
>
> Today's Topics:
>
> 1. [ mailman-Bugs-1019550 ] Bug in base64MIME.py (SourceForge.net)
> 2. [ mailman-Bugs-1020013 ] spam filters get removed when
> changing other privacy pages (SourceForge.net)
> 3. [ mailman-Patches-1020102 ] fix for spam filter removed
> (bugid:1013079/1020013) (SourceForge.net)
> 4. [ mailman-Bugs-1013079 ] spam filters get removed when
> changing other privacy pages (SourceForge.net)
> 5. [ mailman-Bugs-1020013 ] spam filters get removed when
> changing other privacy pages (SourceForge.net)
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 31 Aug 2004 03:16:50 -0700
> From: "SourceForge.net" <noreply at sourceforge.net>
> Subject: [ mailman-Bugs-1019550 ] Bug in base64MIME.py
> To: noreply at sourceforge.net
> Message-ID: <E1C25h4-0005OJ-00 at sc8-sf-web4.sourceforge.net>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Bugs item #1019550, was opened at 2004-08-31 12:16
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1019550&group_id=103
>
> Category: Web/CGI
> Group: 2.1 (stable)
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Manuel Pedreira (kour)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Bug in base64MIME.py
>
> Initial Comment:
> Bug in Mailman version 2.1.5
>
> We're sorry, we hit a bug!
> If you would like to help us identify the problem, please
> email a copy of this page to the webmaster for this site
> with a description of what happened. Thanks!
>
> Traceback:
>
> Traceback (most recent call last):
> File "/usr/local/mailman/scripts/driver", line 80, in
> run_main
> pkg = __import__('Mailman.Cgi', globals(), locals(),
> [scriptname])
> File "/usr/local/mailman/Mailman/Cgi/listinfo.py", line 26,
> in ?
> from Mailman import Utils
> File "/usr/local/mailman/Mailman/Utils.py", line 37, in ?
> import email.Header
> File "/usr/local/mailman/pythonlib/email/Header.py", line
> 11, in ?
> import email.base64MIME
>
> File "/usr/local/mailman/pythonlib/email/base64MIME.py",
> line 31, in ?
> from email._compat22 import _floordiv
> ImportError: cannot import name _floordiv
>
> -------------------------------------------------------
> -------------------------
>
> Python information:
> Variable Value
> sys.version 2.1.3 (#1, Sep 7 2002, 15:29:56) [GCC
> 2.95.4 20011002 (Debian prerelease)]
> sys.executable /usr/bin/python2.1
> sys.prefix /usr
> sys.exec_prefix /usr
> sys.path /usr
> sys.platform linux2
>
> -------------------------------------------------------
> -------------------------
>
> Environment variables:
> Variable Value
> DOCUMENT_ROOT /wwroot/listas.gulo.org/
> SERVER_ADDR 193.147.87.51
> SERVER_PORT 80
> REMOTE_ADDR **.**.**.**
> SERVER_SOFTWARE Apache/2.0.48 (Unix) PHP/4.3.3
> mod_ssl/2.0.48 OpenSSL/0.9.6c
> HTTP_VIA 1.0 VENUS1
> HTTP_ACCEPT_LANGUAGE es
> GATEWAY_INTERFACE CGI/1.1
> SERVER_NAME listas.gulo.org
> HTTP_CONNECTION Keep-Alive
> HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0;
> Windows NT 5.0; MyIE2; .NET CLR 1.1.4322)
> HTTP_ACCEPT */*
> REQUEST_URI /mailman/listinfo
> QUERY_STRING
> SERVER_PROTOCOL HTTP/1.0
> HTTP_HOST listas.gulo.org
> REQUEST_METHOD GET
> SERVER_SIGNATURE
> HTTP_IF_MODIFIED_SINCE Tue, 31 Aug 2004 09:41:13
> GMT
> SCRIPT_NAME /mailman/listinfo
> SERVER_ADMIN admin(at)gulo.org
> SCRIPT_FILENAME /usr/local/mailman/cgi-bin/listinfo
> PYTHONPATH /usr/local/mailman
> HTTP_COOKIE
> PHPSESSID=0fb5eb2692415f078d387a9225b8086e
> REMOTE_PORT 36105
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1019550&group_id=103
>
> ------------------------------
>
> Message: 2
> Date: Tue, 31 Aug 2004 14:10:29 -0700
> From: "SourceForge.net" <noreply at sourceforge.net>
> Subject: [ mailman-Bugs-1020013 ] spam filters get removed when
> changing other privacy pages
> To: noreply at sourceforge.net
> Message-ID: <E1C2Ftd-0000ai-00 at sc8-sf-web1.sourceforge.net>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Bugs item #1020013, was opened at 2004-08-31 16:10
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1020013&group_id=103
>
> Category: Web/CGI
> Group: 2.1 (stable)
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: John Dennis (johndennis)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: spam filters get removed when changing other privacy pages
>
> Initial Comment:
> This was filed in the Red Hat bugzilla as:
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130479
>
> Promoting to upstream
>
> Summary is:
>
> If you enter some header_filter_rules in the mailman
> admin pages
> (Privacy->Spam filters) and click "submit" they are
> added to the
> list configuration database.
>
> However, if you now go to one of the other Privacy
> pages and click
> "submit" and return to the Spam Filters page, you'll
> find that your
> header_filter_rules settings have been removed.
>
> This appears to be caused by the handleForm function in
> ~mailman/Mailman/Gui/Privacy.py not checking to see
> which subsection
> is being submitted before processing the data for and
> setting the
> mlist.header_filter_rules list configuration variable.
>
> Version-Release number of selected component (if
> applicable):
> mailman-2.1.5
>
> How reproducible:
> Always
>
> Steps to Reproduce:
> 1. Create list.
> 2. Go to the Privacy->Spam filters page, add some
> header_filter_rules
> and hit submit.
> 3. Go to the Privacy->Sender filters page but don't hit
> submit
> 4. Go back to Spam filters and note that they're still
> present
> 5. Return to Sender filters and hit submit
> 6. Go back to Spam filters and note that they've been
> removed.
>
> Actual Results: All spam filters are removed.
>
> Expected Results: Spam filter settings should be retained.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1020013&group_id=103
>
> ------------------------------
>
> Message: 3
> Date: Tue, 31 Aug 2004 18:27:12 -0700
> From: "SourceForge.net" <noreply at sourceforge.net>
> Subject: [ mailman-Patches-1020102 ] fix for spam filter removed
> (bugid:1013079/1020013)
> To: noreply at sourceforge.net
> Message-ID: <E1C2Ju4-0003Ze-00 at sc8-sf-web4.sourceforge.net>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Patches item #1020102, was opened at 2004-09-01 01:27
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1020102&group_id=103
>
> Category: Web UI
> Group: Mailman 2.1
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Tokio Kikuchi (tkikuchi)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: fix for spam filter removed (bugid:1013079/1020013)
>
> Initial Comment:
> spam rules should be updated only if the subcategory is
> 'spam'. The patch looks weird but it adds only one 'if'
> statement and indent for the if block.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1020102&group_id=103
>
> ------------------------------
>
> Message: 4
> Date: Tue, 31 Aug 2004 18:31:31 -0700
> From: "SourceForge.net" <noreply at sourceforge.net>
> Subject: [ mailman-Bugs-1013079 ] spam filters get removed when
> changing other privacy pages
> To: noreply at sourceforge.net
> Message-ID: <E1C2JyF-00011v-00 at sc8-sf-web1.sourceforge.net>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Bugs item #1013079, was opened at 2004-08-20 19:23
> Message generated for change (Comment added) made by tkikuchi
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1013079&group_id=103
>
> Category: security/privacy
> Group: 2.1 beta
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Ralph Siemsen (ralphs)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: spam filters get removed when changing other privacy pages
>
> Initial Comment:
> Error report on behalf of Russell King
> (rmk+bugzilla at arm.linux.org.uk):
>
> Description of problem:
> If you enter some header_filter_rules in the mailman
> admin pages (Privacy->Spam filters) and click "submit"
> they are added to the list configuration database.
>
> However, if you now go to one of the other Privacy
> pages and click "submit" and return to the Spam Filters
> page, you'll find that your header_filter_rules
> settings have been removed.
>
> This appears to be caused by the handleForm function in
> ~mailman/Mailman/Gui/Privacy.py not checking to see
> which subsection is being submitted before processing
> the data for and setting the mlist.header_filter_rules
> list configuration variable.
>
> Version-Release number of selected component (if
> applicable): mailman-2.1.5-7
>
> How reproducible:
> Always
>
> Steps to Reproduce:
> 1. Create list.
> 2. Go to the Privacy->Spam filters page, add some
> header_filter_rules and hit submit.
> 3. Go to the Privacy->Sender filters page but don't hit
> submit
> 4. Go back to Spam filters and note that they're still
> present
> 5. Return to Sender filters and hit submit
> 6. Go back to Spam filters and note that they've been
> removed.
>
> Actual Results: All spam filters are removed.
>
> Expected Results: Spam filter settings should be retained.
>
> Also reported to redhat bugzilla:
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130479
>
> ----------------------------------------------------------------------
>
> >Comment By: Tokio Kikuchi (tkikuchi)
> Date: 2004-09-01 01:31
>
> Message:
> Logged In: YES
> user_id=67709
>
> a patch was uploaded (id:1020102)
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1013079&group_id=103
>
> ------------------------------
>
> Message: 5
> Date: Tue, 31 Aug 2004 18:33:01 -0700
> From: "SourceForge.net" <noreply at sourceforge.net>
> Subject: [ mailman-Bugs-1020013 ] spam filters get removed when
> changing other privacy pages
> To: noreply at sourceforge.net
> Message-ID: <E1C2Jzh-00014S-00 at sc8-sf-web1.sourceforge.net>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Bugs item #1020013, was opened at 2004-08-31 21:10
> Message generated for change (Comment added) made by tkikuchi
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1020013&group_id=103
>
> Category: Web/CGI
> Group: 2.1 (stable)
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: John Dennis (johndennis)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: spam filters get removed when changing other privacy pages
>
> Initial Comment:
> This was filed in the Red Hat bugzilla as:
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130479
>
> Promoting to upstream
>
> Summary is:
>
> If you enter some header_filter_rules in the mailman
> admin pages
> (Privacy->Spam filters) and click "submit" they are
> added to the
> list configuration database.
>
> However, if you now go to one of the other Privacy
> pages and click
> "submit" and return to the Spam Filters page, you'll
> find that your
> header_filter_rules settings have been removed.
>
> This appears to be caused by the handleForm function in
> ~mailman/Mailman/Gui/Privacy.py not checking to see
> which subsection
> is being submitted before processing the data for and
> setting the
> mlist.header_filter_rules list configuration variable.
>
> Version-Release number of selected component (if
> applicable):
> mailman-2.1.5
>
> How reproducible:
> Always
>
> Steps to Reproduce:
> 1. Create list.
> 2. Go to the Privacy->Spam filters page, add some
> header_filter_rules
> and hit submit.
> 3. Go to the Privacy->Sender filters page but don't hit
> submit
> 4. Go back to Spam filters and note that they're still
> present
> 5. Return to Sender filters and hit submit
> 6. Go back to Spam filters and note that they've been
> removed.
>
> Actual Results: All spam filters are removed.
>
> Expected Results: Spam filter settings should be retained.
>
> ----------------------------------------------------------------------
>
> >Comment By: Tokio Kikuchi (tkikuchi)
> Date: 2004-09-01 01:33
>
> Message:
> Logged In: YES
> user_id=67709
>
> a patch is uploaded (id 1020102)
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1020013&group_id=103
>
> ------------------------------
>
> _______________________________________________
> Mailman-coders mailing list
> Mailman-coders at python.org
> http://mail.python.org/mailman/listinfo/mailman-coders
>
> End of Mailman-coders Digest, Vol 21, Issue 1
> *********************************************
>
More information about the Mailman-coders
mailing list