Control Web Panel
WebPanel => E-Mail => Topic started by: Luca2186 on March 30, 2016, 09:35:58 AM
-
Hi,
I have one occount with multiple domains.
Each domain have multiple mailboxes.
I have recently rebuilt postfix with spamassassin and it works only for one of my domain (and all its mailboxes).
I don't have any spamassassin header in the incoming mail of other domains (but I have amavis header on all domains).
Why this happen? Is there any configuration file that I can check?
Thanks
-
I reply to myself:
there is a bug in amavis configuration in etc/amavisd.conf.
On line 50 there is
@local_domains_maps = ( [".$mydomain"] );
the var $mydomain is initialized at line 20 and it is equal to domain name specified in cwp postfix build options.
I have manually pushed all my domain in the array in this way:
@local_domains_maps = ( [".mydomain1.it",".mydomain2.it",".mydomain3.it", ".myotherdomainetc.it"] );
now spamassassin works on all my domains.
My question now is if there is any way to specify all domains in the array without manually write them.
I have tryed with "*" but it doesn't work.
-
Yes, use "@local_domains_maps = ['.'];"
-
Yes, use "@local_domains_maps = ['.'];"
This means all domains? This should be the default then...