Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Mark Dale
> And what is the error in Mailman's error log. GLOBAL_BAN_LIST = ['^[0-9a-z.]{6,}\+[0-9a-z]{4,}@gmail\.com$'] D'oh. My apologies. The error was not from the trailing '$' but from not having the quotes in place originally. All is now well (with the above). Thanks, Mark 2018/06/04 10:33:14 [e

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Mark Sapiro
On 06/03/2018 05:58 PM, Mark Dale wrote: > > I can't see why either, but with the '$' left in place, the > Mailman Web UI displayed the error "Sorry, we hit a bug..." And what is the error in Mailman's error log. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Cali

Re: [Mailman-Users] Cascading lists

2018-06-03 Thread Mark Sapiro
On 06/02/2018 11:53 PM, Rubén Fernández Asensio wrote: > Hello all, > I'm a new list administrator and a bit lost among Mailman's many > features. Could you please give some advice? > I'm trying to implement an announcement list and an unmoderated > discussion list, and having the second receive al

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Grant Taylor via Mailman-Users
On 06/03/2018 04:11 PM, Mark Sapiro wrote: Ban list regexps are case insensitive. Thank you for the clarification Mark. The fact that the ones I saw never had periods following the plus sign. ACK -- Grant. . . . unix || die -- Mailman-U

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Mark Dale
> >> ^[0-9a-z.]{8,}\+[0-9a-z]{4,}@gmail\.com$ > > > > I'm getting errors with the above however it seems to do the job > > if I enclose it in quotes and remove the trailing $ - like so: > > > > GLOBAL_BAN_LIST = ['^[0-9a-z.]{6,}\+[0-9a-z]{4,}@gmail\.com'] - > What you have done is correct

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Mark Sapiro
On 06/03/2018 04:28 PM, Mark Dale wrote: > >> I use this regexp in the GLOBAL_BAN_LIST >> >> ^[0-9a-z.]{8,}\+[0-9a-z]{4,}@gmail\.com$ > > I'm getting errors with the above however it seems to do the job > if I enclose it in quotes and remove the trailing $ - like so: > > GLOBAL_BAN_LIST = ['^[0

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Mark Dale
> I use this regexp in the GLOBAL_BAN_LIST > > ^[0-9a-z.]{8,}\+[0-9a-z]{4,}@gmail\.com$ I'm getting errors with the above however it seems to do the job if I enclose it in quotes and remove the trailing $ - like so: GLOBAL_BAN_LIST = ['^[0-9a-z.]{6,}\+[0-9a-z]{4,}@gmail\.com'] Am I missing s

Re: [Mailman-Users] Fail2ban on the Mailman web interface

2018-06-03 Thread Mark Sapiro
On 06/03/2018 09:52 AM, Henrique Fagundes wrote: > > My idea is that when the attacker / attacker incorrectly enters the > password of the login field in the web interface, it is blocked. But for > this to work, it is necessary for MailMan to report unsuccessful login > attempts in its log. Mail

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Mark Sapiro
On 06/03/2018 09:53 AM, Grant Taylor via Mailman-Users wrote: > On 06/02/2018 09:29 PM, Mark Sapiro wrote: >> I use this regexp in the GLOBAL_BAN_LIST >> >> ^[0-9a-z.]{8,}\+[0-9a-z]{4,}@gmail\.com$ > > Are you not looking for capital letters? Ban list regexps are case insensitive. > I can see

Re: [Mailman-Users] Fail2ban on the Mailman web interface

2018-06-03 Thread Jim Popovitch via Mailman-Users
On June 3, 2018 5:44:17 PM UTC, Henrique Fagundes wrote: >Dear, > >Where should I put this file? >First I put it in "/ etc / mailman", and it did not work. > It's intended to be an example of modifications that can be made to Utils.py in order to get better logging. If you look in the mischief

Re: [Mailman-Users] Fail2ban on the Mailman web interface

2018-06-03 Thread Henrique Fagundes
Dear, Where should I put this file? First I put it in "/ etc / mailman", and it did not work. Then I tried to add the contents of it to the file "/usr/lib/mailman/Mailman/Utils.py" also did not work. I use Mailman in version 2.1.23, installed in Debian 9 through "apt-get". I'll be grateful i

Re: [Mailman-Users] Fail2ban on the Mailman web interface

2018-06-03 Thread Jim Popovitch via Mailman-Users
On Sun, 2018-06-03 at 13:52 -0300, Henrique Fagundes wrote: > Dear Colleagues, > > Good afternoon! > > I begin by apologizing for the fact that this text is difficult to  > interpret because I am Brazilian and I do not have many English > language  > skills. > > I'm having a hard time using Fail

Re: [Mailman-Users] Spam Subscriptions

2018-06-03 Thread Grant Taylor via Mailman-Users
On 06/02/2018 09:29 PM, Mark Sapiro wrote: I use this regexp in the GLOBAL_BAN_LIST ^[0-9a-z.]{8,}\+[0-9a-z]{4,}@gmail\.com$ Are you not looking for capital letters? I can see how the period in the first class would work, but I don't see that in the second class. What am I missing? -- G

[Mailman-Users] Fail2ban on the Mailman web interface

2018-06-03 Thread Henrique Fagundes
Dear Colleagues, Good afternoon! I begin by apologizing for the fact that this text is difficult to interpret because I am Brazilian and I do not have many English language skills. I'm having a hard time using Fail2Ban along with MailMan mailing list management software. My idea is that w