All Apps and Add-ons

TA-mailclient ERRORunknown encoding

WXY
Path Finder

hi,
now , I use two mailboxes to test,one of them have this error message:
I receive this error message:

07-20-2018 09:09:52.123 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" ERRORunknown encoding: gb2312

Please tell me why this is happening, what should I do?
I will be very grateful.

and configure another email I receive this error message:(I believe that my mailbox and email password are written correctly.)

18/07/20 11:05:40.660   
07-20-2018 11:05:40.660 +0800 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA-mailclient/bin/mail.py" ERRORLogin failed on pop.domain.com for username: myemail@domaincom

what should I do ?
please

0 Karma

seunomosowon
Communicator

There’s a limited number of encoding supported by the Python that comes with Splunk. Your email server is using an unsupported encoding. I’ve seen this issue with cPanel.

0 Karma

WXY
Path Finder

hello,seunomosowon
Is there a solution now?
I can't solve this problem now. Can you solve it?

0 Karma

worshamn
Contributor

I had one specific email causing this problem, once I deleted it out of the mailbox, the process continued and retrieved the rest of the email.

0 Karma

seunomosowon
Communicator

I'll try add a work around, to maybe move any mails found with the problem to a folder. Some emails that might come with a different encoding may not be supported by the limited Python that comes out of the box with Splunk. You could also try using phantom to consume the emails. It may support the full character set.

0 Karma

Paul1896
Path Finder

Hello @seunomosowon unfortunately I also have the same problem with one mailbox now. Have you been able to implement a workaround? It would be so great to proceed further with other mails in the mailbox and ignore only which comes with a wrong charset

ERRORunknown encoding: big5
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...