Dovecot v2.1.0 released

interfasys

Verified User
Joined
Oct 31, 2003
Messages
2,099
Location
Switzerland
http://dovecot.org/releases/2.1/dovecot-2.1.0.tar.gz
http://dovecot.org/releases/2.1/dovecot-2.1.0.tar.gz.sig

It requires a small config change in userdb{}. Use override_fields instead of args.

For advanced users, with custom configs: http://wiki2.dovecot.org/Upgrading/2.1

Here is a list of the biggest changes since 2.0
Code:
	* Plugins now use UTF-8 mailbox names rather than mUTF-7:
	  acl, autocreate, expire, trash, virtual
	* auth_username_format default changed to %Lu. If you really want
	  case sensitive usernames, set it back to empty.
	* Solr full text search backend changed to use mailbox GUIDs instead of
	  mailbox names, requiring reindexing everything. solr_old backend can
	  be used with old indexes to avoid reindexing, but it doesn't support
	  some newer features.
	* Expire plugin: Only go through users listed by userdb iteration.
	  Delete dict rows for nonexistent users, unless
	  expire_keep_nonexistent_users=yes.
	* Temporary authentication failures sent to IMAP/POP3 clients
	  now includes the server's hostname and timestamp. This makes it
	  easier to find the error message from logs.
	* dsync was merged into doveadm. There is still "dsync" symlink
	  pointing to "doveadm", which you can use the old way for now.
	  The preferred ways to run dsync are "doveadm sync" (for old "dsync
	  mirror") and "doveadm backup".

	+ imapc (= IMAP client) storage allows using a remote IMAP server to
	  be used as storage. This allows using Dovecot as a smart (caching)
	  proxy or using dsync to do migration from remote IMAP server.
	+ Mailbox indexing via queuing indexer service (required for Lucene)
	+ Lucene full text search (FTS) backend rewritten with support for
	  different languages
	+ FTS finally supports "OR" search operation
	+ FTS supports indexing attachments via external programs
	+ IMAP FUZZY extension, supported by Lucene and Solr FTS backends
	+ IMAP SPECIAL-USE extension to describe mailboxes
	+ Mailbox list indexes
	+ Statistics tracking via stats service. Exported via doveadm stats.
	+ Autocreate plugin creates/subscribes mailboxes physically only when
	  the mailbox is opened for the first time. Mailbox listing shows the
	  autocreated mailboxes even if they don't physically exist.
	+ Password and user databases now support default_fields and
	  override_fields settings to specify template defaults/overrides.
	+ SCRAM-SHA-1 authentication mechanism by Florian Zeitz
	+ LDAP: Allow building passdb/userdb extra fields from multiple LDAP
	  attributes by using %{ldap:attributeName} variables in the template.
	+ Improved multi-instance support: Track automatically which instances
	  are started up and manage the list with doveadm instance commands.
	  All Dovecot commands now support -i <instance_name> parameter to
	  select the instance (instead of having to use -c <config path>).
	  See instance_name setting.
	+ auth: Implemented support for Postfix's "TCP map" sockets for
	  user existence lookups.
	- listescape plugin works perfectly now
WARNING: You will need to patch 2.1 if you're using ACL or your imap service will crash a lot.
 
Last edited:

HageHosting

Verified User
Joined
Sep 25, 2006
Messages
62
What do you mean ? I saw the update in custombuild. But what do you mean with `It requires a small config change in userdb{}. Use override_fields instead of args.`
I have to do that in the build of dovecot ?
Where can i change that in the ./build option
I want to update but i wait before i get wrong errors.
 

interfasys

Verified User
Joined
Oct 31, 2003
Messages
2,099
Location
Switzerland
If custombuild is doing its job right, it patches your dovecot.conf, otherwise, you'll see warnings in your logs. It's nothing major. Things will still work. I just don't like garbage in my logs.
 

HageHosting

Verified User
Joined
Sep 25, 2006
Messages
62
Update get this error when login to squirrelmail with roundcube no errors installed squiirelmail again stil the error.
On my CentOS servers no errors.

Get this error with one server running FreeBSD
ERROR: Bad or malformed request.
Query: SORT (ARRIVAL) ISO-8859-1 ALL
Server responded: [BADCHARSET] Unknown charset
 
Last edited:

HageHosting

Verified User
Joined
Sep 25, 2006
Messages
62
* @global bool $allow_thread_sort
*/
$allow_thread_sort = true;

/**
* Server Side Sorting Control
*
* to use server-side sorting instead of SM client side.
* Your IMAP server must support the SORT extension for this
* to work.
* @global bool $allow_server_sort
*/
$allow_server_sort = false;

/**
* IMAP Charset Use Control
*
* This option allows you to choose if SM uses charset search
* Your imap server should support SEARCH CHARSET command for
* this to work.
* @global bool $allow_charset_search
*/
Problem solved by editing the config file from squirrelmail in ./config/config.php
And changed $allow_server_sort = false;
in false
 

josem

New member
Joined
Feb 21, 2012
Messages
1
hello
sorry for my bad english i'm french

Following the upgrade of a dovecot it does not work

Code:
Feb 21 18:16:11 server1 dovecot: auth-worker(9946): shadow(***@****,127.0.0.1): unknown user
Feb 21 18:16:11 server1 dovecot: auth: passwd-file(***@****,127.0.0.1): unknown use
my dovecot.conf

Code:
#IPv4
listen = *

#IPv4 and IPv6:
#listen = *, ::

auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
auth_verbose = yes
disable_plaintext_auth = no
login_greeting = Dovecot DA ready.
mail_access_groups = mail
default_login_user = dovecot
mail_location = maildir:~/Maildir
passdb {
  driver = shadow
}
passdb {
  args = username_format=%n /etc/virtual/%d/passwd
  driver = passwd-file
}
protocols = imap pop3
service auth {
  user = root
}
service imap-login {
  process_min_avail = 16
  user = dovecot
}
service pop3-login {
  process_min_avail = 16
  user = dovecot
}
ssl_cert = </etc/httpd/conf/ssl.crt/server.crt
ssl_cipher_list = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
ssl_key = </etc/httpd/conf/ssl.key/server.key
userdb {
  driver = passwd
}
userdb {
  args = username_format=%n /etc/virtual/%d/passwd
  driver = passwd-file
}
verbose_proctitle = yes
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
please help me for correct my conf

thank in advance
 

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
888
Problem solved by editing the config file from squirrelmail in ./config/config.php
and changed $allow_server_sort = false;
I implemented this suggestion originally, and it worked fine. However, just recently, the problem returned on one, but not others I had fixed, and I needed to also change
$allow_thread_sort = false;
to fix it. (Squirrelmail 1.4.22)

It's puzzling to me this problem exists, and for such a long period of time, for such a widely used web mail client and server combination. There doesn't seem to be any pattern as to who it happens to. It happens on those with few messages as well as many. It seems to only happen on the inbox folder.
 
Last edited:
Top