Poll

where i insert ldapsearch on plugin?

ON PHP
0 (0%)
ON MIPHP
0 (0%)

Total Members Voted: 0

Author Topic: managesieve and alias  (Read 3086 times)

Offline Fabrizio

  • Newbie
  • *
  • Posts: 3
managesieve and alias
« on: August 02, 2013, 11:44:16 AM »
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

Quote
ldapsearch -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.