Path: csiph.com!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx33.am4.POSTED!not-for-mail Received-SPF: none (Address does not pass the Sender Policy Framework) SPF=HELO; sender=mail.unosoft.cz; remoteip=::ffff:37.157.194.86; remotehost=; helo=mail.unosoft.cz; receiver=hugo.zagamma.cz; Received-SPF: neutral (Address does not pass the Sender Policy Framework) SPF=MAILFROM; sender=mtip@atlas.cz; remoteip=::ffff:37.157.194.86; remotehost=; helo=mail.unosoft.cz; receiver=hugo.zagamma.cz; From: mtip User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: cs Content-Transfer-Encoding: 8bit Received-SPF: neutral (Address does not pass the Sender Policy Framework) SPF=FROM; sender=mtip@atlas.cz; remoteip=::ffff:37.157.194.86; remotehost=; helo=mail.unosoft.cz; receiver=hugo.zagamma.cz; Subject: Re: [python] =?utf-8?q?Spracov=C3=A1vanie_e-mailov_v_mboxe_=28Thunde?= =?utf-8?q?rbird=29?= X-BeenThere: python@py.cz X-Mailman-Version: 2.1.29 Precedence: list List-Id: Konference PyCZ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: cz.comp.lang.python Message-ID: X-Mailman-Original-Message-ID: X-Mailman-Original-References: References: Lines: 24 X-Complaints-To: abuse@usenet-news.net NNTP-Posting-Date: Thu, 19 Sep 2019 10:26:16 UTC Organization: usenet-news.net Date: Thu, 19 Sep 2019 12:26:14 +0200 X-Received-Bytes: 3095 X-Received-Body-CRC: 4084837849 Xref: csiph.com cz.comp.lang.python:3375 Ahoj, tohle přeci umí Thunderbird, koukni na Filtry zpráv. Mirek Dne 18.09.2019 v 10:28 ZdPo Ster napsal(a): > Ahojte, > > máte nie skúsenosti so spracovávaním e-mailov v mboxe? > > Môj problém je, ako označiť, že (spracovaný) email bol prečítaný. > > Kontext: potrebujem skript, ktorý raz denne prebehne emaily (v mbox formate / Thunderbird) označené ako neprečítané. Ak e-mail nespĺňa kritériá (odosielateľ, príloha), tak ho označí ako prečítaný... (Thunderbird používa pre neprečítané emaily status "X-Mozilla-Status: 0000" po prečítaní ho zmení na "X-Mozilla-Status: 0001") > > Zdenko > > _______________________________________________ > Python mailing list > python@py.cz > http://www.py.cz/mailman/listinfo/python > > Visit: http://www.py.cz >