Forum OpenACS Q&A: Re: email problem

Collapse
7: Re: email problem (response to 1)
Posted by Benjamin Brink on

Hi Claudio,

Yeah, removing the offending message_id line will work. Or, the actual fix I've posted is to replace both message_ids with object_id. That was what was intended:

github.com/tekbasse/acs-mail-lite/commit/e5ac8b9184cde48ce52bc39b20783b722bec885e

When I test, no originator header is produced. Here is an example:

set body "Test body [clock seconds]"
set subject "PEC test"

acs_mail_lite::send_immediately -to_addr $to_addr -from_addr $from_addr -reply_to $reply_to -subject $subject -body $body

email headers:

Return-Path: <bounce861.9194530178.9-100+1519452391+d961966e2f5ead65629bd33dd655c575befb9e96@a22....>
Received: from ... ([unix socket])
	 by ... (Cyrus 2.5.11) with LMTPA;
	 Sat, 17 Feb 2018 06:14:10 +0000
X-Sieve: CMU Sieve 2.4
Received: from localhost (unknown [n.n.n.n])
	by ... (Postfix) with ESMTP id 1891822274C
	for <admin@...>; Sat, 17 Feb 2018 06:14:10 +0000 (UTC)
Received: from ... ([n.n.n.n])
 by localhost (m...org [n.n.n.n]) (maiad, port 10240)
 with ESMTP id 28819-09 for <admin@...>;
 Sat, 17 Feb 2018 06:14:09 +0000 (UTC)
X-Greylist: delayed 00:07:37 by SQLgrey-1.8.0
Received: from a22.... (a22.... [n.n.n.n])
	by ... (Postfix) with ESMTP id C34A4222741
	for <admin@...>; Sat, 17 Feb 2018 06:14:04 +0000 (UTC)
Received: from localhost (localhost [IPv6:::1])
	by a22.... (Postfix) with ESMTP id 056363A733C
	for <admin@...>; Sat, 17 Feb 2018 01:06:32 -0500 (EST)
MIME-Version: 1.0
Content-ID: <861.1518847592.10@a22...>
message-id: <bounce861.9194530178.9-100+1519452391+D961966E2F5EAD65629BD33DD655C575BEFB9E96@a22...>
date: Sat, 17 Feb 2018 01:06:32 -0500
Subject: =?UTF-8?Q?PEC_test?=
From: bb@a22
Reply-To: bb@a22
To: admin@...
Sender: bb@a22
Content-Type: text/plain;
              charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Test body 1518847591