Re: [Exim] antispam with ldap

Top Page
Delete this message
Reply to this message
Author: Thomas Baumann
Date:  
To: Oliver Eikemeier
CC: exim-users@exim.org
Subject: Re: [Exim] antispam with ldap
Thanks to Oliver for the router.

But now I got following error when trying to send a mail to this server:

How to ged rid of this ?

2003-10-02 15:40:29 H=(abc) [194.55.63.119] sender verify fail for
<user@???>: Unknown recipient <user@???>
2003-10-02 15:40:29 H=(abc) [194.55.63.119] F=<user@???> rejected RCPT
user@???: Sender verify failed

It seems that also a ldapsearch for the sender is performed.
I ONLY want to ldapsearch for the recipient (i.e. my internal mailusers)

Thanks

- thomas.

*snippet of my config*

acl  check_rcpt
     require verify        = sender


begin routers

check_ldapuser:
  driver = accept
  verify_only
  no_more
  address_data = ${lookup ldap \
        {ldap://ldapsrv/ou=DE,o=tirili?dn?one?
(mail=${quote_ldap:$local_part@$domain})} {$value}fail} }
  cannot_route_message = Unknown recipient <${quote:$local_part}@$domain>




--
Thomas Baumann // tirili+list.exim@???