[Dovecot] managesieve error with dovecot

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Dec 12 12:48:38 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 12 Dec 2013, saurabh wrote:

What's in /etc/dovecot/dovecot-ldap.conf.ext ?
The erroreous  Debug: Unknown userdb setting: plugin//mail/%d/%n/=/home/test
seems to come from there.

> I am posting below the output of doveconf -n
>
>
> ############### Output of doveconf -n ######################
>
>
> # 2.0.9: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-358.el6.x86_64 x86_64 CentOS release 6.5 (Final) ext4
> base_dir = /var/run/dovecot/
> disable_plaintext_auth = no
> login_greeting = ready
> login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
> mail_debug = yes
> mail_location = maildir:/mail/%d/%n/Maildir
> mail_plugins = " quota"
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character 
> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags 
> copy include variables body enotify environment mailbox date
> mbox_write_locks = fcntl
> namespace {
>  inbox = yes
>  location = maildir:/mail/%d/%n/Maildir
>  prefix =
>  separator = /
>  type = private
> }
> passdb {
>  args = /etc/dovecot/dovecot-ldap.conf.ext
>  driver = ldap
> }
> plugin {
>  sieve = ~/.dovecot.sieve
>  sieve_dir = ~/sieve
>  sieve_global_dir = /var/lib/dovecot/sieve/global/
>  sieve_global_path = /var/lib/dovecot/sieve/default.sieve
> }
> protocols = imap lmtp sieve
> service auth {
>  unix_listener auth-client {
>    mode = 0666
>    user = dovecot
>  }
>  unix_listener auth-master {
>    group = mail
>    mode = 0664
>    user = mail
>  }
>  user = root
> }
> service lmtp {
>  inet_listener lmtp {
>    address = 210.7.64.62 127.0.0.1 ::1
>    port = 24
>  }
>  unix_listener lmtp {
>    mode = 0666
>  }
> }
> service managesieve-login {
>  inet_listener sieve {
>    port = 4190
>  }
>  process_min_avail = 1
>  service_count = 1
>  vsz_limit = 64 M
> }
> service managesieve {
>  process_limit = 10
> }
> ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
> ssl_key = </etc/pki/dovecot/private/dovecot.pem
> userdb {
>  driver = prefetch
> }
> userdb {
>  args = /etc/dovecot/dovecot-ldap.conf.ext
>  driver = ldap
> }
> protocol imap {
>  mail_plugins = " quota imap_quota"
> }
> protocol sieve {
>  info_log_path = /var/log/dovecot-sieve.log
>  log_path = /var/log/dovecot-sieve-errors.log
>  managesieve_implementation_string = dovecot
>  managesieve_max_line_length = 65536
> }
> protocol lda {
>  auth_socket_path = /var/run/dovecot/auth-master
>  hostname = 210.7.64.62
>  info_log_path = /var/log/dovecot-lda.log
>  log_path = /var/log/dovecot-lda-errors.log
>  mail_plugins = " quota sieve"
>  postmaster_address = test at ayurve.com
> }
> protocol lmtp {
>  info_log_path = /var/log/dovecot-lmtp.log
>  log_path = /var/log/dovecot-lmtp-errors.log
>  mail_plugins = " quota sieve"
> }
>
>
> Please suggest what changes shall I make in-order to get it working.
>
>
> Thanks,
> Saurabh.
>
> On Wednesday 11 December 2013 10:41 PM, Steffen Kaiser wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> On Wed, 11 Dec 2013, saurabh wrote:
>> 
>>> I am using Dovecot version 2.0.9 on Centos 6.4. I have installed
>> 
>> I'm not sure, if that version had old bugs, but
>> 
>>> dovecot-pegionhole version 2.0.9 and Roundcube version 0.9.5 . After doing 
>>> all the configurations. I am able to see the filters icon in roundcube 
>>> setting. But whem I click it I get the error "could not connect to server" 
>>> please help.
>>> 
>>> 
>>> Below are the error logs.
>>> 
>>> 
>>> ########### log from  /var/log/maillog  ##########
>>> 
>>> Dec 11 21:41:06 eximtest dovecot: managesieve: Debug: Unknown userdb 
>>> setting: plugin//mail/%d/%n/=/home/test
>> 
>> this looks terrible wrong.
>> 
>>> Dec 11 21:41:06 eximtest dovecot: managesieve(test at ayurve.co.uk): Debug: 
>>> Effective uid=6006, gid=6000, home=
>> 
>> There is no home dir for the user.
>> 
>>> Dec 11 21:41:06 eximtest dovecot: managesieve(test at ayurve.co.uk): Debug: 
>>> sieve-storage: using active sieve script path: (null)
>> 
>> sieve needs a home dir.
>> 
>> Post doveconf -n, or find the bug in it yourself. Maybe it's caused by 1st 
>> error.
>> 
>> - -- Steffen Kaiser
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> 
>> iQEVAwUBUqic1F3r2wJMiz2NAQLGFAf/Xh2bN6FH+9nyvUewENwFCYA8vGZxhUnQ
>> oH0aUWegow/X9aq+D5Q5/hKjt7OdELnnyf8qe9kED77nvAv8xvcPu19umUwpRj/g
>> jWdH0yl8SZH1kS7tEOhHNP8FDbTb8g2n+cB0HbKGyCPW2piUY0HcfNTLdrYjLU6Q
>> onnVqtmj4CDiAdRo9taB1BTmoSbadk3XRv9k8O8qdjLCF/UT0Ghq/dEua2iKARfR
>> LdT+pmGEIiVij0rkWpbXj+sIR5do2aoaS/W0KX5qhbxJzR64IsPem7AMsRlztnQA
>> eZEH9GR2u601ax7m5FWMwLw5fjLxyO+HfNx2XOvFURP8sRa6TqY1jw==
>> =XGTy
>> -----END PGP SIGNATURE-----
>
>

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUqmUhl3r2wJMiz2NAQJSEwf+LYMQj7Uq+DclZ1wbzE5NxcelA+444HEM
YCXC2xCSSOYNMeDO9p/nyDjP+T9uDSiNyEssTcTbG+PcC3lnWT6bfhoc08qF2kpi
HzaU8SjD7ZynmBlzQF4Z1oAXp51S+wv6Cw4G40BwMHiQ7k/Y5i8DyzCG58b1xkvR
rcBLbLFEDAMQX5munFkXogNECa+RorxOShUIyaOg1oFz7GRyzl1LDvyS9Mt7u2lN
x2NYu0s/KErOJZCmooC1iOm8Cwlo7YXKPH3kM36/CTwEf64McHQ+Vl+Y4m7AT5a0
lX79Og4yReYafCd6ypCB2vw8dc7mAqxkk4Ju35x848Cb7X/u7P7LGA==
=HVQU
-----END PGP SIGNATURE-----


More information about the dovecot mailing list