-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bounces: unknown charset: message #644
Comments
hm, looks like an issue with the POP3 mailbox scanner and this particular character encoding. This will need to be investigated and debugged. |
I also got this problem. Fixed by importing
import (
"encoding/json"
"regexp"
"time"
"github.com/emersion/go-message"
_ "github.com/emersion/go-message/charset"
"github.com/knadh/go-pop3"
"github.com/knadh/listmonk/models"
) I tested this and the error is gone and bounces work as expected. |
@jaredfolkins thanks! That indeed is the fix. |
I just updated and I still have this issue. v2.1.0 docker app_1 | 2022/02/12 22:51:17 bounce.go:139: error scanning bounce mailbox: unknown charset: unknown charset: charset "us_ascii": htmlindex: invalid encoding name |
|
I use Mailu as smtp/pop, but it happens only with one account. I set another one and it works(inbox got emptied) but it didn't detect any bounces. |
Probably coming from a mail witch itself comes from some non-UTF-8-friendly source. I checked upstream ( EDIT: What is weird is that |
Ah, that's a bummer ;( I'd tested this with multiple POP3 boxes including Gmail and Outlook. Any chance I get access to a POP box where this issue's happening? I can try and fix this quickly and release an RC so that you don't have to wait for the next versioned release. |
May I contact you via email (the one in your profile)? EDIT: |
Yep.
That's not feasible unfortunately. POP doesn't have a state management system like IMAP to remember which mails have been read and which haven't been. If emails are not deleted, they will have to be scanned over and over. That's why bounce mailboxes should be dedicated and should not receive non-bounce emails. |
hey, i have the same Error: error scanning bounce mailbox: EOF on the Version: v2.1.0 on a MS Exchange Mailbox which I use only for bounces |
@knadh I can give you access to a mailbox with a very similar problem:
It should be NB: I had the problem in 2.1.0, still have it with 2.2.0. |
@ldidry could you please e-mail me a set of test credentials for the inbox? |
Credentials sent 🙂 |
Hello @knadh, did you had some time to test the credentials? |
Haven't had the time ;( Swamped. |
OS: Linux Mint.
SMTP: Mandrillapp.
POP: outlook.
I setted bounces pop with outlook email. So i have the next issue in logs: error scanning bounce mailbox: unknown charset: unknown charset: message: unhandled charset "iso-8859-1"
If i used gmail, pop. I have: error scanning bounce mailbox: EOF.
In the same cases, the bounce email arrives.
Can you help me?
The text was updated successfully, but these errors were encountered: