hello,

I have a machine that acts as a gateway and filters spam and virus for our domain. I use smtproutes to forward the messages to an internal mail server that is not qmail.

I put the domians to forward in rcpthosts and it works fine. Now I want to filter out emails to non-existing users.

We have an internal open-LDAP server and I have added the qmail-ldap schema, now I want the gateway to use the RCPTCHECK functionality by checking the ldap db on the internal ldap server. The problem is that per the INSTALL file, the RCPTCHECK only applies to domains listed in locals and recipient domains in ~control/ rcpthosts are allowed without checks.

Is it posible to do an ldap recipient check for an "external" domain (non-local account), or is there another way to solve the problem?

Reply via email to