Evan Platt wrote:
At 05:09 AM 10/24/2007, cpayne wrote:
Hey Guys,

Got a problem, I been looking on the net no clear answer. But why can't I use this have they change....

Oct 24 08:02:45 magi spamd[2942]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": pyzor_add_header 1 Oct 24 08:02:45 magi spamd[2942]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": use_terse_report 1

Any help you can give.

Did you just upgrade?

Googling pyzor_add_header and use_terse_report show quite a few answers:

http://spamassassinbook.packtpub.com/chapter11_preview.htm


Versions of SpamAssassin before 3.0 used the pyzor_add_header configuration directive to add a header to emails. This has been deprecated, and will be removed in future versions of SpamAssassin. The current method is to add an email header with Pyzor information. This is achieved by adding the following to /etc/mail/spamassassin/local.cf or ~/.spamassassin/user_prefs:

    add_header all Pyzor _PYZOR_

and googling use_terse_report, the first google hit:
http://www.hoboes.com/Mimsy/?ART=201

The use_terse_report rule has also changed in SpamAssassin 3. I couldn't find the replacement, but thanks to Wolfgang from Vienna, I now know the answer:

remove_header all Report

This doesn't switch from a detailed to a terse report header; it removes the detailed report completely. But (as I understand it) in SpamAssassin 3, the terse and detailed reports have been separated out into X-Spam-Status (the terse version) and X-Spam-Report (the detailed version). Removing the detailed version leaves just the terse version.

OK, I am not getting anything in the headers still this is my test....

From - Wed Oct 24 11:13:08 2007
X-Account-Key: account5
X-UIDL: a%[!!?%C!!!II"!CQ!#!
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys: Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from localhost (unknown [127.0.0.1])
        by magi.magidesign.com (Postfix) with ESMTP id 849D81AAE6
        for <[EMAIL PROTECTED]>; Wed, 24 Oct 2007 15:15:30 +0000 (UTC)
Received: from magi.magidesign.com ([127.0.0.1])
by localhost (magi.magidesign.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 12072-04 for <[EMAIL PROTECTED]>;
Wed, 24 Oct 2007 11:15:28 -0400 (EDT)
Received: by magi.magidesign.com (Postfix, from userid 65534)
        id EBB701AAEA; Wed, 24 Oct 2007 11:15:28 -0400 (EDT)
X-Spam-DCC: _DCCB_:_DCCR
X-Spam-ASN: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on magi.magidesign.com X-Spam-Level: X-Spam-Status: No, score=(-102.3), required=1.5, tests=BAYES_00,SPF_PASS,
        USER_IN_WHITELIST, autolearn=ham, bayes score = 0.0000, version=3.2.3 
date
        scan = Wed, 24 Oct 2007 11:15:28 -0400
X-Spam-Pyzor: _PYZOR_
X-Spam-remote: hostinfo = localhost @ 127.0.0.1
Received-SPF: pass (gmail.com ... _spf.google.com: 64.233.184.237 is authorized to use 
'[EMAIL PROTECTED]' in 'mfrom' identity (mechanism 'ip4:64.233.160.0/19' matched)) 
receiver=magi.magidesign.com; identity=mfrom; envelope-from="[EMAIL 
PROTECTED]"; helo=wr-out-0506.google.com; client-ip=64.233.184.237
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237])
        by magi.magidesign.com (Postfix) with ESMTP id 0956E1AADC
        for <[EMAIL PROTECTED]>; Wed, 24 Oct 2007 11:15:21 -0400 (EDT)
Received: by wr-out-0506.google.com with SMTP id c57so239522wra
       for <[EMAIL PROTECTED]>; Wed, 24 Oct 2007 08:12:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
       d=gmail.com; s=beta;
       
h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
       bh=Gk/6ooN1Pk2Mpq7YYSyqMsMgt9nymf5EccMI7jdTSSU=;
       
b=I0ugLNrKg4LQ//CQyP3Je3qSNxsCnABUglKBil1mxHeBubxtTENKj6MQ5nc8GMk2Fg2fu+8YElpn1+xZf6r7Hj3ztqIYVC03oFOQcg8FIMKQSfv7zrI+rqJfZU9asstqJ81UEp7mOECfqK+JVdf4tT9aYRNF5W7EZh+qRgYn47w=
DomainKey-Signature: a=rsa-sha1; c=nofws;
       d=gmail.com; s=beta;
       
h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
       
b=V30QqjKFrq11N7VWq1x97QXoKWXzOklv/lXcbgV/ZiUfZkRjx8zgPUV276ENlZikvDJun1sK/Ao5LZAK8qkaZljJfSN5ctRaJGuyl2v4NkYGsT8kYkQJL4CyApDwlrCJnpWd605d8s0maTLhKOI1wETMMTkQzNhkhjJm8g9jpNo=
Received: by 10.142.99.21 with SMTP id w21mr169209wfb.1193238754526;
       Wed, 24 Oct 2007 08:12:34 -0700 (PDT)
Received: by 10.143.41.17 with HTTP; Wed, 24 Oct 2007 08:12:34 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 24 Oct 2007 11:12:34 -0400
From: "Chuck Payne" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Please check the headers


This is my config, any clues as to what I am doing wrong....

# New Header Information

add_header spam Flag _YESNOCAPS_
add_header all Status _YESNO_, score=(_SCORE_), required=_REQD_, tests=_TESTS_, 
autolearn=_AUTOLEARN_, bayes score = _BAYES_, version=_VERSION_ date scan = 
_DATE_
add_header all remote hostinfo = _REMOTEHOSTNAME_ @ _REMOTEHOSTADDR_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on 
_HOSTNAME_
add_header all DCC _DCCB_:_DCCR
add_header all Pyzor _PYZOR_
#add_header all Virus _YESNO_


#
# Enable or disable network checks
#
use_razor2  1
razor_config /var/spool/amavis/.razor/razor-agent.conf

## Settings for DCC
use_dcc     1
dcc_timeout 10
dcc_home    /var/spool/amavis/dcc/
dcc_body_max 4
dcc_fuz1_max 4
dcc_fuz2_max 4
dcc_dccifd_path /var/spool/amavis/dcc/dccifd
dcc_path /var/spool/amavis/dcc/bin/dccproc

## Setting for PYZOR
use_pyzor   1
pyzor_timeout 10
pyzor_max 4
pyzor_path /usr/bin/pyzor


Thanks,

Chuck
MIME-Version: 1.0


Reply via email to