[ mailman-Bugs-1432090 ] Emails not entered in the filter rules very well

SourceForge.net noreply at sourceforge.net
Wed Feb 15 17:31:07 CET 2006


Bugs item #1432090, was opened at 2006-02-15 03:14
Message generated for change (Comment added) made by msapiro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1432090&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Invalid
Priority: 2
Submitted By: gw- (gw-)
Assigned to: Nobody/Anonymous (nobody)
Summary: Emails not entered in the filter rules very well

Initial Comment:
When accepting an email from a non-subscriber (in a
closed mailing list) and selecting the option that the
sender should be added to the filter list of allowed
senders - this is not done very well, because it adds a
plain string representation of the email address, not
an regular expression (as which everything in that
filter-field is interpreted).

(mailman from Debian-i386, 2.1.5-8)

----------------------------------------------------------------------

>Comment By: Mark Sapiro (msapiro)
Date: 2006-02-15 08:31

Message:
Logged In: YES 
user_id=1123998

I can't read the Slovene translation, but it may be an
accurate rendition of the English which is a bit ambiguous.
It says:
"In the text boxes below, add one address per line; start
the line with a ^ character to designate a Python regular
expression. When entering backslashes, do so as if you were
using Python raw strings (i.e. you generally just use a
single backslash)."

It means "you may start the line ...".

The next paragraph says:
"Note that non-regexp matches are always done first."

which implies you don't need regexps.

The 'details' for these say:
"Add member addresses one per line; start the line with a ^
character to designate a regular expression match."

Perhaps these should say "optionally start the line ..." or
something similar.


----------------------------------------------------------------------

Comment By: gw- (gw-)
Date: 2006-02-15 07:58

Message:
Logged In: YES 
user_id=1334052

Oh, thanks for the explanation.

Than this means that the Slovene translation is invalid.

The current:
"Sporočila s katerega od teh naslovov bodo samodejno
odobrena, brez dodatne modifikacije. Dodajte naslove članov,
vsakega v svojo vrstico; ki jo začnete z znakom ^, ki
predstavlja regularni izraz za iskanje ujemanj."
should be replaced with:
"Sporočila prejeta s katerega od teh naslovov bodo samodejno
odobrena, brez dodatne modifikacije. Naslove članov dodajte
vsakega v svojo vrstico. Če želite pri tem uporabljati
regularne izraze za iskanje ujemanj, morate vrstico začeti z ^."

----------------------------------------------------------------------

Comment By: Mark Sapiro (msapiro)
Date: 2006-02-15 07:21

Message:
Logged In: YES 
user_id=1123998

It works as designed and as it should.

Entries in *_these_nonmembers are only interpreted as
regular expressions if they begin with '^'. Anything else is
an exact plain string match (case insensitive).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1432090&group_id=103


More information about the Mailman-coders mailing list