On 2015-01-18 23:35, Christian Rößner wrote:
Am 18.01.2015 um 23:27 schrieb m...@ruggedinbox.com:
Return-Path: <vm...@ruggedinbox.com>
Delivered-To: m...@ruggedinbox.com
Received: from localhost (localhost.localdomain [127.0.0.1])
by ruggedinbox.com (Postfix) with ESMTP id 7693331405C7
for <m...@ruggedinbox.com>; Sun, 18 Jan 2015 23:23:03 +0100 (CET)
At this stage, the Return-Path is already included through the amavisd
filter (Postfix smtpd_proxy_filter…). See below. It’s a while ago that
I used proxy. Is it right that amavisd sends mail back over port
10024? (I use milters since decades)
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level:
X-Spam-Status: No, score=-0.002 required=5 tests=[NO_RECEIVED=-0.001,
NO_RELAYS=-0.001] autolearn=no
Received: from ruggedinbox.com ([127.0.0.1])
by localhost (ruggedinbox.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id y_8qU3bCUyh9 for <m...@ruggedinbox.com>;
Sun, 18 Jan 2015 23:23:01 +0100 (CET)
It seems your test mail goes through amavisd, right? Not a milter. You
are using proxy as described above? So I guess your Return-Path is
added here, not later.
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Sun, 18 Jan 2015 22:23:01 +0000
From: m...@ruggedinbox.com
To: m...@ruggedinbox.com
Subject: test3
Message-ID: <4cbb98dd59ce89a54078d25049815...@ruggedinbox.com>
X-Sender: m...@ruggedinbox.com
Just what I guess…
Christian
--
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com
Hi yes we use amavis, not using milter and not using proxy.
We checked our configuration and google and were unable to find
references about amavis and 'return-path'.
The relevant lines in master.cf are:
amavis unix - - - - 1 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=2
and in main.cf:
content_filter = amavis:[127.0.0.1]:10024
Anyway we tried to comment the line in main.cf which calls our custom
script
and the return-path is correct:
Return-Path: <m...@ruggedinbox.com>
so it looks like the problem is around the script or its invocation.
Thank you.