dotkom / OnlineGuru

OnlineGuru is an IRC bot running in #online @ freenode
13 stars 8 forks source link

Some emails are not announced #55

Open melwil opened 10 years ago

melwil commented 10 years ago

Example JSON payload that doesn't get announced;

{"to": "dotkom@online.ntnu.no", "message": "From dotkom-owner@online.ntnu.no  Tue Mar  4 11:13:53 2014\nReturn-Path: <dotkom-owner@online.ntnu.no>\nX-Original-To: dotkombot@dworek.online.ntnu.no\nDelivered-To: dotkombot@dworek.online.ntnu.no\nReceived: from localhost (localhost [127.0.0.1])\n\tby dworek.online.ntnu.no (Postfix) with ESMTP id 7973344F8F38;\n\tTue,  4 Mar 2014 11:13:53  0100 (CET)\nX-Virus-Scanned: Debian amavisd-new at dworek.online.ntnu.no\nX-Spam-Flag: NO\nX-Spam-Score: -0.699\nX-Spam-Level: \nX-Spam-Status: No, score=-0.699 required=6.31 tests=[HTML_MESSAGE=0.001,\n\tRCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable\nReceived: from dworek.online.ntnu.no ([127.0.0.1])\n\tby localhost (dworek.online.ntnu.no [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith LMTP id XVF2vgOrDXRp; Tue,  4 Mar 2014 11:13:53  0100 (CET)\nReceived: by dworek.online.ntnu.no (Postfix, from userid 108)\n\tid 4436C44F8F37; Tue,  4 Mar 2014 11:13:53  0100 (CET)\nX-Original-To: dotkom@online.ntnu.no\nDelivered-To: dotkom@online.ntnu.no\nReceived: from localhost (localhost [127.0.0.1])\n\tby dworek.online.ntnu.no (Postfix) with ESMTP id C43BD44F8F37\n\tfor <dotkom@online.ntnu.no>; Tue,  4 Mar 2014 11:13:49  0100 (CET)\nX-Virus-Scanned: Debian amavisd-new at dworek.online.ntnu.no\nReceived: from dworek.online.ntnu.no ([127.0.0.1])\n\tby localhost (dworek.online.ntnu.no [127.0.0.1]) (amavisd-new,\n\tport 10024) with LMTP id 8y2Ch7bLC3Gz for <dotkom@online.ntnu.no>;\n\tTue,  4 Mar 2014 11:13:44  0100 (CET)\nReceived: from mail-lb0-f173.google.com (mail-lb0-f173.google.com\n\t[209.85.217.173])\n\tby dworek.online.ntnu.no (Postfix) with ESMTPS id 966194475100\n\tfor <dotkom@online.ntnu.no>; Tue,  4 Mar 2014 11:13:44  0100 (CET)\nReceived: by mail-lb0-f173.google.com with SMTP id p9so5416000lbv.4\n\tfor <dotkom@online.ntnu.no>; Tue, 04 Mar 2014 02:13:44 -0800 (PST)\nX-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:content-type:message-id:mime-version\n\t:subject:date:references:to:in-reply-to;\n\tbh=KrFKVkbfcplHIat I 6cIqTOr6s5POv2SMQvVhIQNF0=;\n\tb=fWWKoInUcODDuNEodSG/0ibUfdKgOpO1eNzZpYIrnndlnREDTau3O6D9/LGRmGyIGd\n\tbzdfu0JV0i1/GrzaDmMcnq4zwU mkLVfKCggEy5KIgaWVDLwzMLtQ8RXATBu5Y89WKvK\n\t2vSNYfmAbYFkmnK5zQKwnh G5 XWY1VDIyF0KB/X/iwh/6ZQKSuwFhYGM7/xqhP90ZiV\n\teXrOFZqkpC2UANESDdP1sxpf4fLnjmn jGoyWOwBQyOO4Jy6zmOm 6fNIt6JrWFa/gHy\n\teM jdfsqi4JZ/r6XVEjGB/F1ylgnmGRyACgKbeLnH0tAUJ3 SfFn2FuFzLtE1YHtwxis\n\tX0iA==\nX-Gm-Message-State: ALoCoQmdSfX1nB3e2GjlAcPW3DP5bvgqsziMyR89rJnVQsyGlutAqRhMAR92YRFa RpdCr1oLkgv\nX-Received: by 10.152.10.72 with SMTP id g8mr935826lab.50.1393928024128;\n\tTue, 04 Mar 2014 02:13:44 -0800 (PST)\nReceived: from dhcp-051156.wlan.ntnu.no (dhcp-051156.wlan.ntnu.no.\n\t[78.91.51.156]) by mx.google.com with ESMTPSA id\n\tjl8sm19140754lbc.16.2014.03.04.02.13.42 for <dotkom@online.ntnu.no>\n\t(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);\n\tTue, 04 Mar 2014 02:13:43 -0800 (PST)\nFrom: Kristoffer Dalby <kradalby@kradalby.no>\nContent-Type: multipart/alternative;\n\tboundary=\"Apple-Mail=_A095AB81-187C-41C3-A809-EA201A596B22\"\nMessage-Id: <1EE6C602-15B0-4D77-BD80-0F8457E8FE59@kradalby.no>\nMime-Version: 1.0 (Mac OS X Mail 7.2 \\(1874\\))\nSubject: Re: List of lists\nDate: Tue, 4 Mar 2014 11:13:42  0100\nReferences: <CAJzpmNcbZ43WBUQHgZOrZHXKqdoB-u-f5NmK8Mz6m=iyEoWeYQ@mail.gmail.com>\n\t<CAD 6ayPvq6dR8ejPsqTDiZDpdG1yNaaP8R2Pfcy8pzm M-1VYw@mail.gmail.com>\nTo: dotkom@online.ntnu.no\nIn-Reply-To: <CAD 6ayPvq6dR8ejPsqTDiZDpdG1yNaaP8R2Pfcy8pzm M-1VYw@mail.gmail.com>\nX-Mailer: Apple Mail (2.1874)\nReply-To: dotkom@online.ntnu.no\nX-Loop: dotkom@online.ntnu.no\nX-Sequence: 8736\nErrors-to: dotkom-owner@online.ntnu.no\nPrecedence: list\nPrecedence: bulk\nX-no-archive: yes\nList-Id: <dotkom.online.ntnu.no>\nList-Archive: <https://online.ntnu.no/postmann/arc/dotkom>\nList-Help: <mailto:postmann@online.ntnu.no?subject=help>\nList-Owner: <mailto:dotkom-request@online.ntnu.no>\nList-Post: <mailto:dotkom@online.ntnu.no>\nList-Subscribe: <mailto:postmann@online.ntnu.no?subject=subscribe dotkom>\nList-Unsubscribe: <mailto:postmann@online.ntnu.no?subject=unsubscribe dotkom>\n\n\n--Apple-Mail=_A095AB81-187C-41C3-A809-EA201A596B22\nContent-Transfer-Encoding: quoted-printable\nContent-Type: text/plain;\n\tcharset=iso-8859-1\n\n\nOn 04 Mar 2014, at 11:02, H=E5vard Slettvold <havardsv@stud.ntnu.no> =\nwrote:\n\n> On Mon, Mar 3, 2014 at 9:55 PM, Michael Johansen =\n<michael@informatikk.org> wrote:\n> This URL: https://online.ntnu.no/postmann/lists\n>=20\n> There are no mailing lists there!\n>=20\n> <images.jpg>\n>=20\n> Godt poeng, jeg f=E5r ikke opp noe heller.. Kradalby?\n\nBare webinterfacet, skal fikse det etterp=E5 :)\n\ni will bring updates.\n\nmvh\nKristoffer=\n\n--Apple-Mail=_A095AB81-187C-41C3-A809-EA201A596B22\nContent-Transfer-Encoding: quoted-printable\nContent-Type: text/html;\n\tcharset=iso-8859-1\n\n<html><head><meta http-equiv=3D\"Content-Type\" content=3D\"text/html =\ncharset=3Diso-8859-1\"></head><body style=3D\"word-wrap: break-word; =\n-webkit-nbsp-mode: space; -webkit-line-break: =\nafter-white-space;\"><br><div><div>On 04 Mar 2014, at 11:02, H=E5vard =\nSlettvold" }
melwil commented 10 years ago

Eh, closed wrong ticket.