Hi,
I have a 2 server qmail-ldap configuration, where one receives mails
from internet, does spam and virus checks and forwds the mail to second
using smtproutes whcih act as pop/imap/webmail server. The ldap server
is in second server, and is working well.
One problem with this arrangement is that I cannot do RCPTCHECK, because
none of the domains are in locals, but in rcpthosts. I would really like
to do RCPTCHECK because of spam. I tried to put one domain in locals.
When I do that qmail-smtp checks the recipient fine, but qmail-send
refuses to send the mail and terminates with the error:
LDAP attribute is not given but mandatory. (#5.3.5)
I tried to give administrator username and password to qmail to discount
any issues with permissions, but that did not work. The same ldap
database is used by second machine to deliver mails locally, so that
part is also fine. Any ldap attribute required when smtproutes is
involved? Any clues?
with warm regards,
raj