You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Claudia Burman <cb...@elbolson.com> on 2006/11/14 13:46:50 UTC

spamassassin not testing mails to virtual domains

Hello all,
I am using spamassassin through amavisd-new in postfix. I have many 
domains, defined in this way in postfix's main.cf:

mydestination = $myhostname, localhost.$mydomain, localhost, $transport_maps
transport_maps=hash:/etc/postfix/transport.db

and one domain defined as mydomain

mydomain=mydomain.com

The problem is that spamassassin is not testing mails sent to domains 
other than "mydomain.com". I think it's a spamassassin issue because 
those mails are scanned by the antivirus.

I can't find anything in the spamassassin section of the amavis 
configuration file.

Please help me. Thanks.

Claudia Burman
El Bolson, Patagonia Argentina


Re: spamassassin not testing mails to virtual domains

Posted by Micke Andersson <mi...@swemic.net>.
Hi,

you have to configure your /etc/amavisd.conf file as well for all those 
virtual domains!

@local_domains_maps = ( [".$mydomain"],
                        qw(     virt-dom1, virt-dom2,
                                  virt-dom3, virt-dom4
                      ) );

I am pretty sure that your virtual domains really are checked even now, 
but that the header is not changed though!

/Mike

Claudia Burman wrote:
> Hello all,
> I am using spamassassin through amavisd-new in postfix. I have many 
> domains, defined in this way in postfix's main.cf:
>
> mydestination = $myhostname, localhost.$mydomain, localhost, 
> $transport_maps
> transport_maps=hash:/etc/postfix/transport.db
>
> and one domain defined as mydomain
>
> mydomain=mydomain.com
>
> The problem is that spamassassin is not testing mails sent to domains 
> other than "mydomain.com". I think it's a spamassassin issue because 
> those mails are scanned by the antivirus.
>
> I can't find anything in the spamassassin section of the amavis 
> configuration file.
>
> Please help me. Thanks.
>
> Claudia Burman
> El Bolson, Patagonia Argentina