[Dovecot] v2.2.alpha1 released
http://dovecot.org/releases/2.2/alpha/dovecot-2.2.alpha1.tar.gz http://dovecot.org/releases/2.2/alpha/dovecot-2.2.alpha1.tar.gz.sig
I wanted to start stabilizing v2.2 release some months ago already, but I somehow got stuck adding more and more features. Now it looks like all of the necessary API changes are done, so everything I'm planning on near future can still be added to v2.2 without major changes.
The redesigned dsync hasn't had much testing yet, so avoid running it with important mails. Would be nice if people started testing and reporting any bugs. I was going to create some kind of a test suite for testing all the possible syncing combinations and also doing some random stress testing, but I haven't had time for that yet.
The new dsync supports doing very fast syncs by saving the resulting
state and giving it as command line parameter to the next sync. So for
example doveadm sync -s "" > new-state saves the state and doveadm sync
-s cat new-state
continues from the saved state. The replicator code
doesn't yet support this.
* When creating home directories, the permissions are copied from the
parent directory if it has setgid-bit set. For full details, see
http://wiki2.dovecot.org/SharedMailboxes/Permissions
* "doveadm auth" command was renamed to "doveadm auth test"
* IMAP: ID command now advertises server name as Dovecot by default.
It was already trivial to guess this from command replies.
+ Implemented IMAP MOVE and BINARY extensions
+ Implemented IMAP CATENATE, URLAUTH and URLAUTH=BINARY extensions
(by Stephan Bosch).
+ Implemented IMAP NOTIFY extension. Requires mailbox_list_index=yes
to be enabled.
+ Redesigned and rewritten dsync. The new design makes the syncing
faster, more reliable and more featureful. The new dsync protocol
isn't backwards compatible with old dsync versions (but is designed
to be forwards compatible with future versions).
+ All mailbox formats now support per-user message flags for shared
mailboxes by using a private index. It can be enabled by adding
:INDEXPVT=<path> to mail location. This should be used instead of
:INDEX also for Maildir/mbox to improve performance.
+ Improved mailbox list indexes. They should be usable now, although
still disabled by default.
+ Added LAYOUT=index. The mailbox directories are created using their
GUIDs in the filesystem, while the actual GUID <-> name mapping
exists only in the index.
+ LMTP proxy: Implemented XCLIENT extension for passing remote IP
address through proxy.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 29 Oct 2012, Timo Sirainen wrote:
this syntax is now replaced by an empty string, if the attribute is missing, instead of generating a backtrace as in v2.1.
http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb?highlight=(%25{ldap)
is the only reference I found so far and the TODO file.
If the attribute does not exist, there should be a default value, you can specify, e.g.: %{ldap:attrName[,]:default value} . [,] the optional delimiter from the TODO.
Or if the attribute is missing, the rule is ignored.
Kind regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUJgMPmoxLS8a3A9mAQJzRAf8CNz8vs4JkYisO52ajT8fzYsv8cHSHeqH G9Tqnz3IM2UjxRkSHWh3XJcf8pG2tmAns7ib1nH3WUuz99I3JG6exxiOX+PhdZnF BXWQRRSUXl5xsf1qqOIqNXTtqSwzEY/ucXrZi8ZdzYPArq2cN6YDsI/qacgyS+Md c1BWxdtC3DX1d+aBYreQ8oopyhahaLYS6p366bkh5Olemjb9ofkhJfi1EoUpXko3 pU+wXovIXH5xhvlis91FUJfF6gk1zGfBBcnhym/EJVkRyNMf+smeUL1AcGvLs0FJ scCq/QU9U9t4C91aooQzdiE+p4i9I2mpprPJsC2Bb4FdnlSQbspjDQ== =Xp2l -----END PGP SIGNATURE-----
On 5.11.2012, at 20.58, Steffen Kaiser wrote:
http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb?highlight=(%25{ldap)
is the only reference I found so far and the TODO file.
If the attribute does not exist, there should be a default value, you can specify, e.g.: %{ldap:attrName[,]:default value} . [,] the optional delimiter from the TODO.
Where do you see "," as optional delimiter? But yeah, %{ldap:attrName:default} would be simple to do. Attached patch to do it. Let me know if it works.
Or if the attribute is missing, the rule is ignored.
Hmm. What if there are two attributes and one of them exists and the other one doesn't?..
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 7 Nov 2012, Timo Sirainen wrote:
http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb?highlight=(%25{ldap)
is the only reference I found so far and the TODO file.
If the attribute does not exist, there should be a default value, you can specify, e.g.: %{ldap:attrName[,]:default value} . [,] the optional delimiter from the TODO.
Where do you see "," as optional delimiter? But yeah,
The TODO file contains the snippet:
- multiple ldap values could be joined into one field with specified
separator (e.g. mail_access_groups=%{ldap:gidNumber:,})
Well, I did ignored the colon in front of the ','.
%{ldap:attrName:default} would be simple to do. Attached patch to do it. Let me know if it works.
I applied it to v2.1. It works like charm, thanks :)
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUJt5mmoxLS8a3A9mAQJpRgf+JviFB7+za6bODz2eWdWCMeSy7GocD9Zc VvmqlcRqCSgGD/37h6m6cyhJ9/XkUm+Z2dbGH5RaznIqEPcQ0GwlIcrkUzfvSSrv ByMRSFDPpu1kWYC1/ieajUrIZTUvhxctpQMtIFkm2Vi6TusgXuTWQGgbf69sIJEF COfPpCO6UYZFe96biNEE171wl+KpEeDBx8xwb4lu+tOXFNbCQEqUMe1kgF6Qda3i cfnAIb+pU+ljYMMQbpuIBpA14i9GGsQAzd39HL3aFKqGq3WU54M8xOZqDfSeUGjh ES/y4U20kbogfUZTUkbA7j3tO463RvCCvFjWh1/FvYLrouAVo2p43A== =Kkac -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 8 Nov 2012, Steffen Kaiser wrote:
%{ldap:attrName:default} would be simple to do. Attached patch to do it. Let me know if it works.
I applied it to v2.1. It works like charm, thanks :)
yes, works in v2.2 alpha 15390:af331bc452d0, too.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUJuDCWoxLS8a3A9mAQLqowf9HRhh84cjgaE1nAxZ9VwmJK+83wPVNGoQ E2wMudyTcAuzZU/hZUMNTqXZjnS6Ono/bDBhizK3QfrPQ+3KgxbBDXa76csVt+G4 /vWic3jOWMboSw76Gg6u7g+rXrsikdkzNcNh/qxonK0W0k316gI8J/YN3W2vgR0H EVkSF+qfLFEs9I4+LjvX86e3VfVCkQ8ekOJyuf5gMyweQOCAi2+04aQRRZ5vVmir 8hf4LWsmedEiDZOX8FTG1IDXDWDppcBlsQOhm3QeQqoQX0Ew2OTxLY//qspIYASW I8bWxqCWGRoScpSJGVKPlmBtjxRJmPx4FX7VGBPyWn5SDLuEbRgN9Q== =tHXu -----END PGP SIGNATURE-----
participants (2)
-
Steffen Kaiser
-
Timo Sirainen