RE: Big company sents 0 character in voicemail messages

"MICHEL, SEBASTIEN" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <PR0P264MB251724531A6A6571C64C070E81D79@PR0P264MB2517.FRAP264.PROD.OUTLOOK.COM>
Hi,

We had the same issue long time ago, we solved this issue with some postfix configuration, we didn't find a solution on the Cyrus side :
message_strip_characters = \0

regards,
Sébastien

-----Message d'origine-----
De : Paul van der Vlis <[email protected]> 
Envoyé : lundi 23 mai 2022 14:10
À : [email protected]
Objet : Big company sents 0 character in voicemail messages

Hello,

Here in the Netherlands the biggest telephone company (KPN) does sent voicemail messages with a 0 character in the text-part. Something like this, look for <C0><80>:
-----------
<headers>

--MM3-12345-789
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Je hebt een nieuwe voicemail ontvangen van 06xxxxxxxx op 21/05/2022 om
22:51:35 uur. Het bericht duurt 9 seconden.<C0><80>

--MM3-12345-789
Content-Type: audio/mpeg
Content-Disposition:attachment; filename= "voicemail.mp3"
Content-Transfer-Encoding:base64

//uQRAAAAAAAAAAAAAAAAAAAA (...)
--MM3-12345-789--
-------------

For so far I know <C0><80> is a overlong coded nulcharacter:
https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUTF-8%23Modified_UTF-8&amp;data=05%7C01%7Csebastien.michel%40worldline.com%7C300a94b08a8b42f6c30a08da3cb54311%7Cfda9decfe89243ac9d9f1a493f9f98d0%7C0%7C0%7C637889047861906716%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=2cnLJ5U2njWOMjOBInbXMpntS93IM%2Fc7CKZG6ppnit4%3D&amp;reserved=0

Cyrus IMAP says:
----
May 21 14:10:34 sigmund postfix/lmtp[29862]: E5D0C2041C:
to=<[email protected]>,
relay=mail.vandervlis.nl[/var/run/cyrus/socket/lmtp], delay=0.19, delays=0.14/0.02/0.03/0.01, dsn=5.6.0, status=bounced (host mail.vandervlis.nl[/var/run/cyrus/socket/lmtp] said: 554 5.6.0 Message contains NUL characters (in reply to end of DATA command))
----

Some ideas what to do?

With regards,
Paul van der Vlis

--
Paul van der Vlis Linux systeembeheer Groningen
https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvandervlis.nl%2F&amp;data=05%7C01%7Csebastien.michel%40worldline.com%7C300a94b08a8b42f6c30a08da3cb54311%7Cfda9decfe89243ac9d9f1a493f9f98d0%7C0%7C0%7C637889047861906716%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=1iIDIMnCq5%2FIwd5wUGD3kgFrNhvnvUaVkYKMZ2Ih9No%3D&amp;reserved=0

------------------------------------------
Cyrus: Info
Permalink: https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcyrus.topicbox.com%2Fgroups%2Finfo%2FTad030257997d8c5f-M3cf0dbb69214874db760e68c&amp;data=05%7C01%7Csebastien.michel%40worldline.com%7C300a94b08a8b42f6c30a08da3cb54311%7Cfda9decfe89243ac9d9f1a493f9f98d0%7C0%7C0%7C637889047861906716%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=Ikn37WKANKkMtnYCmbxYzKOS6qa1aOP5CU6rSuHbZzc%3D&amp;reserved=0
Delivery options: https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcyrus.topicbox.com%2Fgroups%2Finfo%2Fsubscription&amp;data=05%7C01%7Csebastien.michel%40worldline.com%7C300a94b08a8b42f6c30a08da3cb54311%7Cfda9decfe89243ac9d9f1a493f9f98d0%7C0%7C0%7C637889047861906716%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=f7lzpo7wD%2FOL3xY3MhBrg%2FHaPH9CZOEZOz0tF20zBks%3D&amp;reserved=0

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tad030257997d8c5f-M4398cc95dbf6c83de274ecba
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.