[Exim] Please check router for user verification

Góra strony
Delete this message
Reply to this message
Autor: Rudolf Weeber,,,
Data:  
Dla: exim-users
Temat: [Exim] Please check router for user verification
Hi,

Could someone perhaps check if this router is roerrect.

It is supposed to do the following:
* Run only when verifying a recipient
* if one of the prefixes or suffixes is present, cut it off the
$local_part
* Check if there is an ldap entry on localhost with uid=$local_part -
and if there is not, fail teh verification


verify_rcpt:
verify_recipient
driver = accept
local_part_prefix_optional =true
local_part_prefix = spam- : falsepos-
local_part_prefix_optional =true
local_part_suffix = -owner : -editor : -request : -unsubscribe : -subscribe
condition = ${if ${lookup ldap ldap:///uid=${quote_ldap:$localpart}}{false}{yes}{no}}
fail_verify

Thanks in advance,
Rudolf