virtual users... postfix (fedora 8)

Discussion in 'HOWTO-Related Questions' started by mangueJOE, Jul 15, 2008.

  1. mangueJOE

    mangueJOE New Member

    Ok I'm working with this setup since the fedora 5 version. Also did the debian etch one, and the "full mail solution" also for debian etch. Combined lots of ideas from your tutotials and stuff. But with fedora 9 it just dont seam to work the spamassassin part.

    To make it simple, I'm running the fedora 8 setup with fedora 9 but no virtual setup, wich makes it even simplier. I did it with debian etch and its working like a charm.

    The problem seams to be amavisd-new not using spamassassin, but I cannot be sure of this. All I know are the facts

    - No X-spam header, ever! even setting $sa_tag_level_deflt = undef; or $sa_tag_level_deflt = 0.1; in /etc/amavisd/amavisd.conf and restarting everything.
    - changing this setting, works: $final_spam_destiny = D_PASS;
    - virus checking with clamav works
    - I use spamassassin directly in debug mode and the output to the screen SHOW HEADERS
    spamassassin -D < /usr/share/doc/spamassassin-3.2.5/sample-spam.txt
    [4636] dbg: check: is spam? score=1005.333 required=5
    X-Spam-Flag: YES
    X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
    X-Spam-Level: **************************************************
    X-Spam-Status: Yes, score=1005.3 required=5.0 tests=DIGEST_MULTIPLE,GTUBE,
    However , if I use the mail system, in the command line or using a graphical mail client, it appears that spamassassin is not checked and it shows no headers:
    Mail -s "test of spam message" $USER < /usr/share/doc/spamassassin-3.2.5/sample-spam.txt
    it is detected as spam in the log, I check the mail and there it is with no x-spam headers.

    Return-Path: <[email protected]>
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: from localhost (unknown [])
            by (Postfix) with ESMTP id 4FA772DB53
            for <[email protected]>; Tue, 15 Jul 2008 08:40:09 +0000 (UTC)
    Received: from ([])
            by localhost ( []) (amavisd-new, port 10024)
            with ESMTP id MGaZzlu-G2io for <[email protected]>;
            Tue, 15 Jul 2008 05:40:09 -0300 (BRT)
    Received: by (Postfix, from userid 0)
            id 299C22DB4E; Tue, 15 Jul 2008 05:40:09 -0300 (BRT)
    To: [email protected]
    Subject: test of spam message
    Message-Id: <[email protected]>
    Date: Tue, 15 Jul 2008 05:40:09 -0300 (BRT)
    From: [email protected] (root)
    Subject: Test spam mail (GTUBE)
    Message-ID: <[email protected]>
    Date: Wed, 23 Jul 2003 23:30:00 +0200
    From: Sender <[email protected]>
    To: Recipient <[email protected]>
    Precedence: junk
    MIME-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    This is the GTUBE, the
            Test for
    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):
    You should send this test mail from an account outside of your network.
    So I'd like to know if falko tested this nice howto in fedora 9. maybe having the same issue cause no fedora 9 version howto around yet? you guys know any more tests I could do? again, In debian etch, I set $sa_tag_level_deflt = undef and all messages are tagged.

Share This Page