-
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
Bounce processing via POP3 is not working #492
Comments
Thanks for describing this well. Will work on a fix. |
POP3 bounce mailbox is not working for me either, but I have a different error. This is all that shows up in the logs.
For reference, the POP3 mailbox is on a GMail account. I confirmed the POP3 settings were correct and working by testing them using a different stand alone email client, so that is not the issue. |
Not sure, if I should open 1 more issue for this - Pls advise. If a user enters an incorrect email ID while subscribing, should that as well now automatically get captured in bounce? Because technically, if I am adding users in double opt in - then the user post verification will hardly bounce. But If a user is added to non double opt in list, then the best practice might be to outright block the email from retriggering an email. |
There is no foolproof way to confirm the validity of an e-mail address without actually sending (and receiving) an e-mail. |
@knadh No, I wasnt saying that it should auto identify if the entered email is valid, I was talking exactly what you mentioned - that is we actually send the email and if the first email itself bounced (if it's a double opt in) then that should be captured in bounce. I don't think it's happening at the moment. I tried with an incorrect email ID in double opt in list, and it allowed me to enter it as many times as I wanted (post deleting from the list as many times). Ideal scenario could have been, I entered it once, it bounced and got added into the bounce list and 2nd time if that email is added to any list, it could throw an error. |
Ah yes, this makes sense. Will explore this. |
Server side I get
Seems user name is not passed. |
Could it be capitalisation ? listmonk/internal/bounce/mailbox/pop.go Line 42 in 0bd13fe
if err := c.Auth(p.opt.username, p.opt.password); err != nil { |
Don't think so. "none" is an enum that's passed from the UI. I'm unable to reproduce his locally (testing with the InBucket server). |
I don't see anything like 'none' in this line opt.Username == opt.username ? |
Ah, definitely not this. Variable names are case-sensitive. If they're incorrect, the app won't compile. That's why I assumed you were referring to the line just above with "none". |
Version:
Description of the bug and steps to reproduce:
I've set up a listmonk server on OmniOS and I am testing bounce processing by sending a campaign to a small list with a couple of bad addresses in there. The bounces end up in the POP3 box as expected but listmonk does not handle them.
I have two bounces messages, generated by different software.
The first is from Sendmail and looks like the following. The campaign and subscriber UUIDs are present but they are not in the message headers. They are in the text/rfc822-headers MIME part of the bounce. Since listmonk only retrieves the headers of the bounce, it does not see these.
Here's another example generated by zimbra. In this case, the UUIDs that listmonk needs are in a message/rfc822 section contained within the bounce message. I'm just showing this section.
It seems that listmonk needs to retrieve the entire message, and not just the headers, and then look through for a MIME part matching message/rfc822 or text/rfc822-headers (there may be others) then parse that into a message before extracting the UUID headers.
The text was updated successfully, but these errors were encountered: