Skip to content
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

txn.add_header not appending headers correctly #3039

Open
msimerson opened this issue Apr 5, 2022 · 0 comments
Open

txn.add_header not appending headers correctly #3039

msimerson opened this issue Apr 5, 2022 · 0 comments
Labels

Comments

@msimerson
Copy link
Member

msimerson commented Apr 5, 2022

Describe the bug

Return-Path: <wordpress@simerson.net>
Delivered-To: matt@simerson.net
Received: from mail.theartfarm.com ([172.16.15.9])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	by dovecot with LMTPS
	id T4IPN8a/TGKnLwAAkzG9Ng
	(envelope-from <wordpress@simerson.net>)
	for <matt@simerson.net>; Tue, 05 Apr 2022 15:16:38 -0700
Received: (Haraka outbound); Tue, 05 Apr 2022 13:16:38 -0900
Authentication-Results: mail.theartfarm.com;
	spf=pass smtp.mailfrom=simerson.net
Received-SPF: Pass (mail.theartfarm.com: domain of simerson.net designates 172.16.16.8 as permitted sender) receiver=mail.theartfarm.com; identity=mailfrom; client-ip=66.128.51.165 helo=wordpress; envelope-from=<wordpress@simerson.net>
Received: from wordpress (wordpress [172.16.16.8])
	by mail.theartfarm.com (Haraka/2.8.28) with SMTP id 3A70D3B0-F413-46A2-98A9-BB2B5C9969F6.1
	envelope-from <wordpress@simerson.net>;
	Tue, 05 Apr 2022 13:16:37 -0900
Received: by wordpress (sSMTP sendmail emulation); Tue, 05 Apr 2022 15:16:37 -0700
To: matt@simerson.net
Subject: =?us-ascii?Q?[Simerson_Family_Network]_Your_site_has_updated?=
 =?us-ascii?Q?_to_WordPress_5.9.3?=
Date: Tue, 5 Apr 2022 22:16:37 +0000
From: WordPress <wordpress@simerson.net>
Message-ID: <T6rttBg1or2g1s0rHBIEhN6TyAisFwIFFWisnQShp0@simerson.net>
X-Mailer: PHPMailer 6.5.3 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

Howdy! Your site at https://simerson.net has been updated automatically to WordPress 5.9.3.

No further action is needed on your part. For more on version 5.9.3, see the About WordPress screen:
https://simerson.net/wp-admin/about.php

If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help.
https://wordpress.org/support/forums/

You also have some plugins or themes with updates available. Update them now:
https://simerson.net/wp-admin/network/

The WordPress Team

X-Spam-Level: ***
X-Spam-Status: No, score=3.4 required=5.0 autolearn=no autolearn_force=no
X-Spam-DCC: Etherboy: dcc 1002; Body=1 Fuz1=1 Fuz2=1
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on spamassassin
X-Spam-Tests: BAYES_50,FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,SPF_PASS,
	T_SCC_BODY_TEXT_LINE,URI_WPADMIN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
	d=simerson.net; s=mar2013;
	h=from:subject:date:message-id:to:mime-version;
	bh=kvqv5W+7H5vwIPWJM7oY6wjspD+nUOyK+wng53dalro=;
	b=W+b87su+vtB57Z8HT1UsN1H7+hBpKPHN/6C3KwsuEwffTfUHpmaT9zAEUjsQ2oKzGZf6AEkX3j
	Z/+tQFmICmV6OKw8HQpfmdACsIY7bzeP8f+8hyuo2/mFA//pH2ZT2tiKZQV8sa46fww+RP5SMkTq
	3RvBoKNygdOLoQhGPexYCBRSmM4FB4GesoyTNIsFoKGpqvrLEG08U+0wDmFKpWgSJ1XJrw5BcM+o
	q92cM9oPxFz3Fd7uUY6wbiodbae+SEZH1YhDmRgDWLLVmef5CssY2QpuzWbMKE6ba9zzFGqRcqFr
	3SJapCwv0FZgJ633+Fcn9San8HSk2iAq2WsQcZqw==

Expected behavior

Appended headers belong in the header section, not at the end of the message body.

Observed behavior

Sometimes, appended headers aren't put in the right spot. This is atypical behavior which I see on occasion.

System Info:

Please report your OS, Node version, and Haraka version by running this shell script on your Haraka server and replacing this section with the output.

Haraka Haraka.js — Version: 2.8.28
Node v14.18.1
OS FreeBSD haraka 13.0-RELEASE-p7 FreeBSD 13.0-RELEASE-p7 #0: Mon Jan 31 18:24:03 UTC 2022 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
openssl OpenSSL 1.1.1h-freebsd 24 Aug 2021
@msimerson msimerson added the Bug label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant