<div style="font-family: Verdana; font-size: 12;">Hi,</div><div style="font-family: Verdana; font-size: 12;"><br></div><div style="font-family: Verdana; font-size: 12;">I&#39;ve been using postfix-amavis-cyrus for years, with normal passwd+aliases mode.</div><div style="font-family: Verdana; font-size: 12;"><br></div><div style="font-family: Verdana; font-size: 12;">We recently switched to virtual domains using ldap.</div><div style="font-family: Verdana; font-size: 12;">Because we don&#39;t want to mantain a virtual mailbox map for postfix, we decided to have</div><div style="font-family: Verdana; font-size: 12;">a vmailbox file like:<br><br>@domain1 allow</div><div style="font-family: Verdana; font-size: 12;">@domain2 allow</div><div style="font-family: Verdana; font-size: 12;"><br></div><div style="font-family: Verdana; font-size: 12;">and have cyrus detect wrong destinations, via ldap.</div><div style="font-family: Verdana; font-size: 12;"><br></div><div style="font-family: Verdana; font-size: 12;">What happens here, is that any quarantined mail by amavis (having very high score, that should</div><div style="font-family: Verdana; font-size: 12;">not even be reconsidered once qurantined) get back to postfix in some way, devliered to cyrus,</div><div style="font-family: Verdana; font-size: 12;">which in many cases is a wrong invented mailbox, so back to postfix wich sends back en error.</div><div style="font-family: Verdana; font-size: 12;">This was not happening before: a quarantined mail by amavis would be just quarantined.</div><div style="font-family: Verdana; font-size: 12;">No answer back. No delivery in the spam folder.</div><div style="font-family: Verdana; font-size: 12;"><br></div><div style="font-family: Verdana; font-size: 12;">So first, my question is: why the mail is being delivered to postfix even if it&#39;s quarantined and</div><div style="font-family: Verdana; font-size: 12;">have a very high score?</div><div style="font-family: Verdana; font-size: 12;"><br></div><div style="font-family: Verdana; font-size: 12;">Last question is about configuring vmailbox to lookup ldap.</div><div style="font-family: Verdana; font-size: 12;">I&#39;ve seen many examples, but they all look for a single domain, while I have multiple domains</div><div style="font-family: Verdana; font-size: 12;">both in cyrus,ldap and postfix.</div><div style="font-family: Verdana; font-size: 12;">Exemples like this:<br><br><div>server_host = localhost</div><div>search_base = ou=Users,dc=example,dc=com</div><div>version = 3</div><div>scope = sub</div><div>query_filter = (mail=%s)</div><div>result_attribute = mail</div><div><br></div><div>are for just the example.com domain</div><div>How should I write the vmailbox ldap file to query different domains?</div><div><br></div><div>Thanks for any help</div><div>Gabriele.</div><br><br></div>