On 2015-01-18 22:01, wie...@porcupine.org wrote:
m...@ruggedinbox.com:
Ok the new rule is:

spamassassin unix - n n - - pipe
user=debian-spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f -G
${sender} -- ${recipient}

You can't put -G between -f and sender. I assumed that you would be
familiar with the way UNIX command-line syntax works, but I must
have been too optimistic.

did a postfix restart (of course) and sent a test email:

There is no such thing as "postfix restart". In other words,
Postfix keeps using the old configuration.

If you had done "postfix reload" with -G between -f and sender,
then the return-path would contain "-G", not vm...@ruggedinbox.com.

This demonstrates again that all the changes you're making are
having zero effect.  The biggest problem here is between the chair
and the keyboard.  Good luck.

        Wietse

Ok new spamassassin rule:

spamassassin unix - n n - - pipe
user=debian-spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -G -f ${sender} -- ${recipient}

did an /etc/init.d/postfix reload
and ensured about it:

Jan 18 23:22:23 ruggedinbox postfix/master[24779]: reload -- version 2.9.6, configuration /etc/postfix

sent a test email:


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)
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)
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

test3


and the header is still there.

Reply via email to