okay, i've browsed dman's spamassassin setup at

and i've got it, well, doing something...

it seems to add a whole new slew of headers, a blank line and
then repeats the original headers and message:

        From [EMAIL PROTECTED] Sat Jan 04 23:50:16 2003
        Return-path: <[EMAIL PROTECTED]>
        Envelope-to: [EMAIL PROTECTED]
        Received: from mail by server with spam-scanned (Exim 3.35 #1 (Debian))
                id 18V3fr-000063-00
                for <[EMAIL PROTECTED]>; Sat, 04 Jan 2003 23:50:16 -0600
        Message-Id: <E18V3fr-000063-00@server>
        From: [EMAIL PROTECTED]
        Bcc:
        Date: Sat, 04 Jan 2003 23:50:16 -0600

        >From [EMAIL PROTECTED]  Sat Jan  4 23:50:16 2003
        Received: from duo ([192.168.1.2] helo=duo.lan)
                by server with esmtp (Exim 3.35 #1 (Debian))
                id 18V3fr-00005v-00
                for <[EMAIL PROTECTED]>; Sat, 04 Jan 2003 23:50:15 -0600
        Received: from will by duo.lan with local (Exim 3.35 #1 (Debian))
                id 18V3eN-00008I-00
                for <[EMAIL PROTECTED]>; Sat, 04 Jan 2003 23:48:43 -0600
        To: [EMAIL PROTECTED]
        Subject: second
        Message-Id: <[EMAIL PROTECTED]>
        From: will trillich <[EMAIL PROTECTED]>
        Date: Sat, 04 Jan 2003 23:48:43 -0600
        X-Spam-Status: No, hits=0.9 required=5.0 tests=FROM_AND_TO_SAME version=2.20
        X-Spam-Level: 

        two

aaugh! my spam-relevant exim.conf portions are:

        # Spam Assassin Transport
        spamcheck:
                driver = pipe
                command = /usr/sbin/exim -oMr spam-scanned -bS
                transport_filter = /usr/bin/spamc -u ${local_part}
                bsmtp = all
                home_directory = "/tmp"
                current_directory = "/tmp"
                # must use a privileged user to set $received_protocol on the way back 
in!
                user = mail
                group = mail
                return_path_add = false
                log_output = true
                return_fail_output = true
                prefix =
                suffix =

        # Spam Assassin Director
        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

where'd i go wrong?

-- 
I use Debian/GNU Linux version 3.0;
Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
 
DEBIAN NEWBIE TIP #56 from Vineet Kumar <[EMAIL PROTECTED]>
:
Troubled by DOS-FORMAT OR MAC-FORMAT TEXT FILES? Here's another
way to deal with those troublesome ^M characters: a simple
        tr -d '\015'  < dos.file  > reg.file
should do the trick.  While we're on the subject, a Mac file
can be converted with
        tr '\015' '\012'  < mac.file  > reg.file
You can do all your CR/LF translations with tr as long as you
can remember that macs use CRs, *nices use LFs, and DOS uses
CR+LF.

Also see http://newbieDoc.sourceForge.net/ ...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to