[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mimedefang
Subject:    [Mimedefang] Almost there -- Newbie Alert!
From:       "Cowles, Steve" <Steve () SteveCowles ! com>
Date:       2002-07-31 18:33:01
Message-ID: 90769AF04F76D41186C700A0C90AFC3EEBB9 () defiant ! infohiiway ! com
[Download RAW message or body]

OK, I have followed Micky Hill's execellent Howto and seem to have
sendmail/milter/MIMEDefang all playing together. Unfortunately, I don't seem
to be able to get SpamAssassin to run (add its header info) on an inbound
e-mail.

The reason I state that sendmail/milter/mimedfang seem to be playing
together are the following entries are generated in /var/log/maillog when I
send e-mail through my test server. Also, the e-mail header is updated.

Jul 31 16:59:15 voyager sm-mta[2350]: g6VLxEUn002350: Milter add: header:
X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang)

Now if I run spamassassin manually (in test mode), spamassassin seems to
work...

[scowles@voyager mail]$ cat /tmp/test.mail | spamassassin -t

>From root@voyager.mydomain.com  Wed Jul 31 15:58:27 2002
Return-Path: <root@voyager.mydomain.com>
Received: from voyager.mydomain.com (localhost.mydomain.com [127.0.0.1])
        by voyager.mydomain.com (8.12.5/8.12.5) with ESMTP id g6VKwRUn000609
        for <scowles@voyager.mydomain.com>; Wed, 31 Jul 2002 15:58:27 -0500
Received: (from root@localhost)
        by voyager.mydomain.com (8.12.5/8.12.5/Submit) id g6VKwRiJ000608
        for scowles; Wed, 31 Jul 2002 15:58:27 -0500
Date: Wed, 31 Jul 2002 15:58:27 -0500
From: Admin Voyager <root@mydomain.com>
Message-Id: <200207312058.g6VKwRiJ000608@voyager.mydomain.com>
To: scowles@voyager.mydomain.com
Subject: Test XXX
X-Spam-Status: No, hits=2.5 required=5.0
        tests=PORN_10,UPPERCASE_25_50
        version=2.31
X-Spam-Level: **

Test xxx


SPAM: ---- Start SpamAssassin results
SPAM: 2.5 hits, 5 required;
SPAM: *  0.6 -- BODY: Uses words and phrases which indicate porn (10)
SPAM: *  1.9 -- BODY: message body is 25-50% uppercase
SPAM:
SPAM: ---- End of SpamAssassin results

BTW: For now, I'm using the mimedefang-filter.example. It's located in
/etc/mail as mimedefang-example.

Questions:

1) Does Mimedefang spawn spamassassin -or- is it the other way around? I'm
confused on this issue.

2) Is there a way to debug MIMEDefang? Kinda like "set -x" in a shell
script. It would be nice if I could trace what MIMEDefang is doing until I
get more familiar with its structure.

3) Are there any mimedefang logfiles?

4) Does the mimedefang example filter support spamassassin. Based on looking
at this file, it looks like there is at least a "sub" for spamassassin.

Sorry for the newbie questions, but I feel like I'm so close to having all
this stuff playing together. 

Thanks for any input you can shed on this.

BTW: I'm running the latest versions of MIMEDefang (2.16), Spamassassin
(2.31) and sendmail (8.12.5) on a RH7.3 system.

Steve Cowles

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic