On Tuesday 26 June 2007 18:13, Gary V wrote:
> You won't see X-Virus-Scanned unless you are doing virus scans, but
> that is another matter.

OK

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

Those are set.

> and spam checks are not bypassed, it should work.

That's what I'd think...I have no idea what I'm missing.  It seems like there 
would be some config option to say "Pass all message through SA."  Or is that 
he implicit default, unless disabled?

> Is there another 
> server downstream removing X-Spam headers?

No, the messages are arriving on the server and delivered locally.

> 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]'] );

I put this line in the conf file:

@debug_sender_maps = ( ['[EMAIL PROTECTED]']);

restarted amavis, and sent my user on that system an e-mail.

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

amavis[31807]: (31807-01) Passed CLEAN, [216.115.115.245] [216.115.115.226] 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: 
<[EMAIL PROTECTED]>, mail_id: 3gBKzLCipUuC, Hits: -, 
212 ms

So the debug sender maps weren't taking effect.

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

Returns nothing.

There is a file in /etc/amavis/conf.d that has the following confusing 
language:

# You can modify this file to re-enable SPAM checking through spamassassin
# and to re-enable antivirus checking.
.
.
.
#
# Default SPAM checking mode
# Uncomment the two lines below to enable it back
#

@bypass_spam_checks_maps = (
   \%bypass_spam_checks, [EMAIL PROTECTED], \$bypass_spam_checks_re);

Those two lines were commented out.  So I uncommented them.  Still no change 
in behavior.  My config file doesn't have %bypass_spam_checks, 
@bypass_spam_checks_acl, or $bypass_spam_checks_re.  I guess that means 
they're undefined, and thus not affecting anything?

I'm sorry for all this hassle...I really don't see what I have configured 
incorrectly.  Do you want me to post my entire Amavis config?  I can't see 
why this would be so difficult. :)  Should I just connect Spamd directly with 
Postfix and take out Amavis completely?

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