amavis and spamassassin

treicher

Registered
I have a strange problem with mail and spam detection.
in my amavis.log I see that a mail came in and it was identified as spam. I configured the junk mail filter to deliver junk mal but rewrite the subject with *** JUNK MAIL ***

when I now look at the mail in my inbox I don't see any SPAM tags in the header nor it the subject rewritten.

any suggestions?

amavis.log
May 16 09:37:42 eric.treicher.com /usr/bin/amavisd[27350]: (27350-04) Passed SPAM, <hstsytanen@hotmail.com> -> <xxx>, Hits: 9.355, tag=-999, tag2=5, kill=22, 0/Y/Y/0
May 16 09:37:42 eric.treicher.com /usr/bin/amavisd[27350]: (27350-04) sending SMTP response: "250 2.6.0 Ok, id=27350-04, from MTA: 250 Ok: queued as 28354289960"
May 16 09:37:42 eric.treicher.com /usr/bin/amavisd[27350]: (27350-04) strip_tempdir: /var/amavis/amavis-20050516T085902-27350


inbox mail headers
From: hstsytanen@hotmail.com
Subject:
Date: May 16, 2005 10:29:25 AM CDT
To: [xxx]
Return-Path: <hstsytanen@hotmail.com>
Received: from murder ([unix socket]) by treicher.com (Cyrus v2.2.12-OS X 10.4.0) with LMTPA; Mon, 16 May 2005 09:37:42 -0500
Received: from localhost (localhost [127.0.0.1]) by treicher.com (Postfix) with ESMTP id 28354289960; Mon, 16 May 2005 09:37:42 -0500 (CDT)
Received: from treicher.com ([127.0.0.1]) by localhost (eric.treicher.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27350-04; Mon, 16 May 2005 09:37:38 -0500 (CDT)
Received: from 66.101.59.25 (unknown [220.126.90.107]) by treicher.com (Postfix) with SMTP id 01C3F289959; Mon, 16 May 2005 09:37:36 -0500 (CDT)
Received: from seb575 by ilinx with local (Exim 3.33 #1 (Debian)) id 1721fF-000820-00; Mon, 16 May 2005 17:35:25 +0200
X-Sieve: CMU Sieve 2.2
Message-Id: <E1771fF-000035-09@ilinx>
 
I've worked out my problem. SpamAssassin is invoked by amavis. Because there is not point in scanning outgoing e-mail for SPAM, amavis only invokes SpamAssassin for a fixed list of domains. Tiger configures amavis to only scan your primary domain, not any others that you list in Local Host Aliases while configuring Tiger. To get amavis to scan mail for other domains, add the domains /etc/amavisd.conf:
@local_domains_acl = ( ".$mydomain", 'extradomain.com', 'another.com');
 
I just stumbled on this thread. I have $mydomain set to a fake domain "home.net". And, no, I never see a marked up subject on incoming spam. Are you saying that the following will solve the problem?
@local_domains_acl = ( ".$mydomain", 'myrealdomain.com' )
Because I just tried it and don't see any difference.
 
Back
Top