Re: [Dovecot] Unable to get Managesieve working

2012-10-31 Thread Cliff Dunn
I didn't follow those instructions as I assumed that it would be 
installed with Dovecot from the Debian repositories.  See output of 
commands below.  And thanks again for the help!


# find /usr/lib/dovecot | grep sieve
/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so
/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la
/usr/lib/dovecot/managesieve
/usr/lib/dovecot/managesieve-login

# apt-cache policy dovecot-sieve
N: Unable to locate package dovecot-sieve

# dpkg -l dovecot*
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version  
Description

+++---
un  dovecot  none   (no 
description available)
ii  dovecot-common   1:1.2.15-7   secure 
mail server that supports mbox and maildir mailboxes
ii  dovecot-imapd1:1.2.15-7   secure 
IMAP server that supports mbox and maildir mailboxes


On 2012-10-30 20:45, Daniel Parthey wrote:

Cliff Dunn wrote:

In order to actually sort mails into folders, you need to add
the sieve plugin to your mail_plugins list.

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

protocol lda {
  mail_plugins = sieve
}
Ok, so when I add the mail_plugins = sieve I get:
sudo service dovecot restart
Restarting IMAP/POP3 mail server: dovecotFPlugin sieve not found
from directory /usr/lib/dovecot/modules/imap
Error: imap dump-capability process returned 89
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
 failed

I am assuming something is missing here?


I guess you are missing the sieve plugin completely,
did you install the dovecot-sieve plugin?
Where did you get sieve from and how did you install it?

Did you follow all the compile instructions at
http://wiki.dovecot.org/LDA/Sieve/Dovecot or
did you install some package?

What do the following commands say?

# find /usr/lib/dovecot | grep sieve
# apt-cache policy dovecot-sieve
# dpkg -l dovecot*

Regards
Daniel


Re: [Dovecot] Unable to get Managesieve working

2012-10-31 Thread Stephan Bosch

Op 10/31/2012 1:17 AM, Cliff Dunn schreef:

Ok, so when I add the mail_plugins = sieve I get:
sudo service dovecot restart
Restarting IMAP/POP3 mail server: dovecotFPlugin sieve not found from 
directory /usr/lib/dovecot/modules/imap

Error: imap dump-capability process returned 89
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
 failed

I am assuming something is missing here?


You should only put the mail_plugins=sieve inside de protocol lda {} 
section. Adding the Sieve plugin to IMAP makes no sense.


Regards,

Stephan.


[Dovecot] Unable to get Managesieve working

2012-10-30 Thread Cliff Dunn
I have Roundcube webmail (v. 0.8.2) running with the managesieve plugin 
(v. 5.1).  I am able to create sieve rules without any problems in 
Roundcube, but incoming mail is not being processed with the rule I 
specify.  I suspect there is something that isn't configured correctly 
in dovecot, but unfortunately I am unable to find a resolution online 
and my very limited knowledge of dovecot isn't allowing me to solve this 
problem on my own.  I am including my dovecot config below.  Please keep 
my knowledge level in mind when suggesting options and let me know if 
there is any other information I can provide to help troubleshoot the 
problem.  Thanks for any assistance!


# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.6
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps managesieve
ssl_cert_file: /etc/ssl/certs/postfix.pem
ssl_key_file: /etc/ssl/private/postfix.key
ssl_cipher_list: ALL:!LOW:!SSLv2
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: mail
mail_location: maildir:~/mail:LAYOUT=fs:INBOX=~/mail/
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
auth default:
  mechanisms: plain login
  passdb:
driver: pam
  passdb:
driver: pam
  userdb:
driver: passwd
  userdb:
driver: passwd
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth
  mode: 432
  user: postfix
  group: postfix
plugin:
  sieve: ~/.dovecot.sieve
  sieve_dir: ~/mail/sieve



Re: [Dovecot] Unable to get Managesieve working

2012-10-30 Thread Daniel Parthey
Hi Cliff,

Cliff Dunn wrote:
 I have Roundcube webmail (v. 0.8.2) running with the managesieve
 plugin (v. 5.1).  I am able to create sieve rules without any
 problems in Roundcube, but incoming mail is not being processed with
 the rule I specify.

managesieve is the service for managing your sieve rules,
it does not process any emails.

In order to actually sort mails into folders, you need to add
the sieve plugin to your mail_plugins list.

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

protocol lda {
..
  # Support for dynamically loadable plugins. mail_plugins is a space separated
  # list of plugins to load.
  mail_plugins = sieve # ... other plugins like quota
}

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820


Re: [Dovecot] Unable to get Managesieve working

2012-10-30 Thread Cliff Dunn

Ok, so when I add the mail_plugins = sieve I get:
sudo service dovecot restart
Restarting IMAP/POP3 mail server: dovecotFPlugin sieve not found from 
directory /usr/lib/dovecot/modules/imap

Error: imap dump-capability process returned 89
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
 failed

I am assuming something is missing here?

On 2012-10-30 19:37, Daniel Parthey wrote:

Hi Cliff,

Cliff Dunn wrote:

I have Roundcube webmail (v. 0.8.2) running with the managesieve
plugin (v. 5.1).  I am able to create sieve rules without any
problems in Roundcube, but incoming mail is not being processed with
the rule I specify.


managesieve is the service for managing your sieve rules,
it does not process any emails.

In order to actually sort mails into folders, you need to add
the sieve plugin to your mail_plugins list.

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

protocol lda {
..
  # Support for dynamically loadable plugins. mail_plugins is a space 
separated

  # list of plugins to load.
  mail_plugins = sieve # ... other plugins like quota
}

Regards
Daniel


Re: [Dovecot] Unable to get Managesieve working

2012-10-30 Thread Daniel Parthey
Cliff Dunn wrote:
 In order to actually sort mails into folders, you need to add
 the sieve plugin to your mail_plugins list.
 
 http://wiki.dovecot.org/LDA/Sieve/Dovecot
 
 protocol lda {
   mail_plugins = sieve
 }
 Ok, so when I add the mail_plugins = sieve I get:
 sudo service dovecot restart
 Restarting IMAP/POP3 mail server: dovecotFPlugin sieve not found
 from directory /usr/lib/dovecot/modules/imap
 Error: imap dump-capability process returned 89
 Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
  failed
 
 I am assuming something is missing here?

I guess you are missing the sieve plugin completely,
did you install the dovecot-sieve plugin?
Where did you get sieve from and how did you install it?

Did you follow all the compile instructions at
http://wiki.dovecot.org/LDA/Sieve/Dovecot or
did you install some package?

What do the following commands say?

# find /usr/lib/dovecot | grep sieve
# apt-cache policy dovecot-sieve
# dpkg -l dovecot*

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820