[Exim] spamassassin + exim eq double message headers (debian…

Página Inicial
Delete this message
Reply to this message
Autor: tony peel
Data:  
Para: exim-users
Assunto: [Exim] spamassassin + exim eq double message headers (debian woody)
I am currently running exim (3.35-1woody2)
spamassassin (2.20-1woody3 ) , spamassasin appears to
work fine. Messages are tagged, subjects are changed.
All is well.

The problem appears to be duplicate headers It looks
like the original headers are kept, and the spamd
headers are added _AFTER A BLANK LINE_ thus causing
email clients to assume this is the start of message
text.

Here is an example :

<snip>
    Message-Id: <E1AtHmi-0003mG-00@???>
    From: tony@???
    Date: Tue, 17 Feb 2004 21:50:00 -0500


    >From tony@???  Tue Feb 17 21:50:00 2004
    Received: from tony by tb303.domain.com with local
(Exim 3.35 #1 (Debian))
        id 1AtHmi-0003mB-00
        for <tony@???>; Tue, 17 Feb 2004 21:50:00
-0500
    To: tony@???
    Subject: test
    Message-Id: <E1AtHmi-0003mB-00@???>
    From: Jesse Ward <tony@???>
    Date: Tue, 17 Feb 2004 21:50:00 -0500
    X-Spam-Status: No, hits=0.9 required=5.0
tests=FROM_AND_TO_SAME version=2.20
    X-Spam-Level:


    1
    2
    3
</snip>


Here is the relevant information from my
/etc/exim/exim.conf


# SpamAssassin
spamcheck:
    driver = pipe
    command = /usr/sbin/exim -oMr spam-scanned -bS
    transport_filter = /usr/bin/spamc
    bsmtp = all
    home_directory = "/tmp"
    current_directory = "/tmp"
    # must use a privileged user to set
$received_protocol
    # in the second exim process!
    user = mail
    group = mail
    return_path_add = false
    log_output = true
    return_fail_output = true
    prefix =
    suffix =


AND ....

# SpamAssassin
spamcheck_director:
    # do not use this director when verifying a
local-part at SMTP-time
    no_verify
    # When to scan a message :
    #   -   it isn't already flagged as spam
    #   -   it isn't already scanned
    #   -   it didn't originate locally (as long as I
don't harbor spammers
    condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}} {!eq
{$received_protocol}{local}} } {1}{0}}"
    driver = smartuser
    transport = spamcheck


here is my relevant info from /etc/default/
# Change to one to enable spamd
ENABLED=1

# Options
# See man spamd for possible options. The -d option is
automatically added.
OPTIONS="-c"



This was the walkthrough i have used to configure my
machine
http://dman13.dyndns.org/~dman/config_docs/exim-spamassassin/
.

Any assistance would be greatly appreciated, in my
efforts to removing the "Double Header syndrome" ( i
have also read through this thread
http://lists.debian.org/debian-user/2003/debian-user-200301/msg00828.html
, with no avail )


______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca