Dear colleagues,
I am writting to you all because I have doubts as to how to correctly configure some variables on some mailing lists I administer.
1) Spam
As noted on <> I added "X-Spam-Score:[^+]*[+]{4,}" at VARHELP=privacy/spam/header_filter_rules. Is that correct? I note that the header format is like "X-Spam-Score: 6.7 (++++++)" with numbers and curve brackets. Is that regex correct to match this?
2) Regex for filtering senders
We've got some email addresses from the same domain banned in VARHELP=privacy/sender/discard_these_nonmembers. To avoid the list to grow, I was thinking on using "^.*@banneddomain.com" but I'm not sure if that'd work. Could you please advice me here?
Thanks for your help.
Best regards, M.
1) I would write the regex this way: "^X-Spam-Score:\s*[0-9]+.[0-9]+(+*)"
Note that "^" is here because SMTP protocol requires the filed to start at the beginning of the line. We can't be sure what's at the end of the line.
2) Mail servers should be able to recognize banned domains with just "@banneddomain.com" or even "banneddomain.com".
However, if you really have to write the regular expression, then it should be like this: ".*@banneddomain.com"
Note here that you should escape both @ and dot. It would likely work without them, but it could break.
On Wed, Jun 7, 2017 at 10:07 PM, MarcoAurelio strigiwm@gmail.com wrote:
Dear colleagues,
I am writting to you all because I have doubts as to how to correctly configure some variables on some mailing lists I administer.
- Spam
As noted on <> I added "X-Spam-Score:[^+]*[+]{4,}" at VARHELP=privacy/spam/header_filter_rules. Is that correct? I note that the header format is like "X-Spam-Score: 6.7 (++++++)" with numbers and curve brackets. Is that regex correct to match this?
- Regex for filtering senders
We've got some email addresses from the same domain banned in VARHELP=privacy/sender/discard_these_nonmembers. To avoid the list to grow, I was thinking on using "^.*@banneddomain.com" but I'm not sure if that'd work. Could you please advice me here?
Thanks for your help.
Best regards, M.
Listadmins mailing list Listadmins@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/listadmins
Thanks Milos,
However I've read that mailman uses python regexes to work so I'm still not sure, taking into account that the instructions on the very mailman config page difer a bit.
Oh, and I forgot to mention that < https://wikitech.wikimedia.org/wiki/Mailman#Spam_scores%3E is the advice I followed on 1)
Regards, M.
2017-06-07 22:18 GMT+02:00 Milos Rancic millosh@gmail.com:
- I would write the regex this way: "^X-Spam-Score:\s*[0-9]+.[
0-9]+(+*)"
Note that "^" is here because SMTP protocol requires the filed to start at the beginning of the line. We can't be sure what's at the end of the line.
- Mail servers should be able to recognize banned domains with just
"@banneddomain.com" or even "banneddomain.com".
However, if you really have to write the regular expression, then it should be like this: ".*@banneddomain.com"
Note here that you should escape both @ and dot. It would likely work without them, but it could break.
On Wed, Jun 7, 2017 at 10:07 PM, MarcoAurelio strigiwm@gmail.com wrote:
Dear colleagues,
I am writting to you all because I have doubts as to how to correctly configure some variables on some mailing lists I administer.
- Spam
As noted on <> I added "X-Spam-Score:[^+]*[+]{4,}" at VARHELP=privacy/spam/header_filter_rules. Is that correct? I note that
the
header format is like "X-Spam-Score: 6.7 (++++++)" with numbers and curve brackets. Is that regex correct to match this?
- Regex for filtering senders
We've got some email addresses from the same domain banned in VARHELP=privacy/sender/discard_these_nonmembers. To avoid the list to
grow,
I was thinking on using "^.*@banneddomain.com" but I'm not sure if
that'd
work. Could you please advice me here?
Thanks for your help.
Best regards, M.
Listadmins mailing list Listadmins@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/listadmins
Listadmins mailing list Listadmins@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/listadmins
Those are "Python regular expressions", although in that form Perl-compatible :)
On Wed, Jun 7, 2017 at 10:26 PM, MarcoAurelio strigiwm@gmail.com wrote:
Thanks Milos,
However I've read that mailman uses python regexes to work so I'm still not sure, taking into account that the instructions on the very mailman config page difer a bit.
Oh, and I forgot to mention that https://wikitech.wikimedia.org/wiki/Mailman#Spam_scores is the advice I followed on 1)
Regards, M.
2017-06-07 22:18 GMT+02:00 Milos Rancic millosh@gmail.com:
- I would write the regex this way:
"^X-Spam-Score:\s*[0-9]+.[0-9]+(+*)"
Note that "^" is here because SMTP protocol requires the filed to start at the beginning of the line. We can't be sure what's at the end of the line.
- Mail servers should be able to recognize banned domains with just
"@banneddomain.com" or even "banneddomain.com".
However, if you really have to write the regular expression, then it should be like this: ".*@banneddomain.com"
Note here that you should escape both @ and dot. It would likely work without them, but it could break.
On Wed, Jun 7, 2017 at 10:07 PM, MarcoAurelio strigiwm@gmail.com wrote:
Dear colleagues,
I am writting to you all because I have doubts as to how to correctly configure some variables on some mailing lists I administer.
- Spam
As noted on <> I added "X-Spam-Score:[^+]*[+]{4,}" at VARHELP=privacy/spam/header_filter_rules. Is that correct? I note that the header format is like "X-Spam-Score: 6.7 (++++++)" with numbers and curve brackets. Is that regex correct to match this?
- Regex for filtering senders
We've got some email addresses from the same domain banned in VARHELP=privacy/sender/discard_these_nonmembers. To avoid the list to grow, I was thinking on using "^.*@banneddomain.com" but I'm not sure if that'd work. Could you please advice me here?
Thanks for your help.
Best regards, M.
Listadmins mailing list Listadmins@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/listadmins
Listadmins mailing list Listadmins@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/listadmins
Listadmins mailing list Listadmins@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/listadmins
On Wed, Jun 7, 2017 at 2:18 PM, Milos Rancic millosh@gmail.com wrote:
- I would write the regex this way: "^X-Spam-Score:\s*[0-9]+.[0-9]+(+*)"
Note that "^" is here because SMTP protocol requires the filed to start at the beginning of the line. We can't be sure what's at the end of the line.
This regex matches zero to inifinty '+' characters in the X-Spam-Score header. The original regex of "X-Spam-Score:[^+]*[+]{4,}" only matches when four or more '+' characters occur in series in the header. I know that regex works with mailman because I use it on the labs-l and labs-announce lists. Updating it with a start of line anchor would be fine too: "^X-Spam-Score:[^+]*[+]{4,}"
For anyone who doesn't read regex fluently (and honestly why should you), this pattern says: * "^" : match only at the start of a new line * "X-Spam-Score:" : match this literal string * "[^+]*" : match zero to infinity characters that are not '+' * "[+]{4,}" : match four to infinity '+' characters in series
Bryan
Hello
We intend to use again the mailing list https://lists.wikimedia.org/mailman/listinfo/wikimediafr-l
I just tried to contact its only admin and unfortunately, dead email...
Could I be made admin of it please ?
I just created a new account on that list under my most active email account fdevouard@anthere.org
Thanks
Florence/Anthere
Hi,
On Wed, 2017-06-14 at 10:31 +0200, Florence Devouard wrote:
Could I be made admin of it please ?
By sending an email to listadmins@lists.wikimedia.org you contact *all* other mailing list admins but nearly none of the subscribers on this list can change admins or reset passwords of other mailing lists.
For requests specifically about some mailing list, please file a task in Phabricator and associate the project "#wikimedia-mailing-lists". See https://www.mediawiki.org/wiki/Phabricator/Help for more info.
Thanks a lot!, andre
ok. Noted. Thanks !
Flo
Le 14/06/2017 à 11:01, Andre Klapper a écrit :
Hi,
On Wed, 2017-06-14 at 10:31 +0200, Florence Devouard wrote:
Could I be made admin of it please ?
By sending an email to listadmins@lists.wikimedia.org you contact *all* other mailing list admins but nearly none of the subscribers on this list can change admins or reset passwords of other mailing lists.
For requests specifically about some mailing list, please file a task in Phabricator and associate the project "#wikimedia-mailing-lists". See https://www.mediawiki.org/wiki/Phabricator/Help for more info.
Thanks a lot!, andre
listadmins@lists.wikimedia.org