See response below; Toni Cosma wrote:
>      Hi list,
>
>  What is logged to /var/log/qmail/spamd/current ? Only when a message is
> marked as spam ?
>  My spam log looks like below:
>  tail -f /var/log/qmail/spamd/current
>    @400000004a9ab0dd04178dd4 [2244] info: spamd: server killed by SIGTERM,
> shutting down
>    @400000004a9ab14b3391d5ec [2178] error: Can't locate
> Mail/DomainKeys/Message.pm in @INC (@INC contains:

I am no expert, but the above two lines do not look right.  Is spamd
running?  Try this:
ps aux | egrep "spamd | spamd"

<snip>

>   It is true that I have not receive spam but how can I test that
> spamassassin is working?

Send an email that has a known spam phrase in it.  Or create your own rule
and send one with that phrase in it.

Create the following file /etc/mail/spamassassin/test.cf :

body            MYSATEST   /This is a test for SpamAssassin Phrase/
score           MYSATEST   0.1
describe        MYSATEST   My test for SpamAssassin

Then send an email with "This is a test for SpamAssassin Phrase" in it.



Or see http://wiki.apache.org/spamassassin/TestingInstallation


>  Should not have my email headers contain spamassasin and clamav version ?
>  My headers looks like below:[I have send a email from yahoo to my domain]
>

Yes they should and no they don't.

Check your /etc/tcprules.d/tcp.smtp file.  How about cat-ing it for us.

>   Content-Filter: maildrop-toaster
>    Return-Path:
>    Delivered-To: example.com-off...@example.com
>    Received: (qmail 2068 invoked by uid 89); 2 Sep 2009 12:35:45 -0000
>    Received: from unknown (HELO web46006.mail.sp1.yahoo.com)
> (68.180.199.99)
>      by mail.example.com with SMTP; 2 Sep 2009 12:35:45 -0000
>    Received-SPF: none (mail.example.com: domain at yahoo.com does not
> designate permitted sender hosts)
>    Received: (qmail 13304 invoked by uid 60001); 2 Sep 2009 12:35:43 -0000
>    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com;
> s=s1024; t=1251894943; bh=3rzAkLPvKX2V5qSp3RoZ2+xxLIz1JxX2yhiR2SkW9/c=;
> h=Message-ID:X-YMail-OSG:Received:X-Ma
>    iler:Date:From:Subject:To:MIME-Version:Content-Type;
> b=12u0rvqM1EPrSMdD3MQucyY0HnT7Z7MVPlYwtoGAv5HD9N1y5bYTaAeZex6QkfCuqVr50g8eFsosC3YKdHoJBVVz+pfXxE84FnYPWUTfveywWtGU+jjP3wjppN
>    H2rYHyGBdf+EvTaRi78CwjGqYcbSSYir+xUuRiSQDP8VZs6Vk=
>    DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws;
>      s=s1024; d=yahoo.com;
>      
> h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type;
>      
> b=f4O3FqwrPgXxTx1gth0NENFmZ9+1cHJU+wzidWnNT8xnYpq67+QX7+EHwG14Ofed7yiq6qx9pZrVbaEiSHVa8BhDLoyXGJEBvtVTYB6dcwjcwekZWxGiRfJmOKCZiBJmu4LcrTF0a1CLwtkY36ADnb4w4eCJ7R3nO6RDXGIlVOA=;
>    Message-ID:
>    X-YMail-OSG:
> rYmjyeoVM1nnV1gdkTS7dfKsCxCnASrc.ga6K7f0T9ahmzpVyP_OmtYrJZTc.XSuKJHdYBu2P99b7jRMAE21_OCU1TpLw6Y.IkomD7aJj5bavsKsaB6h1HDLiu_fswQWJ.H02ek3s2E3_3ibZFw9jnPex03Pw5ryumSF
>    lN098DO41aOQPdUJYB40dao9mtbuiYNX0HZKF.torKSZY7MoSh1cxw--
>    Received: from [82.79.76.6] by web46006.mail.sp1.yahoo.com via HTTP;
> Wed, 02 Sep 2009 05:35:43 PDT
>    X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2
>    Date: Wed, 2 Sep 2009 05:35:43 -0700 (PDT)
>    From: Toni Cosma
>    Subject: TEST
>    To:   off...@example.com
>
>                               ;
>    MIME-Version: 1.0
>    Content-Type: multipart/alternative;
> boundary="0-11240-1251894943=:12192"
>                                                                               
>                                                                               
>      &n
> bsp;
>    --0-11240-1251894943=:12192
>    Content-Type: text/plain; charset=us-ascii
>                                                                               
>                                                                               
>      &n
> bsp;
>    TEST
>
>
>      
> ---------------------------------------------------------------------------------
> Qmailtoaster is sponsored by Vickers Consulting Group
> (www.vickersconsulting.com)     Vickers Consulting Group offers
> Qmailtoaster support and installations.       If you need
> professional help with your setup, contact them today!
> ---------------------------------------------------------------------------------
>      Please visit qmailtoaster.com for the latest news, updates, and
> packages.             To unsubscribe, e-mail:
> qmailtoaster-list-unsubscr...@qmailtoaster.com      For additional
> commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Kent Busbee
Director of Technology
Northlake Christian School


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to