[Mailman-Users] Re: illegal BOM

2022-02-03 Thread dmitri maziuk

On 2022-02-03 4:47 PM, Christian via Mailman-Users wrote:

Hello Mark Sapiro. On Thu, 3 Feb 2022 14:31:11 -0800, you wrote:

...

This is the only header in the message that looks suspicious. I
suspect the `?` characters are actually non-ascii characters in an
unencoded header and that's the problem.

...

Ah, I see - the ? in this part: " den ? [...]  Content analysis details" seems 
to replace a curly quote.

I’ll contact the provider whether it is possible to switch off the spam 
detection software for our lists.


It sounds like another Mac OSX "smart quotes" problem. The only known 
"proper" fix is to contact the poster and tell them to reconfigure all 
their text editing software (and the mailer) to not use "smart quotes", 
"typographer's quotes", and/or whatever they may be called in that 
particular OSX version.

:(

Dima
--
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: illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hello Mark Sapiro. On Thu, 3 Feb 2022 14:31:11 -0800, you wrote:

>>> X-Ham-Report: Spam detection software, running on the system
>>> "crift.digimouse.eu", has NOT identified this incoming email as
>>> spam.  The original message has been attached to this so you can view
>>> it or label similar future email.  If you have any questions, see
>>> root\@localhost for details. Content preview:  systemerweiterungen,
>>> benutzer, dein account, startobjekte: ist da noch was drin? Jean-Luc
>>> Aeby CH-4052 Basel > Am 03.02.2022 um 09:05 schrieb Max Röthlisberger
>>> Mus : > > Guten Morgen zusammen > > Mein MacBook Pro,
>>> OS 10.11.6 sucht zu Hause nach einem Neustart 4 - 5 > mal im Heimnetz
>>> den ? [...]  Content analysis details:   (-0.0 points, 4.0 required)
>>> pts rule name  description  --
>>> -- 0.0
>>> URIBL_BLOCKED  ADMINISTRATOR NOTICE: The query to URIBL was
>>> blocked.  See
>>> http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for
>>> more information. [URIs: mus.ch] -0.0 BAYES_40   BODY:
>>> Bayes spam probability is 20 to 40% [score: 0.2865] -0.0
>>> SPF_PASS   SPF: sender matches SPF record 0.0
>>> KAM_SHORT  Use of a URL Shortener for very short URL -0.0
>>> T_SCC_BODY_TEXT_LINE   No description available.
> ...
> 
> 
> This is the only header in the message that looks suspicious. I 
> suspect the `?` characters are actually non-ascii characters in an 
> unencoded header and that's the problem. I think whatever is adding 
> this header (SpamExperts ?) is the root of the problem. If this can 
> be configured to not add that X-Ham-Report: header, that may solve 
> the issue.

Ah, I see - the ? in this part: " den ? [...]  Content analysis details" seems 
to replace a curly quote. 

I’ll contact the provider whether it is possible to switch off the spam 
detection software for our lists. 

> Or, you could patch 
> https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/Cleanse.py#L62
>  
> and add
> ```
> del msg['X-Ham-Report']
> ```
> to have Mailman remove it. That may help.

Thank you so much 
Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.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: illegal BOM

2022-02-03 Thread Mark Sapiro

On 2/3/22 13:16, Christian via Mailman-Users wrote:

Hello Mark Sapiro. On Thu, 3 Feb 2022 11:28:00 -0800, you wrote:


Can you post the headers of the message as sent from the list?


Of course. Here it is:


...

X-Ham-Report: Spam detection software, running on the system
"crift.digimouse.eu", has NOT identified this incoming email as
spam.  The original message has been attached to this so you can view
it or label similar future email.  If you have any questions, see
root\@localhost for details. Content preview:  systemerweiterungen,
benutzer, dein account, startobjekte: ist da noch was drin? Jean-Luc
Aeby CH-4052 Basel > Am 03.02.2022 um 09:05 schrieb Max Röthlisberger
Mus : > > Guten Morgen zusammen > > Mein MacBook Pro,
OS 10.11.6 sucht zu Hause nach einem Neustart 4 - 5 > mal im Heimnetz
den ? [...]  Content analysis details:   (-0.0 points, 4.0 required)
pts rule name  description  --
-- 0.0
URIBL_BLOCKED  ADMINISTRATOR NOTICE: The query to URIBL was
blocked.  See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for
more information. [URIs: mus.ch] -0.0 BAYES_40   BODY:
Bayes spam probability is 20 to 40% [score: 0.2865] -0.0
SPF_PASS   SPF: sender matches SPF record 0.0
KAM_SHORT  Use of a URL Shortener for very short URL -0.0
T_SCC_BODY_TEXT_LINE   No description available.

...


This is the only header in the message that looks suspicious. I suspect 
the `?` characters are actually non-ascii characters in an unencoded 
header and that's the problem. I think whatever is adding this header 
(SpamExperts ?) is the root of the problem. If this can be configured to 
not add that X-Ham-Report: header, that may solve the issue.


Or, you could patch 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/Cleanse.py#L62 
and add

```
del msg['X-Ham-Report']
```
to have Mailman remove it. That may help.


--
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: illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hello Mark Sapiro. On Thu, 3 Feb 2022 11:28:00 -0800, you wrote:
> On 2/3/22 09:24, Christian via Mailman-Users wrote:
>> Hello Carl Zwanzig. On Thu, 3 Feb 2022 17:12:37 +, you wrote:
>> 
   From tine to time I get bounce messages (for several recipients,
 today 4 of a total of 165) with the folloeing content:
>>> 
>>> Are those coming from the same recipients? same hosts? (same sender?)
>>> Looking for any commonality between failures.
>> 
>> Today I saw two different mail hosts reporting this error.
> 
> 
> But the question is was the poster or the poster's domain the same?

Today it was 1 single message - bounced from 4 destination addresses. 

> Can you post the headers of the message as sent from the list?

Of course. Here it is: 

> Return-path: 
> Received: from [::1] (port=42372 helo=crift.digimouse.eu) by 
> crift.digimouse.eu with esmtp (Exim 4.94.2) (envelope-from 
> ) id 1nFYkI-0003Yb-SS for i...@jlaeby.ch; 
> Thu, 03 Feb 2022 11:49:41 +0200
> Received: from nx5.node01.servicehoster.ch ([194.191.24.205]:20285) 
> by crift.digimouse.eu with esmtps (TLS1.2) tls 
> TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from 
> ) id 1nFYjS-0003XH-W4 for listn...@mus.ch; Thu, 03 
> Feb 2022 11:48:50 +0200
> Received: from web16.servicehoster.ch ([194.191.24.26]) by 
> node01.servicehoster.ch with esmtps (TLSv1.2:AES128-GCM-SHA256:128) 
> (Exim 4.92) (envelope-from ) id 1nFYij-001AvF-TE for 
> listn...@mus.ch; Thu, 03 Feb 2022 10:48:08 +0100
> X-SecureMailgate-Identity: supp...@jlaeby.ch;web16.servicehoster.ch
> Received: from mailproxy1.servicehoster.ch 
> (mailproxy1.servicehoster.ch [194.191.24.249]) (Authenticated sender: 
> supp...@jlaeby.ch) by web16.servicehoster.ch (Postfix) with ESMTPSA 
> id E1292283C33; Thu,  3 Feb 2022 10:48:04 +0100 (CET)
> X-SecureMailgate-Identity: supp...@jlaeby.ch;web16.servicehoster.ch
> From: Jean-Luc Aeby 
> Mime-Version: 1.0 (1.0)
> Message-Id: <49cc4583-c039-4298-aab0-486d8f38d...@jlaeby.ch>
> References: <61fb806e.1000...@gmx.net>
> In-Reply-To: <61fb806e.1000...@gmx.net>
> To: My Listname 
> Date: Thu, 3 Feb 2022 10:47:57 +0100
> X-Mailer: iPhone Mail (19C63)
> X-PPP-Message-ID: <20220203094805.1919589.44...@web16.servicehoster.ch>
> X-PPP-Vhost: jlaeby.ch
> X-Originating-IP: 194.191.24.26
> X-SpamExperts-Domain: web16.servicehoster.ch
> X-SpamExperts-Username: 194.191.24.26
> Authentication-Results: servicehoster.ch; auth=pass 
> smtp.auth=194.191.24...@web16.servicehoster.ch
> X-SpamExperts-Outgoing-Class: ham
> X-SpamExperts-Outgoing-Evidence: Combined (0.10)
> X-Recommended-Action: accept
> X-Filter-ID: 
> Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9GLtin6l+txdElILq/dTaMPUtbdvnXkggZ 
> 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zfUDJC12yq1R+0xYTXupxIc6njMu1JKD+SITWju70qDXH+ 
> ctc+dpw7gdML3GJ/0msh55uqY3MhMgFAHq5BxPxP12vLaykrv/CV1HIsS0W0SG32PVOyyTq65KCP 
> Edd+aVdouAN+Zcq4K4WoYagN8ZM67Ra46+udvgcY+rhDPo0c5ehyDmer8lEHke3c0U1vejiaLU28 
> xfGxbJc3Fnwf/OFlpRmoji2HEHffcAOeAvCLnizdCoyd6Zso1A7DhSLZDZQUx7MG2wf4WvmVq0gI 
> vEpMsXte0CH4ExjoF85tff90A1HUoVwaoyKiseY5we892IYad3lsxkDrjYxAaP1hGz0QyGcCgytU 
> Mu2J9HJXA1Uo4AZeFq5fAXGcSKKeqh8qGBjw2YHxywJjv0+YZf/72FgeUHn+gnmsNLchHhymY5JU 
> 63hy/sIYQHSrltYx0aSLXrZBb28w2O5AZdbWNIkO3NCjZ7FYVl/BQ3QKsAVBVEjkrDhrjIHsvvRj 
> yQOzr25FPf/Deo2F/515C8kJ0QodJwfrmFGs5lmow6gOzU/CbOds0gEiRQv+PVjjwa+Z5RFCOMSX 
> MmfzoxaPyOgXrgXEjk0eWpEhCmdLpqjaP3jDB9QvXusM54wVAOlSD/zV8CCZm5fiIYr6oi6Wy76P 
> yMRvkvurVV8gVB0OrHv2q11HcBSY0iz3XgtqLDENrnN+u7byfLqgZZAS9m5ZAKg1qGreZOdFq+KD 
> +HSe3QqOtbfvew+T8Jp7R/SyQ9MaPLuQ4OIexWoNiXzTEv0SLu34PBxzuERAwdRWk4myhKHuwgYs 
> 2PEJ3MA/9xGgj7taJxWtHZ97uYqOu5TxNefgMpX+DiV6TZ5Nw6nIoDr0sXUZ7YZoZ/GZ+hFN0x52 
> 3WxNmc+AvCalCmRJm84B1u1bEoWAFvHljuWaLNLnnkkL94kTQnbQ9bsMgGb3QSxTuhF3dtWcgZsS 
> 3iwqNR+YJaQAd+G4qbVmYoTDcSLZOai+Ves9Dekd80QunVT5zsfLy3aWiU9bQJYdgWKzrSl9uYny 
> uRAIXyrYCHbl
> X-Report-Abuse-To: s...@node01.servicehoster.ch
> X-Spam-Status: No, score=-0.0
> X-Spam-Score: 0
> X-Spam-Bar: /
> X-Ham-Report: Spam detection software, running on the system 
> "crift.digimouse.eu", has NOT identified this incoming email as 
> spam.  The original message has been attached to this so you can view 
> it or label similar future email.  If you have any questions, see 
> root\@localhost for details. Content preview:  systemerweiterungen, 
> benutzer, dein account, startobjekte: ist da noch was drin? Jean-Luc 
> Aeby CH-4052 Basel > Am 03.02.2022 um 09:05 schrieb Max Röthlisberger 
> Mus : > > Guten Morgen zusammen > > Mein MacBook Pro, 
> OS 10.11.6 sucht zu Hause nach einem Neustart 4 - 5 > mal im Heimnetz 
> den ? [...]  Content analysis details:   (-0.0 points, 4.0 required) 
> pts rule name  description  -- 
> -- 0.0 
> URIBL_BLOCKED  ADMINISTRATOR NOTICE: The query to URIBL was 
> blocked.  See 
> http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for 
> more information. [URIs: mus.ch] -0.0 BAYES_40   BODY: 
>

[Mailman-Users] Re: illegal BOM

2022-02-03 Thread Mark Sapiro

On 2/3/22 09:24, Christian via Mailman-Users wrote:

Hello Carl Zwanzig. On Thu, 3 Feb 2022 17:12:37 +, you wrote:


  From tine to time I get bounce messages (for several recipients,
today 4 of a total of 165) with the folloeing content:


Are those coming from the same recipients? same hosts? (same sender?)
Looking for any commonality between failures.


Today I saw two different mail hosts reporting this error.



But the question is was the poster or the poster's domain the same?

Can you post the headers of the message as sent from the list?

--
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: Reply To

2022-02-03 Thread Mark Sapiro

On 2/3/22 09:45, John McDonald via Mailman-Users wrote:

Is there any way to remove "Reply" and "Reply To" from an email sent to a 
mailing list.



On the list's General Options page, setting  first_strip_reply_to to Yes 
will remove any Reply-To: headers that are in the incoming Mail.


--
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] Reply To

2022-02-03 Thread John McDonald via Mailman-Users
Is there any way to remove "Reply" and "Reply To" from an email sent to a 
mailing list.
--
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: illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hello Carl Zwanzig. On Thu, 3 Feb 2022 17:12:37 +, you wrote:

>>  From tine to time I get bounce messages (for several recipients, 
>> today 4 of a total of 165) with the folloeing content:
> 
> Are those coming from the same recipients? same hosts? (same sender?) 
> Looking for any commonality between failures.

Today I saw two different mail hosts reporting this error. 

Thank you

Christian 
-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.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: illegal BOM

2022-02-03 Thread Carl Zwanzig

On 2/3/2022 5:58 AM, Christian via Mailman-Users wrote:

 From tine to time I get bounce messages (for several recipients, today 4 of a 
total of 165) with the folloeing content:


Are those coming from the same recipients? same hosts? (same sender?) 
Looking for any commonality between failures.


Later,

z!
--
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] illegal BOM

2022-02-03 Thread Christian via Mailman-Users
Hi all

I have some mailing lists running on cPanel 100.0.7 / Mailman 2.1.37. 

>From tine to time I get bounce messages (for several recipients, today 4 of a 
>total of 165) with the folloeing content:

Action: failed
Final-Recipient: rfc822;...@yyy.ch
Status: 5.0.0
Remote-MTA: dns; mx02.tophost.ch
Diagnostic-Code: smtp; 550 Headers contain illegal byte order mark (BOM)

Not all messages to these subscibers (or mailhosts) are bouncing, only few of 
them. What could be the reason for this? Is this a Mailman problem, or a 
problem of the mail program used by the writer of the bounced message? 

Thank you
Christian 

-- 
Christian Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: https://www.chance-for-children.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/