<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
<meta name="GENERATOR" content="MSHTML 9.00.8112.16457">
</head>
<body ocsi="x">
<div dir="ltr"><font color="#000000"><font size="2" face="Tahoma">Amavisd-New Version: 1:2.6.5-0ubuntu3.2</font></font></div>
<div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma">We must blacklist and whitelist sender-email-adresses and not complete domains,
</font><font size="2" face="Tahoma">additional we must use different blacklists</font></div>
<div dir="ltr"><font size="2" face="Tahoma">and whitelists based on our different recipient-domains.</font></div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma">So we have read the Documentation and have our amavis.conf extended
</font><font size="2" face="Tahoma">with the $per_recip_blacklist_lookup_tables section.</font></div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma">$per_recip_blacklist_sender_lookup_tables = {<br>
'.it-power.biz' => read_hash('/etc/amavis/conf.d/blacklist_itp')<br>
};</font></div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma">All is ok when we in the external file define email-adresses how
<a href="mailto:name@domain.com">name@domain.com</a> or .domain.com</font></div>
<div dir="ltr"><font size="2" face="tahoma">but when we define an email-address with
<a href="mailto:firstname.lastname@domain.com">firstname.lastname@domain.com</a> (in the Example</font></div>
<div dir="ltr"><font size="2" face="tahoma"><a href="mailto:guido.kuehler@steinel.at">guido.kuehler@steinel.at</a>) we receive the followed
</font><font size="2" face="tahoma">error.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma"><font color="#ff0000">Stopping amavisd: amavisd-new.<br>
Starting amavisd: Array found where operator expected at /etc/amavis/conf.d/blacklist_itp line 2, at end of line<br>
Error in config file "/etc/amavis/conf.d/blacklist_itp": syntax error at /etc/amavis/conf.d/blacklist_itp line 2, near "kuehler@steinel"<br>
(failed).</font><br>
</div>
</font>
<div dir="ltr"><font size="2" face="tahoma">So we change our entry in the external File to enclose the complete Email-Address with a ' sign or a " sign.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">Example:</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma"><a href="mailto:'guido.kuehler@steinel.at'">'guido.kuehler@steinel.at'</a> => 1,</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">Result:</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">We can now start amavis without any error and s</font><font size="2" face="tahoma">ee a successfull match from Amavis for the recipient-domain but amavis have</font></div>
<div dir="ltr"><font size="2" face="tahoma">now no match for the defined </font><font size="2" face="tahoma">sender-emailaddress when the sender-address is also 100% identical in an ckecked email.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">The Problem exist only when a dot exist in the localpart of the emailaddress and when entryies with read_hash reads from an</font></div>
<div dir="ltr"><font size="2" face="tahoma">external file.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">I hope any one can give us an tip to resolve this Problem, we have looked very very long around in different</font></div>
<div dir="ltr"><font size="2" face="tahoma">How-Tos, Documentations and have tested amyn variants but with no successfull solution.</font></div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma"></font> </div>
<div dir="ltr"><font size="2" face="Tahoma">Best Regards</font></div>
<div><font size="2" face="Tahoma">Guido Kuehler</font></div>
<div><font size="2" face="Tahoma"></font> </div>
</div>
</body>
</html>