Can you clarify which part of this is mixed up, from your perspective? I
can see some differences, but I don't want to jump to incorrect conclusions.
There are two recipients involved. Are you getting both of those in one
SMTP conversation, or two?
As far as troubleshooting goes, I recommend adding a bunch of custom
logging. Log the variables of interest at the start of each filter_*()
function.
On 2025-07-22 09:34, Jean-Luc Bourguignon via MIMEDefang wrote:
Dears,
I've migrated mimedefang filter from a system
running mimedefang-2.75 (with sendmail) to a new system
running mimedefang-3.6-1 (with postfix).
It's working fine for some mails (if recipient is (are) in the
same domain) but for some others (if recipients are in different
domains) it's sending the mail but completely mixed up with
mimedefang internal variable values.
example :
X-MIMEDefang-Relay-37414ae06ce1243c7514ed3240814f6b33b29e14:
xxx.xxx.xxx.xxx
Received: from HOST (HOST [xxx.xxx.xxx.xxx])
by hostname (envelope-sender <UID@HOST>) (MIMEDefang) with ESMTP
id 3F93410052FF; Thu, 17 Jul 2025 15:47:27 +0200
Received: (from root@localhost)
by HOST (8.15.2/8.15.2/Submit) id 56HDlC7B667845;
Thu, 17 Jul 2025 15:47:12 +0200
From: UID@HOST
Message-Id: <202507171347.56HDlC7B667845@HOST>
Date: Thu, 17 Jul 2025 15:47:12 +0200
To: [email protected], [email protected]
Subject: test
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
this is the body of the email
and in the log file I get :
Jul 17 14:43:01 hostname postfix-out/cleanup[790588]:
D823F10052FF: milter-discard: END-OF-MESSAGE from HOST
[xxx.xxx.xxx.xxx]: milter triggers DISCARD action; from=<UID@HOST>
to=<[email protected]> proto=ESMTP helo=<HOST>
Which I don't have with the old version + sendmail.
Any idea where this can come from ?
mimedefang configuration ?
postfix milter configuration ?
Thx in advance for your help.
Brgds,
Jean-Luc.
============================================================================================================================
Disclaimer: This message and the information contained herein is
proprietary and confidential and subject to the Tech Mahindra policy
statement, you may review the policy at
http://www.techmahindra.com/Disclaimer.html externally
http://tim.techmahindra.com/tim/disclaimer.html internally within
TechMahindra.
============================================================================================================================
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
MIMEDefang mailing [email protected]
https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org
--
Richard
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
MIMEDefang mailing list [email protected]
https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org