• Support will be limited until May 8th, as I will be out of the office travelling. Thank you for your patience and understanding.

Bug Undefined index: diagnosticCode

Status
Not open for further replies.

BigIron

Customer
We have several of these in our error log.

Code:
Server error log

    ErrorException: Bounce message processing failed: [E_NOTICE] Undefined index: diagnosticCode src/addons/DBTech/Mail/XF/EmailBounce/Parser.php:52

    Generated by: Unknown account Aug 28, 2019 at 1:23 AM

Stack trace

#0 src/addons/DBTech/Mail/XF/EmailBounce/Parser.php(52): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nginx/dom...', 52, Array)
#1 src/XF/EmailBounce/Parser.php(204): DBTech\Mail\XF\EmailBounce\Parser->extractRecipient(Object(Zend\Mail\Storage\Message), Object(XF\EmailBounce\ParseResult))
#2 src/XF/EmailBounce/Processor.php(69): XF\EmailBounce\Parser->parseMessage(Object(Zend\Mail\Storage\Message))
#3 src/XF/EmailBounce/Processor.php(53): XF\EmailBounce\Processor->processMessage('Return-Path: <0...')
#4 src/XF/Job/EmailBounce.php(27): XF\EmailBounce\Processor->processFromStorage(Object(Zend\Mail\Storage\Imap), G)
#5 src/XF/Job/Manager.php(253): XF\Job\EmailBounce->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}

Request state

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(53) "https://www.northwestfirearms.com/classifieds/rifles/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Yeah, looks like it was one of these (they were both sent at 1:23AM.

Code:
Return-Path: <0101016cd744c405-e5093665-0cc7-4b39-89a3-4463b28eeaf0-000000@us-west-2.amazonses.com>
Delivered-To: bounce@northwestfirearms.com
Received: from host.leadwithlink.com
    by host.leadwithlink.com with LMTP
    id 8IvfEaA2Zl1hagAActIpWA
    (envelope-from <0101016cd744c405-e5093665-0cc7-4b39-89a3-4463b28eeaf0-000000@us-west-2.amazonses.com>)
    for <bounce@northwestfirearms.com>; Wed, 28 Aug 2019 08:09:04 +0000
Return-path: <0101016cd744c405-e5093665-0cc7-4b39-89a3-4463b28eeaf0-000000@us-west-2.amazonses.com>
Envelope-to: bounce@northwestfirearms.com
Delivery-date: Wed, 28 Aug 2019 08:09:04 +0000
Received: from a26-92.smtp-out.us-west-2.amazonses.com ([54.240.26.92]:60350)
    by host.leadwithlink.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-SHA256:128)
    (Exim 4.92)
    (envelope-from <0101016cd744c405-e5093665-0cc7-4b39-89a3-4463b28eeaf0-000000@us-west-2.amazonses.com>)
    id 1i2t0p-0006L1-BT
    for bounce@northwestfirearms.com; Wed, 28 Aug 2019 08:09:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1566979703;
    h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID;
    bh=uaQYNvoYzpIVTGtEu6zuwSeJaIydDNeVvPs3Wtiqx2A=;
    b=RK+4kjgFOq98+cozPlTBLiTRHHachy0bnanaIJKJbW0mCO9uBwVNbkrcgnyK2bH/
    eRgT5OP5RInQwmtTBJfnE9qqPLkoETF87QGtBolJg8D0+D3gcfaiQjKoLe8lyZ/7o7M
    O4fNTX9hIRkktAa41th2NqIOvqpGL11XQZkA+uzQ=
Date: Wed, 28 Aug 2019 08:08:23 +0000
From: bnc_nwfa <no-reply@sns.amazonaws.com>
To: bounce@northwestfirearms.com
Message-ID: <0101016cd744c405-e5093665-0cc7-4b39-89a3-4463b28eeaf0-000000@us-west-2.amazonses.com>
Subject: AWS Notification Message
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
x-amz-sns-message-id: 6a446ff0-e923-5aec-8d09-3a10d19484f9
x-amz-sns-subscription-arn: arn:aws:sns:us-west-2:760014569041:bounce_northwestfirearms:71d02881-ad3e-4d17-b998-2d7aea28806a
X-SES-Outgoing: 2019.08.28-54.240.26.92
Feedback-ID: 1.us-west-2.c55J8LO2Yl1R0Ht+ysI6VjzUH6Cvo3dHPF80AUVC/G8=:AmazonSES
X-Spam-Status: No, score=0.1
X-Spam-Score: 1
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "host.leadwithlink.com",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 root\@localhost for details.
 Content preview:  {"notificationType":"Bounce","bounce":{"bounceType":"Transient","bounceSubType":"General","bouncedRecipients":[{"emailAddress":"Craig@skallywagtactical.com","action":"failed","status":"5.0.0"}],"times
    [...]
 Content analysis details:   (0.1 points, 5.0 required)
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [54.240.26.92 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
                             valid
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
                             envelope-from domain
 -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
X-Spam-Flag: NO

{"notificationType":"Bounce","bounce":{"bounceType":"Transient","bounceSubType":"General","bouncedRecipients":[{"emailAddress":"Craig@skallywagtactical.com","action":"failed","status":"5.0.0"}],"timestamp":"2019-08-28T08:08:22.000Z","feedbackId":"0101016cd744c377-6459185d-d849-41f7-bdb7-64e1481802d8-000000","reportingMTA":"dns; bosmailscan01.eigbox.net"},"mail":{"timestamp":"2019-08-28T07:18:46.000Z","source":"bounce+a878a848+Craig=skallywagtactical.com@northwestfirearms.com","sourceArn":"arn:aws:ses:us-west-2:760014569041:identity/bounce@northwestfirearms.com","sourceIp":"209.50.61.184","sendingAccountId":"760014569041","messageId":"0101016cd744aae4-bddac89f-5cf0-4598-9030-e47ef011268d-000000","destination":["Craig@skallywagtactical.com"]}}

--
If you wish to stop receiving notifications from this topic, please click or visit the link below to unsubscribe:
https://sns.us-west-2.amazonaws.com/unsubscribe.html?SubscriptionArn=arn:aws:sns:us-west-2:760014569041:bounce_northwestfirearms:71d02881-ad3e-4d17-b998-2d7aea28806a&Endpoint=bounce@northwestfirearms.com

Please do not reply directly to this email. If you have any questions or comments regarding this email, please contact us at https://aws.amazon.com/support
 
Second one

Code:
Return-Path: <no-reply@amazonses.com>

Delivered-To: bounce+700111c2+garcol=comcast.net@northwestfirearms.com

Received: from host.leadwithlink.com

    by host.leadwithlink.com with LMTP

    id oDQlHzY1Zl3cAQAActIpWA

    (envelope-from <no-reply@amazonses.com>)

    for <bounce+700111c2+garcol=comcast.net@northwestfirearms.com>; Wed, 28 Aug 2019 08:03:02 +0000

Return-path: <no-reply@amazonses.com>

Envelope-to: bounce+700111c2+garcol=comcast.net@northwestfirearms.com

Delivery-date: Wed, 28 Aug 2019 08:03:02 +0000

Received: from a27-122.smtp-out.us-west-2.amazonses.com ([54.240.27.122]:37202)

    by host.leadwithlink.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-SHA256:128)

    (Exim 4.92)

    (envelope-from <no-reply@amazonses.com>)

    id 1i2suv-0007gJ-FN

    for bounce+700111c2+garcol=comcast.net@northwestfirearms.com; Wed, 28 Aug 2019 08:03:02 +0000

DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;

    s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1566979338;

    h=From:Date:Mime-Version:Content-Type:Message-Id:To:Subject:Feedback-ID;

    bh=hZhJkm1HBYnKAeOEaSxfQ7E+3FCnhEtvMFXC59ucfnQ=;

    b=Az0S1qYq9Lg6hf1aXSxrv1S6MOmbkUmSs0HjOTkIckyt1YAkmtFVGl3B3v0005c+

    bOpYV/fYPFWgVt0mRrHS0YWCRP6Pk2gZBBQsX0fOOiE58JK9+oWHwahNBoPLi0SOp+V

    SHYo2Dyb8U1+xHSMpc/RZl5BBWnfgH0ILp9oIjsw=

From: complaints@us-west-2.email-abuse.amazonses.com

Date: Wed, 28 Aug 2019 08:02:18 +0000

Mime-Version: 1.0

X-Rp-Fbl: type=arf; subscriptionID=121886

Content-Type: multipart/report; report-type=feedback-report;

 boundary=fdbab36cd626fbeafb2604bd469a9d2d47554652b7e6d3542d4d19e2529a

Message-ID: <0101016cd73f2ee7-1ffac8a7-be0b-47d7-a4f7-3a60ac19d78f-000000@us-west-2.amazonses.com>

To: bounce+700111c2+garcol=comcast.net@northwestfirearms.com

Subject: Comcast Abuse Report

DKIM-Signature: v=1;a=rsa-sha256;bh=hZhJkm1HBYnKAeOEaSxfQ7E+3FCnhEtvMFXC59ucfnQ=;c=relaxed/simple;d=senderscore.net;h=from:to:subject;s=081107;b=l3Ihifn+j4/MzUeXcNSWR2YWxAatHz8hi+mlUlwD57UMm1m8rpYwBRnrvtR9OkE9Y9HnK+nwWcdrt6KkT4IdPISrVC4etXlFPPUOUUT5skyXZz+uxamPvWND6lwf9AU4e0ndQS6LY+t7el2qNuB+/zZSwIWzVTZnz5PdARuX9SQ=

X-SES-Outgoing: 2019.08.28-54.240.27.122

Feedback-ID: 1.us-west-2.rXI7Eb5rovdWeIDteTf05n9I/Dd9KYQAh18aBfa9qoo=:AmazonSES

X-Spam-Status: No, score=0.7

X-Spam-Score: 7

X-Spam-Bar: /

X-Ham-Report: Spam detection software, running on the system "host.leadwithlink.com",

 has NOT identified this incoming email as spam.  The original

 message has been attached to this so you can view it or label

 similar future email.  If you have any questions, see

 root\@localhost for details.

 Content preview:  This is a Comcast Abuse Report for an email message received

    from domain us-west-2.amazonses.com, IP 54.240.27.189, on Wed, 28 Aug 2019

    07:58:54 +0000. [B]**[/B] Threads [B]**[/B] **** Other State - California Concealed

    Carry Trainer Accidentally Shoots Student While Clearing His Gun (https://www.northwestfirearms.com/threads/california-concealed-carry-trainer-accidentally-shoo

    [...]

 Content analysis details:   (0.7 points, 5.0 required)

  pts rule name              description

 ---- ---------------------- --------------------------------------------------

 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,

                              no trust

                             [54.240.27.122 listed in list.dnswl.org]

  0.8 DKIM_ADSP_NXDOMAIN     No valid author signature and domain not in

                             DNS

 -0.0 SPF_PASS               SPF: sender matches SPF record

  0.0 HTML_MESSAGE           BODY: HTML included in message

  0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily

                             valid

 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from

                             envelope-from domain

 -0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature

X-Spam-Flag: NO


--fdbab36cd626fbeafb2604bd469a9d2d47554652b7e6d3542d4d19e2529a

Content-Type: text/plain; charset=UTF-8

Content-Transfer-Encoding: quoted-printable


This is a Comcast Abuse Report for an email message received from domain us=

-west-2.amazonses.com, IP 54.240.27.189, on Wed, 28 Aug 2019 07:58:54 +0000=

.


--fdbab36cd626fbeafb2604bd469a9d2d47554652b7e6d3542d4d19e2529a

Content-Disposition: inline

Content-Transfer-Encoding: 8bit

Content-Type: message/feedback-report


User-Agent: ReturnPathFBL/2.0

Version: 1

Arrival-Date: Wed, 28 Aug 2019 07:58:54 +0000

Source-Ip: 54.240.27.189

Abuse-Type: complaint

Feedback-Type: abuse

Original-Rcpt-To: ba98dbed1313013321585a00e8ab4a49@comcast.net

Original-Mail-From: 0101016cd73c12c8-2fb66a64-6b1e-4187-bedb-cd2770bd6f39-000000@us-west-2.amazonses.com

Reported-Domain: us-west-2.amazonses.com

Source: Comcast

Subscription-Link: https://fbl.returnpath.net/manage/subscriptions/121886


--fdbab36cd626fbeafb2604bd469a9d2d47554652b7e6d3542d4d19e2529a

Content-Disposition: inline

Content-Transfer-Encoding: 8bit

Content-Type: message/rfc822


Return-Path: <0101016cd73c12c8-2fb66a64-6b1e-4187-bedb-cd2770bd6f39-000000@us-west-2.amazonses.com>

Delivered-To: ba98dbed1313013321585a00e8ab4a49@comcast.net

Received: from dovdir2-hob-08o.email.comcast.net ([96.114.154.203])

    by dovback2-hob-14o.email.comcast.net with LMTP id QK6dD7Y0Zl2FUwAADotw/A

    for <ba98dbed1313013321585a00e8ab4a49@comcast.net>; Wed, 28 Aug 2019 08:00:54 +0000

Received: from dovpxy-hob-11o.email.comcast.net ([96.114.154.203])

    by dovdir2-hob-08o.email.comcast.net with LMTP id 4EeHD7Y0Zl3EOQAAHg4XFg

    ; Wed, 28 Aug 2019 08:00:54 +0000

Received: from reszmta-po-10v.sys.comcast.net ([96.114.154.203])

    by dovpxy-hob-11o.email.comcast.net with LMTP id OJocB7Y0Zl12AQAAIl8hLw

    ; Wed, 28 Aug 2019 08:00:54 +0000

Received: from resimta-po-01v.sys.comcast.net ([96.114.154.150])

    by reszmta-po-10v.sys.comcast.net with ESMTP

    id 2sr0iHOUawce62sr0i13eC; Wed, 28 Aug 2019 07:58:54 +0000

Received: from a27-189.smtp-out.us-west-2.amazonses.com ([54.240.27.189])

    by resimta-po-01v.sys.comcast.net with ESMTP

    id 2sqfiD80nlZbx2sr0i93pS; Wed, 28 Aug 2019 07:58:54 +0000

X-CAA-SPAM: 00000

X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduvddrudehledguddviecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihenuceurghilhhouhhtmecufedttdenucdnofetkffnkffpifculddujedmnecujfgurhepkfffuffhvfggtgesrgdtrehttddtjeenucfhrhhomheppfhorhhthhifvghsthcuhfhirhgvrghrmhhsuceohhgvlhhlohesnhhorhhthhifvghsthhfihhrvggrrhhmshdrtghomheqnecuffhomhgrihhnpehnohhrthhhfigvshhtfhhirhgvrghrmhhsrdgtohhmnecukfhppeehgedrvdegtddrvdejrddukeelnecurfgrrhgrmhephhgvlhhopegrvdejqddukeelrdhsmhhtphdqohhuthdruhhsqdifvghsthdqvddrrghmrgiiohhnshgvshdrtghomhdpihhnvghtpeehgedrvdegtddrvdejrddukeelpdhmrghilhhfrhhomheptddutddutdduiegtugejfegtuddvtgekqddvfhgsieeirgeigedqiegsudgvqdegudekjedqsggvuggsqdgtugdvjeejtdgsugeifhefledqtddttddttddtsehushdqfigvshhtqddvrdgrmhgriihonhhsvghsrdgtohhmpdhrtghpthhtohepghgrrhgtohhlsegtohhmtggrshhtrdhnvghtnecuvehluhhsthgvrhfuihiivgepud

X-Xfinity-CCat: promotional

X-Xfinity-VMeta: sc=17;st=mce

X-Xfinity-Message-Heuristics: IPv6:N;TLS=1;SPF=1;DMARC=

Authentication-Results: resimta-po-01v.sys.comcast.net;

    dkim=pass header.d=northwestfirearms.com header.b=V9vxhCDR;

    dkim=pass header.d=amazonses.com header.b=Q7seJiaU

DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;

    s=oqztor643ya4shsvsbwijdq542rmn5zr; d=northwestfirearms.com;

    t=1566979134;

    h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type;

    bh=CdacCq/6+XHtFQIdvbEmqZha9bzO/mVKKpZtssaj0Qk=;

    b=V9vxhCDRe9SIr6/fBvV89G9RVfRmpnLFJLW09Qza42u+X1RUKLFs6kgkNmpROx3L

    avFfSbeYr4vpO3Rv6Gy02fluAezJnabNZ/QMROFh3vJNgv55qCd3bFeCI6317u9Paal

    S/B8K4QXi29f3+RbkPFZYemZ5Y12vX8mVEjPxvUk=

DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;

    s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1566979134;

    h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type:Feedback-ID;

    bh=CdacCq/6+XHtFQIdvbEmqZha9bzO/mVKKpZtssaj0Qk=;

    b=Q7seJiaUL+IiE4JuG3/+aUs6IEo5rnQDFcpV2lOu3qzH3iLZRC/5ArNspHVonyfc

    GkpJvbMdrJICwl6Vt1jIMmXEkWQRI6+R2eJScFM+RtrMf5fzyYBgWSFrWZF4IXQwlMe

    6erHjd7axyV4ZYuCqZ5Rbv7NgLVmYg3BtoC0tRXk=

Message-ID: <0101016cd73c12c8-2fb66a64-6b1e-4187-bedb-cd2770bd6f39-000000@us-west-2.amazonses.com>

Date: Wed, 28 Aug 2019 07:58:54 +0000

Subject: Northwest Firearms Digest

From: Northwest Firearms <hello@northwestfirearms.com>

To: ba98dbed1313013321585a00e8ab4a49 <ba98dbed1313013321585a00e8ab4a49@comcast.net>

MIME-Version: 1.0

Content-Type: multipart/alternative;

 boundary="[I]=_swift_v4_1566976643_b8d6fb29288a649995c311a733f9b768[/I]=_"

X-To-Validate: 700111c2+ba98dbed1313013321585a00e8ab4a49@comcast.net

X-DBTech-Digest-Id: 1

X-SES-Outgoing: 2019.08.28-54.240.27.189

Feedback-ID: 1.us-west-2.ThxDkvx5DCgMjWTWVNHwUQVYBUwNDKTfWSaQBi8ezok=:AmazonSES



--[I]=_swift_v4_1566976643_b8d6fb29288a649995c311a733f9b768[/I]=_

Content-Type: text/plain; charset=utf-8


<HTML TRUNCATED>



--[I]=_swift_v4_1566976643_b8d6fb29288a649995c311a733f9b768[/I]=_

Content-Type: text/html; charset=utf-8


<HTML TRUNCATED>
 
I think see what's happening. The Content preview: {"notificationType" bit might be causing the regular expression to match the wrong bit 🤔

EDIT: Nope that's not it, but I think I see what the issue is for real this time. I'll apply a fix for the next version.
 
Last edited:
Status
Not open for further replies.

DragonByte Mail

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,148
Customer rating
0.00 star(s) 0 ratings
Back
Top