I have a mailserver with postfix and dovecot with ldap autentication, roundcube mail and plugin sieverules.
Alias of mail address is specified on ldap parameter and i would read it and insert on sieve files.
I thought I put the result of the command
Quoteldapsearch -x "(mail=%u)"|grep mailLocalAddress|awk '{print $2}'|sed 's/^/:address /g'
on the sieve file but where do I enter it on the sieverules plugin?
Or you have a better solution?
Thanks,
Fabrizio.