Coder Social home page Coder Social logo

Comments (6)

quentinsf avatar quentinsf commented on September 15, 2024

Hi there -

If you run it with the -v option, does it give you any more information about the message which caused it to stop? It would be interesting to know what the raw text of the Subject header was...

Quentin

from imapdedup.

thibaudgg avatar thibaudgg commented on September 15, 2024

Hi Quentin,

The -v option only give me that Checking Archive message 487, nothing else more.
I'm using the master version.

from imapdedup.

quentinsf avatar quentinsf commented on September 15, 2024

Hi there - sorry for the delay...

Can you narrow down which message is causing the problem? If you can work out roughly which is your 487th-oldest message in that mailbox, you might be able to spot one with an unusual subject line.

Or, you could add, around line 246, a 'print mp' command, so it would look like this:

                if options.verbose:
                    print mp
                    print("Checking %s message %s" % (mbox, mnum))

Then run the script with -v and it should print out each message as it processes them - hopefully you can then see the one causing the problem.

from imapdedup.

thibaudgg avatar thibaudgg commented on September 15, 2024

Hi @quentinsf, here the printed mail, the subject has some UTF-8 chars Subject: L'aliment interdit =?UTF-8?B?w6Ag?=consommer sans =?UTF-8?B?bW9kw6lyYXRpb24g?= .

From nobody Tue Mar 31 08:59:01 2015
Delivered-To: [email protected]
Received: by 10.227.59.196 with SMTP id m4csp54412wbh;
 Sun, 20 Oct 2013 07:26:21 -0700 (PDT)
X-Received: by 10.194.193.4 with SMTP id hk4mr9899225wjc.29.1382279181272;
 Sun, 20 Oct 2013 07:26:21 -0700 (PDT)
Return-Path: <[email protected]>
Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com
 [2a00:1450:400c:c05::22a])
 by mx.google.com with ESMTPS id lu10si3215285wjb.74.2013.10.20.07.26.20
 for <[email protected]>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Sun, 20 Oct 2013 07:26:21 -0700 (PDT)
Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22a is neither
 permitted nor denied by best guess record for domain of
 [email protected])
 client-ip=2a00:1450:400c:c05::22a; 
Authentication-Results: mx.google.com;
 spf=neutral (google.com: 2a00:1450:400c:c05::22a is neither permitted nor
 denied by best guess record for domain of
 [email protected])
 [email protected]; 
 dkim=pass [email protected];
 dmarc=pass (p=NONE dis=NONE) header.from=sante-nature-innovation.fr
Received: by mail-wi0-f170.google.com with SMTP id l12so4148080wiv.5
 for <[email protected]>; Sun, 20 Oct 2013 07:26:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:delivered-to:dkim-signature:list-unsubscribe
 :date:message-id:to:from:subject:reply-to:mime-version:content-type;
 bh=dDumOu1AbL4qIiEHgVJTvp7t34kbbhMP8ax0mWkVnNk=;
 b=a6j0PGWubn3XzGsxsjTIzMWweCOke7QXguk+AfYYhoCctSvH6i16exLXLW1VecYHm1
 42rdyCpzlp9XqXJjGSgeRx7ur43ds+CaG1H2JMY3lVl3fYip6lg5paLshBbmixQYxBVt
 q6kv8FkpTe8CwSJyaYPp3tqEZW9zoV0eitq3dvFFDstc8N4O++nQ3k6p4q3uYY61mrrq
 mJGgz5MTZQPJhow7bJgPV1Ca7OOZAmjR9WRtthXGlLqwp17xkwtN14L7MYuowdMCkR1H
 n2IJ1J6jwWMyarnNmB2rDqc7wrsqOukGzy9OJygXURFiD/1s4luMBL1Kg361/Q6JmGSF
 /EwA==
X-Gm-Message-State: ALoCoQmkhgODAV475dLK4mAkJp5fBxdE72uB1VxCqZOHkahg+bgNJuR2o2bRWsNzVpO9i19ADXUX
X-Received: by 10.180.182.82 with SMTP id ec18mr6251709wic.13.1382279180741;
 Sun, 20 Oct 2013 07:26:20 -0700 (PDT)
X-Forwarded-To: [email protected]
X-Forwarded-For: [email protected] [email protected]
Delivered-To: [email protected]
Received: by 10.227.35.197 with SMTP id q5csp49644wbd;
 Sun, 20 Oct 2013 07:26:19 -0700 (PDT)
X-Received: by 10.224.161.146 with SMTP id r18mr17310027qax.57.1382279179020; 
 Sun, 20 Oct 2013 07:26:19 -0700 (PDT)
Return-Path: <[email protected]>
Received: from mail.todaysfinancialnews.net (mail.todaysfinancialnews.net.
 [208.250.48.92])
 by mx.google.com with ESMTP id u3si5680712qej.89.2013.10.20.07.26.18
 for <[email protected]>; Sun, 20 Oct 2013 07:26:18 -0700 (PDT)
Received-SPF: pass (google.com: domain of
 [email protected] designates
 208.250.48.92 as permitted sender) client-ip=208.250.48.92; 
Return-Path: <[email protected]>
DKIM-Signature: v=1; a=rsa-sha256; d=sante-nature-innovation.fr; s=dkim1024;
 c=relaxed/simple; 
 q=dns/txt; [email protected]; t=1382279170;
 h=From:Subject:Date:To:MIME-Version:Content-Type;
 bh=IpEP7yqm1DRfg5rIC8HekOPZ5EwOsQ4mqiDMVC0rIC8=;
 b=evlB7dhmv79kawDPNPNUYvU2v6NGsxpyNRtmVTCgAu9kpTUlicHj3y5oPV7WomyI
 POQ/+fF6f/Rxp027zcvzwGT/M4BwPcUjYaZLo+oYzRxm/6pOTqUeWXfSNSyVgAls
 ImlD9rJ6B9Uyi7Pwj+iqGRBjX16njAYOowRWPS2nrYo=;
X-MSFBL: VEhJQkFVREB0aGliYXVkLm1lQGZyYW5jZS1oZWFsdGhAZGVmYXVsdEA=
List-Unsubscribe: <mailto:unsubscribe-mc-11-81c-945-138-1e9d31-15220@todaysfinancialnews.net>
Received: from [172.16.9.202] ([172.16.9.202:55275] helo=gonzo)
 by prs (envelope-from
 <[email protected]>)
 (ecelerity 3.4.1.33768 r(MessageSystems/Momo-dev:4870f92e9d2c)) with ESMTP
 id 0A/CE-27320-208E3625; Sun, 20 Oct 2013 10:26:10 -0400
Date: Sun, 20 Oct 2013 10:26:10 -0400
Message-ID: <0A.CE.27320.208E3625@prs>
To: =?ascii?B?VEhJQkFVRCBHVUlMTEFVTUUtR0VOVElM?= <[email protected]>
From: "Sante Nature Innovation" <[email protected]>
X-rpcampaign: agoraSF1_002076000312
X-Binding: FRANCE-HEALTH
Subject: L'aliment interdit =?UTF-8?B?w6Ag?=consommer sans
 =?UTF-8?B?bW9kw6lyYXRpb24g?=
Reply-To: 
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="-----=526115fa07c5b"

from imapdedup.

meyer avatar meyer commented on September 15, 2024

I’m running into this issue as well. Here’s the header that’s causing the issue for me:

=?iso-2022-jp?B?GyRCIXobKEIgRmlyc3QgMTAlIGNvdXBvbiBvbiBjbGVhcmFuY2UgaXRl?==?iso-2022-jp?B?bXM=?=

from imapdedup.

quentinsf avatar quentinsf commented on September 15, 2024

I'm closing this as I'm doing some rewriting and I hope this won't be an issue in the new version!

from imapdedup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.