Re: Help! Integrated Spamd in Postfix

2006-05-24 Thread Theo Van Dinter
On Wed, May 24, 2006 at 01:05:36PM -0700, Jana Nguyen wrote:
> Running the first command test, I get:
> 
> spamassassin --lint command I get:
> 
> [2125] warn: config: failed to parse line, skipping: 
> use_razor2  0
> [2125] warn: config: failed to parse line, skipping: 
> use_dcc 0
> [2125] warn: config: failed to parse, now a plugin, skipping: 
> ok_languagesall

those three plugins are disabled by default.  I'd drop all of those config
lines since they're basically trying to disable the functionality.

-- 
Randomly Generated Tagline:
"You can't be a real country unless you have a beer and an airline - it
 helps if you have some kind of a football team, or some nuclear weapons,
 but at the very least you need a beer." - Frank Zappa


pgpopv53u3Hyk.pgp
Description: PGP signature


Re: Help! Integrated Spamd in Postfix

2006-05-24 Thread Jana Nguyen

Hello,

I'm having problem sending email using spamd in postfix to send email 
with a "spam" heading on it.


I ran some tests regarding to 
http://wiki.apache.org/spamassassin/TestingInstallation


Running the first command test, I get:

spamassassin --lint command I get:

[2125] warn: config: failed to parse line, skipping: 
use_razor2  0
[2125] warn: config: failed to parse line, skipping: 
use_dcc 0
[2125] warn: config: failed to parse, now a plugin, skipping: 
ok_languagesall


Running the second command test, I get:
# spamassassin -D < /usr/share/doc/spamassassin-3.1.1/sample-spam.txt

Received: from localhost by birn-holly.ucsd.edu
   with SpamAssassin (version 3.1.1);
   Wed, 24 May 2006 11:35:18 -0700
From: Sender <[EMAIL PROTECTED]>
To: Recipient <[EMAIL PROTECTED]>
Subject: Test spam mail (GTUBE)
Date: Wed, 23 Jul 2003 23:30:00 +0200
Message-Id: <[EMAIL PROTECTED]>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
birn-holly.ucsd.edu

X-Spam-Level: **
X-Spam-Status: Yes, score=1000.0 required=5.0 tests=GTUBE,NO_RECEIVED,
   NO_RELAYS autolearn=no version=3.1.1
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="--=_4474A766.AAFB1C9D"

This is a multi-part message in MIME format.

=_4474A766.AAFB1C9D
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Spam detection software, running on the system "birn-holly.ucsd.edu", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  This is the GTUBE, the Generic Test for Unsolicited Bulk
 Email If your spam filter supports it, the GTUBE provides a test by
 which you can verify that the filter is installed correctly and is
 detecting incoming spam. You can send yourself a test mail containing
 the following string of characters (in upper case and with no white
 spaces and line breaks): [...]

Content analysis details:   (1000.0 points, 5.0 required)

pts rule name  description
 -- 
--

-0.0 NO_RELAYS  Informational: message was not relayed via SMTP
1000 GTUBE  BODY: Generic Test for Unsolicited Bulk Email
-0.0 NO_RECEIVEDInformational: message has no Received headers



Theo Van Dinter wrote:


On Tue, May 23, 2006 at 02:20:24PM -0700, Jana Nguyen wrote:
 

How do I test if I've done the integration correctly, how do I test out 
spamassassin with postfix?
   



Take a look at http://wiki.apache.org/spamassassin/TestingInstallation