Auteur: Marc Sherman Date: À: exim-users Sujet: Re: [exim] Problems with sieve filters and LDAP virtual users
Javier Calahorra Novillo wrote: >
> userforward:
> driver = redirect
> allow_filter
> condition = ${if eq {}{${lookup ldap {ldap://192.168.45.27/ou=usuarios,dc=xxxx,dc=es?mailMessageStore?sub?(&(mail=${local_part}@${domain})(objectclass=person))}}}{no}{yes}}
> user = vmail
> group = vmail
> require_files = $home/.forward
> file = $home/.forward
> no_verify
> directory_transport = ldap_delivery
>
> Going over Exim logs only shows us that all messages continue being
> processed by the ldapuser router, and never by userforward ¿Has
> anyone been able to make this kind of filters run with LDAP virtual
> users? ¿Any ideas about what we are doing wrong?
You need to locate those .forward files properly for your virtual users.
You can't use $home, because that's only valid for local accounts, with
check_local_user.