Obscure ARC problem causing Microsoft to 'junk' all PHPlist emails

I have started using PHPlist to distribute a newsletter on an A2hosting server that uses mailchannels for all outgoing emails. SPF, DKIM, DMARC all pass, but there is an ARC failure which, it seems, gmail ignores but for all users of Microsoft email accounts (outlook.com etc.) the newsletter is sent to junk.

Sending emails from the same email address using Outlook 365, with the same smtp settings as in PHPlist, does not produce the same ARC error. Nor is the error produced by custom PHP routines on the server that send out individual emails. They all get through to Microsoft accounts. It’s only a problem with PHPlist.

Through discussion and testing with the company Mailchannels, they suspect that PHPlist is making a subtle change to the message after dkim has been produced, which isn’t causing a dkim failure but is causing an ARC failure. They’ve suggested identifying and removing that change. But I don’t know enough about how PHPlist works to assess whether this is the case or what to remove.

The relevant header messages from Microsoft are:

ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=fail;
header.d=[domainremovedbyme]; arc=fail (47)

and from gmail is:

arc=fail (body hash mismatch);

I’ve been through the config file, and exhausted all other lines of investigation. Does anyone have any insights into this? Having used PHPlist in the past, in the absence of a solution, my only option at the moment is to change to A2hosting’s own list software, which I think is based on mailman, and I presume works though is not tested yet.

At what stage is DKIM being added? Usually it is by the local mail server, so phplist has already sent the email so cannot alter the content.

Can you copy the headers of a problematic email. Use the toolbar code button </> so that it is formatted as plain text.

Hi, thanks for your reply. The questions you ask are exactly the ones I asked, and to which I don’t have answers. However, there is something about PHPlist that interacts with mailchannels in a way that causes ARC failures. Below are the headers. I’ve replaced my domain name with “[MYDOMAINREMOVED]”, etc.

Also, for info, at A2hosting my smtp server is mail.[DOMAINAME] but that doesn’t appear in the headers, where nl1-ts109.a2hosting.com appears instead. Having said that, the same thing happens when I send an email in Outlook, but there is no ARC error.

Please note that X-MC-Relay is flagged as “Bad” (i.e. mailchannels relay) - but this only happens with PHPlist, not other ways of sending emails. I suspect it is not a problem with PHPlist, nor with mailchannels, but the interaction between the two.

Headers are:


Received: from GV1P189MB2268.EURP189.PROD.OUTLOOK.COM (::1) by
 AS8P189MB2532.EURP189.PROD.OUTLOOK.COM with HTTPS; Wed, 16 Oct 2024 10:32:17
 +0000
ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=fail;
 b=WRRvxzAdtpeE0G8HZWYgjqm0NU3lWAt4AAYq0NkBLNrGgTi1wqStu1C1+XD3nKf3/RhKvtyBHQjoezf9oq/iFQmA5of8GkjRrnoB3b47zK8hugBnvm333djRs/YdGU4FfDdQZ+sq/h9cyyP2uYfhyXA5UIYieykUn7DJCf1qhyCxVDbyrXdB4rH+Pa/gF1iu6YNz2JxCXWkODZ0EIidhe7d+7ElLy8NsKfQvm+A/hB26QoYcozCHnDwvwCxYHLPKfGFutQZ1cGQlxJF/NrOdRkxhGBxIacaOBvzDghwBO28cAR2HIxkxu+8HAfmvF5Mj3HSoTDJ7dqFM0JmK3dcgng==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=AVc68VhUfR9kyYSUCHUflzKqlGoPET5F/SYo0pCh7KE=;
 b=boMBxaqLua8TI/4q/M7JHFnphhE7GDJrCDy9kaoBBJzZlLcwgVJe14lIh4Ur1kfhLTRpaxrNcVXqmKUrTsimq/GRqdz+dN78lj0fju8jhFpYCvFh8niTdEjrIlZA09cF8xJlyla1BJzN6jWMBapTOAI2OYQeuT81SO9AUkA4CDh28gwYY5WrjJapFsYUmvG6pvj3aGDdLvYwsLWWJl4+ZP/UM0nNcHQWzOnDLmnRVqjG2DMFmO6jelC6tLwYx85gvX7L8HOU0Y5I5dTVKkrZlYfuAu/dLnPGbaJE5184+TssP23i0TwMp2pyhcg25uOOiKuwlTHMSEEy/b50BqAZdQ==
ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is
 23.83.223.32) smtp.rcpttodomain=outlook.com smtp.mailfrom=[MYDOMAINREMOVED];
 dmarc=pass (p=quarantine sp=quarantine pct=100) action=none
 header.from=[MYDOMAINREMOVED]; dkim=pass (signature was verified)
 header.d=[MYDOMAINREMOVED]; arc=fail (47)
Received: from DM6PR03CA0030.namprd03.prod.outlook.com (2603:10b6:5:40::43) by
 GV1P189MB2268.EURP189.PROD.OUTLOOK.COM (2603:10a6:150:98::8) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.8048.26; Wed, 16 Oct 2024 10:32:07 +0000
Received: from DS3PEPF0000C37B.namprd04.prod.outlook.com
 (2603:10b6:5:40:cafe::32) by DM6PR03CA0030.outlook.office365.com
 (2603:10b6:5:40::43) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18 via Frontend
 Transport; Wed, 16 Oct 2024 10:32:07 +0000
Authentication-Results: spf=pass (sender IP is 23.83.223.32)
 smtp.mailfrom=[MYDOMAINREMOVED]; dkim=pass (signature was verified)
 header.d=[MYDOMAINREMOVED];dmarc=pass action=none
 header.from=[MYDOMAINREMOVED];compauth=pass reason=100
Received-SPF: Pass (protection.outlook.com: domain of [MYDOMAINREMOVED] designates
 23.83.223.32 as permitted sender) receiver=protection.outlook.com;
 client-ip=23.83.223.32; helo=catfish.cherry.relay.mailchannels.net; pr=C
Received: from catfish.cherry.relay.mailchannels.net (23.83.223.32) by
 DS3PEPF0000C37B.mail.protection.outlook.com (10.167.23.5) with Microsoft SMTP
 Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8069.17 via
 Frontend Transport; Wed, 16 Oct 2024 10:32:06 +0000
X-IncomingTopHeaderMarker:
 OriginalChecksum:D4443BFA7AA43E427F32B247C1969ACBBDB8106C49F1C333FD13EF56E848CE7E;UpperCasedChecksum:19FE9B6711E92F7EBCE59043A80991FC29BF3F632F93649FA493EE4ABB0A0431;SizeAsReceived:5414;Count:40
X-Sender-Id: a2hosting|x-authuser|[MYNAMEREMOVED]@[MYDOMAINREMOVED]
Received: from relay.mailchannels.net (localhost [127.0.0.1])
	by relay.mailchannels.net (Postfix) with ESMTP id D6B6794245B
	for <[MYEMAILADDRESSREMOVED]@outlook.com>; Wed, 16 Oct 2024 10:32:05 +0000 (UTC)
Received: from nl1-ts109.a2hosting.com (100-99-180-200.trex-nlb.outbound.svc.cluster.local [100.99.180.200])
	(Authenticated sender: a2hosting)
	by relay.mailchannels.net (Postfix) with ESMTPA id 2460294401B
	for <[MYEMAILADDRESSREMOVED]@outlook.com>; Wed, 16 Oct 2024 10:32:02 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1729074725; a=rsa-sha256;
	cv=none;
	b=dPMoizsXGFru4aVnXSEdA8Y4CR+iI3OWVLS0Tw4vXtnrvSiuz2pJe51orrCpolzmv0zgIT
	3YOlR1qIQmo8mBl1vLAgJkfxIIwJ5RjnvAW75aIk6FaKq+sc7zFoU2TS4DYmhXVFwxPGIA
	phyKd/JkpOOMKkma7dJmM/8POsrCe+8TGd6nNHHCcD/X37wqnybhftvfUfrVOMWl98G6pJ
	8UdBFubaoTjdXjxzlP9iIzxfvoSldyFmno1yqImZvbxCZQoi89z04IOrHJUJBrGhvrWCXz
	7XM1sC3yFLjuMl3oaMZAC+NfLjrlO9VDoeAg9JaBPZzlrlno/4SmJ6sNFUmYhg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net;
	s=arc-2022; t=1729074725;
	h=from:from:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:list-help:list-owner:list-unsubscribe:
	 list-unsubscribe-post:list-subscribe:dkim-signature;
	bh=g4eofE9jpwGn2a5ZysUbTjeyMWQaBX43ZHXfhuZuch4=;
	b=QuU0Iid+D7tCRS4xKiEM4IFQPT8zc8qAGojg1bk9co5ijdN/bBIeYgFz02CRIvaUM0aHQD
	WqB0zWzjJnRo9Blwf4Blg86/LOpFUcQbOS8ILIba6lkw30i2+eIq2i7Jrf7h+N65pRk2+x
	iWCZx4vlZrRMatBVHHK5JZbNUft5MvMJnXZT17VfnSUNhaJsk5NkZLBI61/2kz7J9shnQB
	jbin9RoUMwkgeZBf7yQFZFkEgImHQao3Znx6Kd/ZEahS47Bwk0TRXoaHspj7rKKVvRGwlu
	Bf5PXg0YcHwXBRVVKPEnz7KI7wiqpOuzqPLyLHgzPs5jhETXucBL6FKQf4PQeQ==
ARC-Authentication-Results: i=1;
	rspamd-5b4c8788b8-8jtjf;
	auth=pass smtp.auth=a2hosting smtp.mailfrom=bounces@[MYDOMAINREMOVED]
X-Sender-Id: a2hosting|x-authuser|[MYNAMEREMOVED]@[MYDOMAINREMOVED]
X-MC-Relay: Bad
X-MailChannels-SenderId: a2hosting|x-authuser|[MYNAMEREMOVED]@[MYDOMAINREMOVED]
X-MailChannels-Auth-Id: a2hosting
X-Fumbling-Occur: 2ec0f3f20f827234_1729074725763_3561365377
X-MC-Loop-Signature: 1729074725763:510828015
X-MC-Ingress-Time: 1729074725763
Received: from nl1-ts109.a2hosting.com (nl1-ts109.a2hosting.com
 [[MYIPADDRESSREMOVED]])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
	by 100.99.180.200 (trex/7.0.2);
	Wed, 16 Oct 2024 10:32:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=[MYDOMAINREMOVED];
	s=default; h=Content-Type:MIME-Version:List-Owner:List-Subscribe:
	List-Unsubscribe:List-Help:Message-ID:Subject:Reply-To:From:To:Date:Sender:Cc
	:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
	Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:
	References:List-Id:List-Post:List-Archive;
	bh=OO2x8VuWchSt6lpLpHL35QSEzOEILKlLo+YySXqQ9Qo=; b=DJi16VUQPdKGc8tLPtx80H5kJJ
	Fof9tKhwN0odWlddAOR3adi1X79CYBTa1p/GfcL0ExGTEH8WbKY5s06NOf1m9GVIy9yPVXXzZ/SLO
	/9uHiqDJ3NGaQVahJzOCBoPVdCTTAtGtX+JZ6ELsyravxd00khzCMkB8fDETHZEYuq2nxb9R9Jg8H
	VqAhf6r0rwJfZOVfadAx990CoelIg95O7D/eXCfh1TXUeHBYwf9E8bAYC155q7fes1iDUSuTIFfo9
	qMlIt4RYsBu43l8b+Ty4u3qf7s/xdWhnd80mQMlZRS8hLsgeSIyvUFyWWEay1gDSOcRskbxXIcpmr
	yOAeOeLQ==;
Received: from mailnull by nl1-ts109.a2hosting.com with spam-scanner (Exim 4.97.1)
	(envelope-from <bounces@[MYDOMAINREMOVED]>)
	id 1t11Jx-0000000A1mt-1PY9
	for [MYEMAILADDRESSREMOVED]@outlook.com;
	Wed, 16 Oct 2024 12:32:01 +0200
X-ImunifyEmail-Filter-Info: RlJPTV9ORVFfRU5WRlJPTSBJRV9WTF9CVVJTVF9FTUFJTF8w
	MEQgSEF
		TX1BIUE1BSUxFUl9TSUcgUFJFQ0VERU5DRV9CVUxLIFJDVkRfVklBX1
		NNVFBfQVVUSCBIQVNfTElTVF9VTlNVQiBJRV9WTF9CVVJTVF9BQ0NPV
		U5UXzAwRCBIQVNfUkVQTFlUTyBSQ1BUX0NPVU5UX09ORSBGT1JHRURf
		U0VOREVSX01BSUxMSVNUIE1JRF9SSFNfTUFUQ0hfRlJPTSBCQVlFU19
		IQU0gTUlNRV9UUkFDRSBSQ1ZEX1RMU19MQVNUIEFTTiBBUkNfTkEgTU
		FJTExJU1QgVkVSSUxPQ0tfQ0IgSUVfVkxfQlVSU1RfRE9NQUlOXzAwR
		CBIQVNfQVRUQUNITUVOVCBGUk9NX0hBU19ETiBUT19ETl9OT05FIFJF
		UExZVE9fQUREUl9FUV9GUk9NIFJDVkRfQ09VTlRfVFdPIFRPX01BVEN
		IX0VOVlJDUFRfQUxMIE1JU1NJTkdfWE1fVUEgTUlNRV9VTktOT1dO
X-ImunifyEmail-Filter-Action: no action
X-ImunifyEmail-Filter-Score: -0.15
X-ImunifyEmail-Filter-Version: 3.8.6/202409250822
Received: from [[MYIPADDRESSREMOVED]] (port=48824 helo=[MYDOMAINREMOVED])
	by nl1-ts109.a2hosting.com with esmtpsa  (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.97.1)
	(envelope-from <bounces@[MYDOMAINREMOVED]>)
	id 1t11Jx-0000000A1mI-0K7u
	for [MYEMAILADDRESSREMOVED]@outlook.com;
	Wed, 16 Oct 2024 12:32:01 +0200
Received: from [185.69.145.121] by [MYDOMAINREMOVED] with HTTP; Wed, 16 Oct 2024 06:32:00 -0400
Date: Wed, 16 Oct 2024 06:32:01 -0400
To: [MYEMAILADDRESSREMOVED]@outlook.com
From: [MYNAMEREMOVED] <[MYNAMEREMOVED]@[MYDOMAINREMOVED]>
Reply-To: [MYNAMEREMOVED]@[MYDOMAINREMOVED]
Subject: TEST for ARC failure
Message-ID: <SwOGv0SIht3R0GdAeEBjM9bkAW6Nj0Do5ZoUqK1E@[MYDOMAINREMOVED]>
X-phpList-version: 3.6.15
X-MessageID: 13
X-ListMember: [MYEMAILADDRESSREMOVED]@outlook.com
Precedence: bulk
List-Help: <http://[MYDOMAINREMOVED]/lists/?p=preferences&uid=237d0ffba0d2db66de0c8b2cf9d2e25e>
List-Unsubscribe: <https://[MYDOMAINREMOVED]/lists/?p=unsubscribe&uid=237d0ffba0d2db66de0c8b2cf9d2e25e&jo=1>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Subscribe: <https://[MYDOMAINREMOVED]/lists/?p=subscribe>
List-Owner: <mailto:[MYNAMEREMOVED]@[MYDOMAINREMOVED]>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_SwOGv0SIht3R0GdAeEBjM9bkAW6Nj0Do5ZoUqK1E"
X-AuthUser: [MYNAMEREMOVED]@[MYDOMAINREMOVED]
X-IncomingHeaderCount: 40
Return-Path: bounces@[MYDOMAINREMOVED]
X-MS-Exchange-Organization-ExpirationStartTime: 16 Oct 2024 10:32:06.9208
 (UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id:
 6096868d-f1ca-4a39-5905-08dcedcdc897
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic:
 DS3PEPF0000C37B:EE_|GV1P189MB2268:EE_|AS8P189MB2532:EE_
X-MS-Exchange-Organization-AuthSource:
 DS3PEPF0000C37B.namprd04.prod.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-UserLastLogonTime: 10/16/2024 10:27:49 AM
X-MS-Office365-Filtering-Correlation-Id: 6096868d-f1ca-4a39-5905-08dcedcdc897
X-MS-Exchange-EOPDirect: true
X-Sender-IP: 23.83.223.32
X-SID-PRA: [MYNAMEREMOVED]@[MYDOMAINREMOVED]
X-SID-Result: PASS
X-MS-Exchange-AtpMessageProperties: SA|SL
X-MS-Exchange-Organization-SCL: 5
X-Microsoft-Antispam:
 BCL:0;ARA:1444111002|42200799015|10300799029|461199028|9400799024|56000799018|6092099012|56899033|1360799030|1370799030|1380799030|1602099012|1701999012|18301999012|17101999012|7002799012|6111999012|4141999018|21101999012|3412199025|440099028|4302099013|6406899015|2406899039;
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2024 10:32:06.5614
 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 6096868d-f1ca-4a39-5905-08dcedcdc897
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-AuthSource:
 DS3PEPF0000C37B.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P189MB2268
X-MS-Exchange-Transport-EndToEndLatency: 00:00:10.9890998
X-MS-Exchange-Processed-By-BccFoldering: 15.20.8048.020
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtHRD0xO1NDTD0tMQ==
X-Microsoft-Antispam-Mailbox-Delivery:
	ucf:0;jmr:0;ex:0;auth:1;dest:I;ENG:(5062000308)(920221119095)(90000117)(920221120095)(91040095)(9050020)(9060121)(9100341)(944500132)(2008001181)(4810010)(4910033)(9930004)(9610028)(9545005)(10172021)(9320005)(120001)(1110175);
X-Microsoft-Antispam-Message-Info:
	=?us-ascii?Q?VJIaIfr/A2x1yABmCEZP9zm80l5rMl4UGwTMkjtBkEbbTaGCrn/eEWBatYbb?=
 =?us-ascii?Q?H1NRU3dg2EumbckpUk1X9paqgGTzv/4C5cM20qUbHtDBhI/j1kje4QYN1EFZ?=
 =?us-ascii?Q?pF/Tb1aPh62iNs7i/yytbzrcXr7U9ootGg2WkN1DJDWFJCe96SVls0rk3qmz?=
 =?us-ascii?Q?CSOPhJAuOANLHvpTmcl9JmWlBYk0RTMX3Rjmp02mkksOFMKe6IM+YIglhHvT?=
 =?us-ascii?Q?RDphPiUyYZGK7z9Lf1pY97W9HIbw2Fb93dZGZohw/xaoIo9En9Gc8AwEDB7H?=
 =?us-ascii?Q?/wh0uSS4Etv5vcnO8DysYZK2CzMOjKIW7jtmzwFfjNF4eiPe0Lccpv5hr2/J?=
 =?us-ascii?Q?AUV0D6/046uSNyCMAHsn6+//cmMvB6qbzRmwtxwqx93I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vT/1y?=
 =?us-ascii?Q?TIsoea3ZSlsm4vjTlMtd3bGdYCL/VjJJcs6qab8Y1ORtmqcc3jFhlzCodsIx?=
 =?us-ascii?Q?uihOfshTbuBdV5Ci5vHA+dBFHnhqA0XB1HH7zQWyFm8qy/9s795Id0prwkB/?=
 =?us-ascii?Q?q72gh7dq7JwRy16lSjDZh044+2STmMb+lwfCNw1SaRrf2U9NMx+y+spX0SDu?=
 =?us-ascii?Q?snVJCfRznQ6VIW0r+wo12EWez/NXrvpq1mEQmb28enrnJL98t3sWAvggG9iA?=
 =?us-ascii?Q?aYR2iDSHe8/m90DF1cQRIG+KdYv4l2+J/7EKWesrczBmczDO/6YZzYhrCkBx?=
 =?us-ascii?Q?JjA4JF3GC8eSAzMiYF3Gy8MPqPEWwW8pg7Em88fvtTeiixAUFzxi7BI4SyWb?=
 =?us-ascii?Q?iM7M9RuE/m1pTFSvbjGPDlh7EW6VafKk/O/tLHr4M1b3/wrRFJY2VU51rHfy?=
 =?us-ascii?Q?N7IPaSf09laeQcJ+o8TJOTr5uLsssrSAn/+EvvB1PSWEgza2KiLIkvHvuL6Q?=
 =?us-ascii?Q?sQ=3D=3D?=

@grumpyinyorks Can you try sending through an SMTP server instead of the php mail() function?
In config.php you need to set server, user, password etc. Look at config_extended.php for an explanation then add the fields to config.php.

Thanks for your reply. It already uses SMTP (having had problems with phpmail in the past, though on different servers). Below is the config file, with all the sensitive info and standard text removed.

<?php
$database_host = 'localhost';
$database_name = '[EDITED:DBNAMEREMOVED]';
$database_user = '[EDITED:DBNAMEREMOVED]_phplist';
$database_password = '[EDITED:PASSWORD REMOVED]';
define('PHPMAILERHOST', 'mail.[EDITED:DOMAINREMOVED]');
define('PHPMAILERPORT','465');
define('PHPMAILER_SECURE','ssl');
$phpmailer_smtpuser = '[EDITED:USERNAMEREMOVED]@[EDITED:DOMAINREMOVED]';
$phpmailer_smtppassword = '[EDITED:PASSWORD REMOVED]';
define('ALLOW_ATTACHMENTS', 1);
define('FILESYSTEM_ATTACHMENTS', 0);
define('TEST', 0);
$attachment_repository = '/home/[EDITED:ACCOUNTNAMEREMOVED]/[EDITED:DOMAINREMOVED]/lists/attachments';
define('USE_REPLY_TO', true);
$message_envelope = 'bounces@[EDITED:DOMAINREMOVED]';
$bounce_protocol = 'pop';
define('MANUALLY_PROCESS_BOUNCES', 1);
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_user = 'bounces';
$bounce_mailbox_password = '[EDITED:PASSWORD REMOVED]';
$bounce_mailbox_port = '110/pop3/notls';
$bounce_mailbox = '/var/mail/listbounces';
$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 1;
$bounce_unsubscribe_threshold = 5;
define('HASH_ALGO', 'sha256');