[Mailman-Users] Trying too decipher uncaught bounce notification

2021-04-20 Thread Bader, Robert (Bob)
I think I know what is happening , but I want to make sure. A bunch of my list 
admins are getting bounces like below?

I think it is someone or probably a BOT, trying to subscribe to our lists, But 
they are using a bad email address so it bounces to the admin. (Our lists are 
set to confirm/approve for joining).  I assume they are just trying to join any 
lists that don’t have confirm/approve to see if they can then get the users of 
the list, maybe, What else could they be trying to do?

I have seen a couple of different bad emails addresses used, so I just can’t 
ban this one,  I am telling list admins to ignore them. But if they get worse I 
think they can set this setting to “NO”

Should Mailman send you, the list owner, any bounce messages that failed to be 
detected by the bounce processor? Yes is recommended.
(Details for bounce_unrecognized_goes_to_list_owner)

Which would stop these notifications? But it is recommended to leave it to 
“yes”.


Any other options ideas?  Am I on the right track?


Here is a bounce example with  our list info stripped.

***
Error: Invalid user address

Error message below:
550 - Requested action not taken: no such user here

Message details:
  Subject: confirm 174c7e02aa6603b72ba30e59c5e24c7fceebd826
  Sent date: Wed Apr 14 23:08:48 UTC 2021
  MAIL FROM: xxx-software-xxx-boun...@mailman.xxx.xxx
  RCPT TO: 17323547...@vtext.com
  From:
< XXX-software-XXX-request@ mailman.XXX.XXX >

  To:
<17323547...@vtext.com>

  Size: 11.3 KiB


--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Trying too decipher uncaught bounce notification

2021-04-20 Thread Jon Baron
See https://www.mail-archive.com/mailman-users@python.org/msg73654.html

That may help.

On 04/20/21 13:12, Bader, Robert (Bob) wrote:
> I think I know what is happening , but I want to make sure. A bunch of my 
> list admins are getting bounces like below?
> 
> I think it is someone or probably a BOT, trying to subscribe to our lists, 
> But they are using a bad email address so it bounces to the admin. (Our lists 
> are set to confirm/approve for joining).  I assume they are just trying to 
> join any lists that don’t have confirm/approve to see if they can then get 
> the users of the list, maybe, What else could they be trying to do?
> 
> I have seen a couple of different bad emails addresses used, so I just can’t 
> ban this one,  I am telling list admins to ignore them. But if they get worse 
> I think they can set this setting to “NO”
> 
> Should Mailman send you, the list owner, any bounce messages that failed to 
> be detected by the bounce processor? Yes is recommended.
> (Details for bounce_unrecognized_goes_to_list_owner)
> 
> Which would stop these notifications? But it is recommended to leave it to 
> “yes”.
> 
> 
> Any other options ideas?  Am I on the right track?
> 
> 
> Here is a bounce example with  our list info stripped.
> 
> ***
> Error: Invalid user address
> 
> Error message below:
> 550 - Requested action not taken: no such user here
> 
> Message details:
>   Subject: confirm 174c7e02aa6603b72ba30e59c5e24c7fceebd826
>   Sent date: Wed Apr 14 23:08:48 UTC 2021
>   MAIL FROM: xxx-software-xxx-boun...@mailman.xxx.xxx
>   RCPT TO: 17323547...@vtext.com
>   From:
> < XXX-software-XXX-request@ mailman.XXX.XXX >
> 
>   To:
> <17323547...@vtext.com>
> 
>   Size: 11.3 KiB
> 
> 
> --
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-users.python.org/
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
> https://mail.python.org/archives/list/mailman-users@python.org/

-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: https://www.sas.upenn.edu/~baron
Editor: Judgment and Decision Making (http://journal.sjdm.org)
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Can we make lists invite only?

2021-04-20 Thread Mark Sapiro
On 4/19/21 7:29 PM, John Elliot V | ProgClub wrote:
>>
>> You can always edit the listings page via the web admin UI and remove the 
>> subscribe form.
> 
> Ah, right. I suspect that won't work because at this stage the spammers
> already have a copy of the form so removing it from the web won't
> necessarily work. It would be good if there was a server side block I
> could put in place...


If you set SUBSCRIBE_FORM_SECRET in mm_cfg.py, a saved form won't work.

See the description of SUBSCRIBE_FORM_SECRET, and also CAPTCHAS and
RECAPTCHA_* in Defaults.py


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Non-ascii characters missing from Pipermail archive txt and gz downloads

2021-04-20 Thread Mark Sapiro
On 4/19/21 10:43 PM, Mark Dale via Mailman-Users wrote:
> 
> François -- as seen in the mm_cfg modified download txt: the cedille replace 
> by odd characters.

How are you viewing the .txt file? The two bytes C3 A7 are the utf-8
representation of the c-cedilla character. If you view that file as
iso-8859-1 (latin-1 or western) encoding, you will see those two bytes
as ç, but if you view it as uf-8 encoding, you will see the c-cedilla.

In short, the file contains just what it should, but there is a
Content-Transfer-Encoding issue. If you are viewing it in a browser, the
issue is the default content character set in your web server. For
example with Apache something like

AddCharset utf-8 .txt

will do what you want, or perhaps your browser has a selection. E.g.,
Firefox has a text encoding selection in the View menu and you want
Unicode, not Western.

If you are actually downloading the file and viewing it with something
else, the issue is with whatever you are viewing it with.

> In short, no joy.
> 
> So I'm thinking that if the part of HyperArch.py that does the email address 
> obfuscation (and back again) is removed, would that be a step in the 
> direction I want to go?
> 
> My Python foo is way less than zero but I'm looking at lines 563 -- 600. Or 
> is my thinking completely bonkers? 


That won't help. As I said, the file is no correct and no unrecognized
characters have been replaced, so modifying that code by say deleting
lines 587-599 won't change anything.


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Non-ascii characters missing from Pipermail archive txt and gz downloads

2021-04-20 Thread Mark Dale via Mailman-Users


 Original Message 
From: Mark Sapiro [mailto:m...@msapiro.net]
Sent: Tuesday, April 20, 2021, 18:55 UTC

> On 4/19/21 10:43 PM, Mark Dale via Mailman-Users wrote:
>>
>> François -- as seen in the mm_cfg modified download txt: the cedille 
>> replace by odd characters.
> 
> How are you viewing the .txt file? The two bytes C3 A7 are the utf-8
> representation of the c-cedilla character. If you view that file as
> iso-8859-1 (latin-1 or western) encoding, you will see those two bytes
> as ç, but if you view it as uf-8 encoding, you will see the c-cedilla.
> 
> In short, the file contains just what it should, but there is a
> Content-Transfer-Encoding issue. If you are viewing it in a browser, the
> issue is the default content character set in your web server. For
> example with Apache something like
> 
> AddCharset utf-8 .txt
> 
> will do what you want, or perhaps your browser has a selection. E.g.,
> Firefox has a text encoding selection in the View menu and you want
> Unicode, not Western.
> 
> If you are actually downloading the file and viewing it with something
> else, the issue is with whatever you are viewing it with.
> 


... Uh-oh ...  ... you're right that the issue is what I'm 
viewing it with. 

Just to clarify: there are two .txt files ...

(A) an archive .txt.gz file before I made the change to the mm_cfg.py file; and 
(B) an archive .txt.gz file after I made the change.

I followed the txt.gz link on the Pipermail page and got the options to 
"Download" or "Open file".

FAIL -- On choosing the "Open file" with ArchiveManager/JEdit, File-A showed 
the c-cedilla replaced by the question-mark; and File-B showed it replaced by 
the ç characters.

SUCCESS -- However, choosing "Download", then gunzip and then open with JEdit I 
get a better result: File A showed the c-cedilla replaced by the question-mark 
as expected; but File-B shows the c-cedilla (happy days!). 


So in short, Mark Sapiro's recommended fix -- https://wiki.list.org/x/15958250 
-- has cracked this little chestnut.

Many thanks once again Mark.




--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Non-ascii characters missing from Pipermail archive txt and gz downloads

2021-04-20 Thread Mark Sapiro
On 4/20/21 5:20 PM, Mark Dale via Mailman-Users wrote:
> 
> Just to clarify: there are two .txt files ...
> 
> (A) an archive .txt.gz file before I made the change to the mm_cfg.py file; 
> and 
> (B) an archive .txt.gz file after I made the change.


Slightly off topic, but after the cron/nightly_gzip job runs, the
.txt.gz file will be updated with the contents from the .txt file.

However, the point of this post is to point out that the .txt.gz files
are an anachronism from the days when the bit of bandwidth saved by
delivering a compressed version was important to more that a few ancient
curmudgeons like me.

These days, the bandwidth savings is unimportant and is probably offset
by the redundant storage and processing for the .txt.gz files.

If you want to get rid of these files, see
.


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Non-ascii characters missing from Pipermail archive txt and gz downloads

2021-04-20 Thread Mark Dale via Mailman-Users



 Original Message 
From: Mark Sapiro [mailto:m...@msapiro.net]
Sent: Wednesday, April 21, 2021, 01:53 UTC

> Slightly off topic, but after the cron/nightly_gzip job runs, the
> .txt.gz file will be updated with the contents from the .txt file.
> 
> However, the point of this post is to point out that the .txt.gz files
> are an anachronism from the days when the bit of bandwidth saved by
> delivering a compressed version was important to more that a few ancient
> curmudgeons like me.
> 
> These days, the bandwidth savings is unimportant and is probably offset
> by the redundant storage and processing for the .txt.gz files.
> 
> If you want to get rid of these files, see
> .


Thank you Mark, that information is appreciated and I've made the change.


--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/