Hello I've installed managesieve on my mailhub FreeBSD from dovecot-managesieve ports to let roundcube users build email filters. The filter are well created in the right directory but the filter seems inefficient ( it does not filter ;-) ) see below the result of the dovecot -n command Thanks for any info> mail# dovecot -n > # 1.2.10: /usr/local/etc/dovecot.conf > # OS: FreeBSD 7.2-RELEASE amd64 > log_path: /var/log/dovecot/dovecot.log > info_log_path: /var/log/dovecot/info.log > protocols: imap imaps pop3 pop3s managesieve > listen(default): * > listen(imap): * > listen(pop3): * > listen(managesieve): localhost:2000 > disable_plaintext_auth: no > login_dir: /var/run/dovecot/login > login_executable(default): /usr/local/libexec/dovecot/imap-login > login_executable(imap): /usr/local/libexec/dovecot/imap-login > login_executable(pop3): /usr/local/libexec/dovecot/pop3-login > login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login > login_processes_count: 10 > login_max_processes_count: 256 > login_max_connections: 1024 > max_mail_processes: 4096 > verbose_proctitle: yes > mail_privileged_group: mail > mail_location: mbox:%h/:INBOX=/var/mail/%u > mail_executable(default): /usr/local/libexec/dovecot/imap > mail_executable(imap): /usr/local/libexec/dovecot/imap > mail_executable(pop3): /usr/local/libexec/dovecot/pop3 > mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve > mail_plugin_dir(default): /usr/local/lib/dovecot/imap > mail_plugin_dir(imap): /usr/local/lib/dovecot/imap > mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 > mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve > imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep > imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep > imap_client_workarounds(pop3): > imap_client_workarounds(managesieve): > pop3_uidl_format(default): %08Xu%08Xv > pop3_uidl_format(imap): %08Xu%08Xv > pop3_uidl_format(pop3): %08Xv%08Xu > pop3_uidl_format(managesieve): %08Xu%08Xv > managesieve_logout_format(default): bytes=%i/%o > managesieve_logout_format(imap): bytes=%i/%o > managesieve_logout_format(pop3): bytes=%i/%o > managesieve_logout_format(managesieve): bytes ( in=%i : out=%o ) > lda: > postmaster_address: postmaster at esiee.fr > auth default: > verbose: yes > worker_max_count: 50 > passdb: > driver: passwd > userdb: > driver: passwd > plugin: > sieve: ~/.dovecot.sieve > sieve_dir: ~/sieve
Frank Bonnet wrote:> Hello > > I've installed managesieve on my mailhub > FreeBSD from dovecot-managesieve ports > to let roundcube users build email filters. > > The filter are well created in the right directory > but the filter seems inefficient ( it does not filter ;-) ) > > see below the result of the dovecot -n command >Sieve scripts are executed by the Dovecot LDA, which is called deliver. So, you must actually use deliver for local delivery (your MTA must call it) and you must enable the Sieve plugin by adding 'sieve' to the mail_plugins setting in the `protocol lda' section of the config file. http://wiki.dovecot.org/LDA/Sieve/Dovecot#Basic_Configuration Regards, Stephan.