On Tuesday 26 June 2007 14:29, Gary V wrote:
> Joshua wrote:
> >> Have you verified that spamassassin is actually being called for the
> >> mail in question?
> >
> > That's what I'm trying to do.  In reply to another e-mail, I have these
> > lines in my config file:
> >
> > $X_HEADER_TAG = 'X-Virus-Scanned';
> > $X_HEADER_LINE = "$myproduct_name $myversion_id ($myversion_date) at
> > $mydomain";
> >
> > I have looked through the config file, and I haven't found anything that
> > enables spamassassin, so I don't really know if it is being called.  I
> > guess my question is not so much about headers as how do I tell Amavis to
> > pass the message through Spamassassin, because so far I haven't found the
> > config switch to do so.
>
> Look for:
> # @bypass_virus_checks_maps = (1);  # uncomment to DISABLE anti-virus code
> # @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code
>
> If you want to use SA, make sure you do NOT bypass spam_checks. In
> other words, @bypass_spam_checks* should be commented out. The next
> question would be - are you sending mail to amavisd-new at all? What
> MTA are you using?

Virus is un-commented, bypass_spam is commented (all occurrences I could 
find).  Here are the headers added to the mail once it hits the server 
(mail.example.com, to protect the innocent :) ).

Received: from localhost (localhost [127.0.0.1])
        by mail.example.com (Postfix) with ESMTP id B554B17C06E
        for <[EMAIL PROTECTED]>; Tue, 26 Jun 2007 12:31:39 -0800 (AKDT)
Received: from mail.example.com ([127.0.0.1])
        by localhost (mail.example.com [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 20201-01 for <[EMAIL PROTECTED]>;
        Tue, 26 Jun 2007 12:31:39 -0800 (AKDT)
Received: from anotherhost.net (anotherhost.net [ip.ad.dre.ss])
        by mail.example.com (Postfix) with ESMTP id 794C417C06B
        for <[EMAIL PROTECTED]>; Tue, 26 Jun 2007 12:31:39 -0800 (AKDT)

I'm using Postfix, and amavisd-new as a content filter.  Postfix passes it to 
Amavis, and then get's it back on port 10025.

I know it's something simple, but I'm not seeing it.

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to