<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p>My postfix installation is working correctly (delivery via dovecot, spam filtering via amavis - spamassasin).</p><p>I receive emails in <a href="http://itc.com">itc.com</a> and <a href="http://bbv.com">bbv.com</a> domains. For the emails that sent to, <a href="http://bbv.com">bbv.com</a> amavis is not adding the spam headers (which I have configured to be always added, via $sa_tag_level_defltĀ  = -20;)<br></p><div><br></div><div>I initially had the following inĀ  /etc/amavis/conf.d/05-domain_id:</div><div><br></div><div>$mydomain = "<a href="http://itc.com">itc.com</a>";<br>@local_domains_acl = ( ".$mydomain");</div><div><br></div><div>I have tried to add my second domain in two ways:<br></div><div>@local_domains_acl = ( ".$mydomain", ".<a href="http://bbv.com">bbv.com</a>" );</div><div>and <br></div><div>@local_domains_maps = ( [".$mydomain", ".<a href="http://bbv.com">bbv.com</a>"]);</div><div>(and both)</div><div><br></div><div>But the headers are not added.</div><div>Here is an example log (with log_level = 5) of an email received at <a href="mailto:info@bbv.com">info@bbv.com</a>: <br></div><div><a href="https://gist.github.com/mmalmeida/b3523d9ec2fbab5d4aac3fed28961bf1">https://gist.github.com/mmalmeida/b3523d9ec2fbab5d4aac3fed28961bf1</a></div><div><br></div><div>I can successfully see the email headers added if I change $mydomain to <a href="http://bbv.com">bbv.com</a>.</div><div><br></div><div>Can you help me understand why I am not able to have both domains with the spam headers added at the same time?</div><div><br></div><div>Thank you,</div><div><br></div><div>Miguel<br></div></div></div></div></div></div></div></div></div>