Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have setup Amavis, SpamAssassin, and Postfix on a Debian Wheezy box for use as a mail filter gateway. I am in the process of testing it, and have pointed the MX record for a domain old domain we do not use ("domainA.com") for much to it, and I have confirmed mail for that domain is going through it. The domain of the mail filter gateway itself is different from the one I am using to test ("domainB.com"). I am not using MySQL on this gateway.

What I have found is that unless I have the the following, the the SpamAssassin headers do not get added:

@local_domains_acl = ( "." );

If I leave the it as the default:

@local_domains_acl = ( ".$mydomain" );

or even add my test domain to it:

@local_domains_acl = ( ".$mydomain","domainA.com" );

the headers never get added (even though in all cases, when I watch the mail.log and test with GTUBE, I see it get marked as "SPAMMY")

I know the one I am using indicated "all domains", but why will it not work when I specify the domains explicitly?

I suppose I don't have an issue with having my @local_domains_acl() as it currently is, if it works, but I just want to make sure there is nothing detrimental in leaving it so? I also wouldn't mind knowing why it only works that way.

Any thoughts or suggestions greatly appreciated. Thanks! :-)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.