Joshua wrote:

> 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

You won't see X-Virus-Scanned unless you are doing virus scans, but
that is another matter.

With $sa_tag_level_deflt  = -999; and
@local_domains_maps = ( [ ".example.com" ] );

and spam checks are not bypassed, it should work. Is there another
server downstream removing X-Spam headers? At this point you probably
are going to have to raise $log_level to 5 long enough for a message
to go through. Alternately, you can send yourself a message with your
sender address in @debug_sender_maps:

# If sender matches ACL, turn debugging fully up, just for this one message
@debug_sender_maps = ( ['[EMAIL PROTECTED]'] );

In your log look for something like:

Jun 26 20:07:19 sfa amavis[4225]: (04225-01) headers CLUSTERING: NEW CLUSTER 
<[EMAIL PROTECTED]>:
 score=-0.155, tag=1, tag2=0, local=1, bl=, s=, mangle=

I then get:
... header: X-Virus-Scanned: Debian amavisd-new at example.com\n
... header: X-Spam-Flag: NO\n
... header: X-Spam-Score: -0.155\n
... header: X-Spam-Level: \n
... header: X-Spam-Status: No, score=-0.155 required=8 
tests=[ALL_TRUSTED=-1.44,\n\tMISSING_SUBJECT=1.285]\n

(I mess with ALL_TRUSTED when testing)

maybe something like this to narrow it down:
grep header /var/log/maillog

Gary V


-------------------------------------------------------------------------
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