Re: [Dovecot] sieve against ldap in Dovecot 1.2 vacation messeage

2012-04-22 Thread Dennis Guhl
On Fri, Apr 20, 2012 at 04:10:18PM -0430, Victor Oñate wrote:
> Hi.
> I need configure "sieve" against ldap

You can't configure sieve against LDAP.

Sieve is a filter language, which is called by the LDA and configured
by files in your home dir.

For more information about sieve (with Dovecot 1) look here:

http://wiki.dovecot.org/LDA/Sieve

and here:

http://wiki.dovecot.org/LDA/Sieve/Dovecot

[..]

> The principal idea is keep the control the message by user with LDAP
> and Dovecot(IMAP).  without touching the postfix configuration file
> is that possible, or am I dreaming.

What you want is ManageSieve:

http://wiki.dovecot.org/ManageSieve

more specifically:

http://wiki.dovecot.org/ManageSieve/Clients

Dennis


[Dovecot] sieve against ldap in Dovecot 1.2 vacation messeage

2012-04-20 Thread Victor Oñate
Hi.
I need configure "sieve" against ldap
this is my file configuration dovecot.conf

plugin {
  quota = dirsize:user
  sieve_dir = ~/sieve
}

protocol lda {
  mail_plugins = sieve
}

auth default {
  mechanisms = plain
  passdb pam {
  }
  userdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
  }
  user = nobody
}


I dont know what I have to put in dovecot-ldap.conf, ofcourse I have a
atribut in LDAP
by user with a  vacation messeage "I'm out of office, please contact Mr. Black"

this is dovecot-ldap.conf

hosts = server
auth_bind = yes

ldap_version = 3
base = dc=dominio,dc=uk
deref = never
scope = subtree


user_attrs =  
homeDirectory=home,uidNumber=uid,gidNumber=gid,mail=Maildir,mailQuotaSize=quota_rule=*:storage=%$
user_filter = (&(objectClass=posixAccount)(uid=%u))


The principal idea is keep the control the message by user with LDAP
and Dovecot(IMAP).
without touching the postfix configuration file is that possible, or
am I dreaming.

Thanks..
Victor Oñate.