head 1.33; access; symbols pkgsrc-2019Q4:1.32.0.42 pkgsrc-2019Q4-base:1.32 pkgsrc-2019Q3:1.32.0.38 pkgsrc-2019Q3-base:1.32 pkgsrc-2019Q2:1.32.0.36 pkgsrc-2019Q2-base:1.32 pkgsrc-2019Q1:1.32.0.34 pkgsrc-2019Q1-base:1.32 pkgsrc-2018Q4:1.32.0.32 pkgsrc-2018Q4-base:1.32 pkgsrc-2018Q3:1.32.0.30 pkgsrc-2018Q3-base:1.32 pkgsrc-2018Q2:1.32.0.28 pkgsrc-2018Q2-base:1.32 pkgsrc-2018Q1:1.32.0.26 pkgsrc-2018Q1-base:1.32 pkgsrc-2017Q4:1.32.0.24 pkgsrc-2017Q4-base:1.32 pkgsrc-2017Q3:1.32.0.22 pkgsrc-2017Q3-base:1.32 pkgsrc-2017Q2:1.32.0.18 pkgsrc-2017Q2-base:1.32 pkgsrc-2017Q1:1.32.0.16 pkgsrc-2017Q1-base:1.32 pkgsrc-2016Q4:1.32.0.14 pkgsrc-2016Q4-base:1.32 pkgsrc-2016Q3:1.32.0.12 pkgsrc-2016Q3-base:1.32 pkgsrc-2016Q2:1.32.0.10 pkgsrc-2016Q2-base:1.32 pkgsrc-2016Q1:1.32.0.8 pkgsrc-2016Q1-base:1.32 pkgsrc-2015Q4:1.32.0.6 pkgsrc-2015Q4-base:1.32 pkgsrc-2015Q3:1.32.0.4 pkgsrc-2015Q3-base:1.32 pkgsrc-2015Q2:1.32.0.2 pkgsrc-2015Q2-base:1.32 pkgsrc-2015Q1:1.31.0.2 pkgsrc-2015Q1-base:1.31 pkgsrc-2014Q4:1.29.0.42 pkgsrc-2014Q4-base:1.29 pkgsrc-2014Q3:1.29.0.40 pkgsrc-2014Q3-base:1.29 pkgsrc-2014Q2:1.29.0.38 pkgsrc-2014Q2-base:1.29 pkgsrc-2014Q1:1.29.0.36 pkgsrc-2014Q1-base:1.29 pkgsrc-2013Q4:1.29.0.34 pkgsrc-2013Q4-base:1.29 pkgsrc-2013Q3:1.29.0.32 pkgsrc-2013Q3-base:1.29 pkgsrc-2013Q2:1.29.0.30 pkgsrc-2013Q2-base:1.29 pkgsrc-2013Q1:1.29.0.28 pkgsrc-2013Q1-base:1.29 pkgsrc-2012Q4:1.29.0.26 pkgsrc-2012Q4-base:1.29 pkgsrc-2012Q3:1.29.0.24 pkgsrc-2012Q3-base:1.29 pkgsrc-2012Q2:1.29.0.22 pkgsrc-2012Q2-base:1.29 pkgsrc-2012Q1:1.29.0.20 pkgsrc-2012Q1-base:1.29 pkgsrc-2011Q4:1.29.0.18 pkgsrc-2011Q4-base:1.29 pkgsrc-2011Q3:1.29.0.16 pkgsrc-2011Q3-base:1.29 pkgsrc-2011Q2:1.29.0.14 pkgsrc-2011Q2-base:1.29 pkgsrc-2011Q1:1.29.0.12 pkgsrc-2011Q1-base:1.29 pkgsrc-2010Q4:1.29.0.10 pkgsrc-2010Q4-base:1.29 pkgsrc-2010Q3:1.29.0.8 pkgsrc-2010Q3-base:1.29 pkgsrc-2010Q2:1.29.0.6 pkgsrc-2010Q2-base:1.29 pkgsrc-2010Q1:1.29.0.4 pkgsrc-2010Q1-base:1.29 pkgsrc-2009Q4:1.29.0.2 pkgsrc-2009Q4-base:1.29 pkgsrc-2009Q3:1.27.0.4 pkgsrc-2009Q3-base:1.27 pkgsrc-2009Q2:1.27.0.2 pkgsrc-2009Q2-base:1.27 pkgsrc-2009Q1:1.25.0.2 pkgsrc-2009Q1-base:1.25 pkgsrc-2008Q4:1.23.0.10 pkgsrc-2008Q4-base:1.23 pkgsrc-2008Q3:1.23.0.8 pkgsrc-2008Q3-base:1.23 cube-native-xorg:1.23.0.6 cube-native-xorg-base:1.23 pkgsrc-2008Q2:1.23.0.4 pkgsrc-2008Q2-base:1.23 cwrapper:1.23.0.2 pkgsrc-2008Q1:1.22.0.8 pkgsrc-2008Q1-base:1.22 pkgsrc-2007Q4:1.22.0.6 pkgsrc-2007Q4-base:1.22 pkgsrc-2007Q3:1.22.0.4 pkgsrc-2007Q3-base:1.22 pkgsrc-2007Q2:1.22.0.2 pkgsrc-2007Q2-base:1.22 pkgsrc-2007Q1:1.21.0.2 pkgsrc-2007Q1-base:1.21 pkgsrc-2006Q4:1.18.0.2 pkgsrc-2006Q4-base:1.18 pkgsrc-2006Q3:1.15.0.2 pkgsrc-2006Q3-base:1.15 pkgsrc-2006Q2:1.13.0.2 pkgsrc-2006Q2-base:1.13 pkgsrc-2006Q1:1.11.0.2 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.7.0.8 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.6 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.4 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.2 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.6.0.4 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.2 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.5.0.2 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.33 date 2020.03.11.19.28.35; author nia; state dead; branches; next 1.32; commitid lxm5swloI4PYc10C; 1.32 date 2015.04.08.05.35.39; author wiz; state Exp; branches; next 1.31; commitid T6hv9VLRA5yrqKgy; 1.31 date 2015.01.26.23.26.48; author wiz; state Exp; branches; next 1.30; commitid tevqwgcyijfgFA7y; 1.30 date 2015.01.23.12.17.47; author wiz; state Exp; branches; next 1.29; commitid UJkG4YtjvchP397y; 1.29 date 2010.01.06.16.57.18; author sketch; state Exp; branches 1.29.42.1; next 1.28; 1.28 date 2009.12.11.20.52.22; author ghen; state Exp; branches; next 1.27; 1.27 date 2009.05.20.08.07.38; author ghen; state Exp; branches; next 1.26; 1.26 date 2009.05.11.08.54.49; author tnn; state Exp; branches; next 1.25; 1.25 date 2009.01.24.10.51.35; author ghen; state Exp; branches 1.25.2.1; next 1.24; 1.24 date 2009.01.08.00.02.43; author abs; state Exp; branches; next 1.23; 1.23 date 2008.06.22.17.41.23; author ghen; state Exp; branches 1.23.10.1; next 1.22; 1.22 date 2007.06.16.15.01.17; author ghen; state Exp; branches; next 1.21; 1.21 date 2007.03.30.19.10.38; author ghen; state Exp; branches; next 1.20; 1.20 date 2007.03.24.14.39.44; author ghen; state Exp; branches; next 1.19; 1.19 date 2007.02.21.09.53.05; author ghen; state Exp; branches; next 1.18; 1.18 date 2006.11.08.14.40.20; author ghen; state Exp; branches; next 1.17; 1.17 date 2006.10.16.06.55.47; author ghen; state Exp; branches; next 1.16; 1.16 date 2006.10.09.19.06.57; author ghen; state Exp; branches; next 1.15; 1.15 date 2006.08.02.17.48.37; author ghen; state Exp; branches; next 1.14; 1.14 date 2006.07.02.09.29.17; author ghen; state Exp; branches; next 1.13; 1.13 date 2006.06.13.16.51.40; author ghen; state Exp; branches; next 1.12; 1.12 date 2006.04.04.09.38.46; author ghen; state Exp; branches; next 1.11; 1.11 date 2006.03.13.09.35.27; author ghen; state Exp; branches 1.11.2.1; next 1.10; 1.10 date 2006.02.10.12.20.56; author tv; state Exp; branches; next 1.9; 1.9 date 2006.02.06.17.28.09; author ghen; state Exp; branches; next 1.8; 1.8 date 2006.02.06.15.54.37; author ghen; state Exp; branches; next 1.7; 1.7 date 2005.01.08.19.58.16; author schmonz; state Exp; branches; next 1.6; 1.6 date 2004.08.01.05.17.19; author schmonz; state Exp; branches; next 1.5; 1.5 date 2004.05.29.15.42.51; author cube; state Exp; branches; next 1.4; 1.4 date 2004.05.28.22.20.43; author xtraeme; state Exp; branches; next 1.3; 1.3 date 2003.12.09.04.06.37; author xtraeme; state Exp; branches; next 1.2; 1.2 date 2003.07.04.14.39.38; author salo; state Exp; branches; next 1.1; 1.1 date 2003.05.14.04.17.31; author salo; state Exp; branches 1.1.1.1; next ; 1.29.42.1 date 2015.01.24.20.49.22; author tron; state Exp; branches; next 1.29.42.2; commitid It5fqg6Ola7tRj7y; 1.29.42.2 date 2015.01.28.17.36.15; author tron; state Exp; branches; next ; commitid e5auRtsYV17fFO7y; 1.25.2.1 date 2009.05.11.09.30.52; author tron; state Exp; branches; next ; 1.23.10.1 date 2009.02.01.22.53.10; author tron; state Exp; branches; next ; 1.11.2.1 date 2006.05.15.16.08.41; author salo; state Exp; branches; next ; 1.1.1.1 date 2003.05.14.04.17.31; author salo; state Exp; branches; next ; desc @@ 1.33 log @dovecot: Remove, broken now we're OpenSSL 1.1 - see dovecot2 "This package contains version 1.2 of dovecot, which has not been maintained since 2011. See pkgsrc/mail/dovecot2 for the current version." @ text @$NetBSD: patch-ab,v 1.32 2015/04/08 05:35:39 wiz Exp $ Please note that this patch cannot be regenerated automatically. What would be the first hunk has manually been split into two and the context reduced for the second half because the managesieve patch changes the line # Protocols we want to be serving: imap imaps pop3 pop3s into # Protocols we want to be serving: imap imaps pop3 pop3s managesieve and the patch needs to apply to both versions. So this line must be kept out of the context. --- dovecot-example.conf.orig 2009-06-01 05:21:42.000000000 +0200 +++ dovecot-example.conf @@@@ -12,9 +12,6 @@@@ # Default values are shown for each setting, it's not required to uncomment # those. These are exceptions to this though: No sections (e.g. namespace {}) # or plugin settings are added by default, they're listed only as examples. -# Paths are also just examples with the real defaults being based on configure -# options. The paths listed here are for configure --prefix=/usr -# --sysconfdir=/etc --localstatedir=/var --with-ssldir=/etc/ssl # Base directory where to store runtime data. #base_dir = /var/run/dovecot/ @@@@ -23,3 +20,3 @@@@ # If you only want to use dovecot-auth, you can set this to "none". -#protocols = imap imaps +protocols = imap pop3 @@@@ -86,7 +83,7 @@@@ #ssl_listen = # SSL/TLS support: yes, no, required. -#ssl = yes +#ssl = no # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but @@@@ -537,20 +534,20 @@@@ protocol imap { # Login executable location. - #login_executable = /usr/libexec/dovecot/imap-login + #login_executable = @@PREFIX@@/libexec/dovecot/imap-login # IMAP executable location. Changing this allows you to execute other # binaries before the imap process is executed. # # This would write rawlogs into user's ~/dovecot.rawlog/, if it exists: - # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap + # mail_executable = @@PREFIX@@/libexec/dovecot/rawlog @@PREFIX@@/libexec/dovecot/imap # # # This would attach gdb into the imap process and write backtraces into # /tmp/gdbhelper.* files: - # mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap + # mail_executable = @@PREFIX@@/libexec/dovecot/gdbhelper @@PREFIX@@/libexec/dovecot/imap # - #mail_executable = /usr/libexec/dovecot/imap + #mail_executable = @@PREFIX@@/libexec/dovecot/imap # Maximum IMAP command line length in bytes. Some clients generate very long # command lines with huge mailboxes, so you may need to raise this if you get @@@@ -564,7 +561,7 @@@@ protocol imap { # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/imap + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/imap # IMAP logout format string: # %i - total number of bytes read from client @@@@ -614,11 +611,11 @@@@ protocol imap { protocol pop3 { # Login executable location. - #login_executable = /usr/libexec/dovecot/pop3-login + #login_executable = @@PREFIX@@/libexec/dovecot/pop3-login # POP3 executable location. See IMAP's mail_executable above for examples # how this could be changed. - #mail_executable = /usr/libexec/dovecot/pop3 + #mail_executable = @@PREFIX@@/libexec/dovecot/pop3 # Don't try to set mails non-recent or seen with POP3 sessions. This is # mostly intended to reduce disk I/O. With maildir it doesn't move files @@@@ -678,7 +675,7 @@@@ protocol pop3 { # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/pop3 + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/pop3 # Workarounds for various client bugs: # outlook-no-nuls: @@@@ -706,7 +703,7 @@@@ protocol lda { # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/lda + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/lda # If user is over quota, return with temporary failure instead of # bouncing the mail. @@@@ -720,7 +717,7 @@@@ protocol lda { #deliver_log_format = msgid=%m: %$ # Binary to use for sending mails. - #sendmail_path = /usr/lib/sendmail + #sendmail_path = /usr/sbin/sendmail # Subject: header to use for rejection mails. You can use the same variables # as for rejection_reason below. @@@@ -739,7 +736,7 @@@@ protocol lda { ## # Executable location -#auth_executable = /usr/libexec/dovecot/dovecot-auth +#auth_executable = @@PREFIX@@/libexec/dovecot/dovecot-auth # Set max. process size in megabytes. #auth_process_size = 256 @@@@ -869,7 +866,7 @@@@ auth default { # database (passwd usually), you can use static userdb. # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM # authentication to actually work. - passdb pam { + #passdb pam { # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=] # [cache_key=] [] # @@@@ -902,15 +899,15 @@@@ auth default { # args = session=yes %Ls # args = cache_key=%u dovecot #args = dovecot - } + #} # System users (NSS, /etc/passwd, or similiar) # In many systems nowadays this uses Name Service Switch, which is # configured in /etc/nsswitch.conf. - #passdb passwd { + passdb passwd { # [blocking=yes] - See userdb passwd for explanation #args = - #} + } # Shadow passwords for system users (NSS, /etc/shadow or similiar). # Deprecated by PAM nowadays. @ 1.32 log @Add a comment to patch-ab. From Edgar Fuß in private mail. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.31 2015/01/26 23:26:48 wiz Exp $ @ 1.31 log @unregen patch-ab, since the patch context was manually reduced so that the managesieve patch applies cleanly together with this. Noted by Edgar Fuß in PR 49599. @ text @d1 10 a10 1 $NetBSD: patch-ab,v 1.30 2015/01/23 12:17:47 wiz Exp $ @ 1.30 log @Fix for CVE-2014-3430. Based on http://hg.dovecot.org/dovecot-1.2/raw-rev/8ba4253adc9b adapted to pkgsrc by Edgar Fuß in PR 49599. Bump PKGREVISION. regen patch-ab while here @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.29 2010/01/06 16:57:18 sketch Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2010-01-24 23:30:41.000000000 +0000 d5 1 a5 1 @@@@ -12,16 +12,13 @@@@ d15 1 a15 2 # Protocols we want to be serving: imap imaps pop3 pop3s a19 2 # A space separated list of IP or host addresses where to listen in for # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6 d77 1 a77 1 @@@@ -682,7 +679,7 @@@@ protocol pop3 { d86 1 a86 1 @@@@ -710,7 +707,7 @@@@ protocol lda { d95 1 a95 1 @@@@ -724,7 +721,7 @@@@ protocol lda { d104 1 a104 1 @@@@ -743,7 +740,7 @@@@ protocol lda { d113 1 a113 1 @@@@ -872,7 +869,7 @@@@ auth default { d122 1 a122 1 @@@@ -905,15 +902,15 @@@@ auth default { @ 1.29 log @Fix (commented out) substitution. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.28 2009/12/11 20:52:22 ghen Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2009-06-01 05:21:42.000000000 +0200 d5 1 a5 1 @@@@ -12,9 +12,6 @@@@ d15 2 a16 1 @@@@ -23,3 +20,3 @@@@ d21 2 d80 1 a80 1 @@@@ -678,7 +675,7 @@@@ protocol pop3 { d89 1 a89 1 @@@@ -706,7 +703,7 @@@@ protocol lda { d98 1 a98 1 @@@@ -720,7 +717,7 @@@@ protocol lda { d107 1 a107 1 @@@@ -739,7 +736,7 @@@@ protocol lda { d116 1 a116 1 @@@@ -869,7 +866,7 @@@@ auth default { d125 1 a125 1 @@@@ -902,15 +899,15 @@@@ auth default { @ 1.29.42.1 log @Pullup ticket #4594 - requested by wiz mail/dovecot: security patch Revisions pulled up: - mail/dovecot/Makefile 1.175 - mail/dovecot/distinfo 1.119 - mail/dovecot/patches/patch-ab 1.30 - mail/dovecot/patches/patch-src_imap-login_client.c 1.1 - mail/dovecot/patches/patch-src_login-common_ssl-proxy-openssl.c 1.1 - mail/dovecot/patches/patch-src_login-common_ssl-proxy.c 1.1 - mail/dovecot/patches/patch-src_login-common_ssl-proxy.h 1.1 - mail/dovecot/patches/patch-src_pop3-login_client.c 1.1 --- Module Name: pkgsrc Committed By: wiz Date: Fri Jan 23 12:17:47 UTC 2015 Modified Files: pkgsrc/mail/dovecot: Makefile distinfo pkgsrc/mail/dovecot/patches: patch-ab Added Files: pkgsrc/mail/dovecot/patches: patch-src_imap-login_client.c patch-src_login-common_ssl-proxy-openssl.c patch-src_login-common_ssl-proxy.c patch-src_login-common_ssl-proxy.h patch-src_pop3-login_client.c Log Message: Fix for CVE-2014-3430. Based on http://hg.dovecot.org/dovecot-1.2/raw-rev/8ba4253adc9b adapted to pkgsrc by Edgar Fuß in PR 49599. Bump PKGREVISION. regen patch-ab while here @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- dovecot-example.conf.orig 2010-01-24 23:30:41.000000000 +0000 d5 1 a5 1 @@@@ -12,16 +12,13 @@@@ d15 1 a15 2 # Protocols we want to be serving: imap imaps pop3 pop3s a19 2 # A space separated list of IP or host addresses where to listen in for # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6 d77 1 a77 1 @@@@ -682,7 +679,7 @@@@ protocol pop3 { d86 1 a86 1 @@@@ -710,7 +707,7 @@@@ protocol lda { d95 1 a95 1 @@@@ -724,7 +721,7 @@@@ protocol lda { d104 1 a104 1 @@@@ -743,7 +740,7 @@@@ protocol lda { d113 1 a113 1 @@@@ -872,7 +869,7 @@@@ auth default { d122 1 a122 1 @@@@ -905,15 +902,15 @@@@ auth default { @ 1.29.42.2 log @Pullup ticket #4600 - requested by wiz mail/dovecot: build fix Revisions pulled up: - mail/dovecot/distinfo 1.120 - mail/dovecot/patches/patch-ab 1.31 --- Module Name: pkgsrc Committed By: wiz Date: Mon Jan 26 23:26:48 UTC 2015 Modified Files: pkgsrc/mail/dovecot: distinfo pkgsrc/mail/dovecot/patches: patch-ab Log Message: unregen patch-ab, since the patch context was manually reduced so that the managesieve patch applies cleanly together with this. Noted by Edgar Fuß in PR 49599. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2009-06-01 05:21:42.000000000 +0200 d5 1 a5 1 @@@@ -12,9 +12,6 @@@@ d15 2 a16 1 @@@@ -23,3 +20,3 @@@@ d21 2 d80 1 a80 1 @@@@ -678,7 +675,7 @@@@ protocol pop3 { d89 1 a89 1 @@@@ -706,7 +703,7 @@@@ protocol lda { d98 1 a98 1 @@@@ -720,7 +717,7 @@@@ protocol lda { d107 1 a107 1 @@@@ -739,7 +736,7 @@@@ protocol lda { d116 1 a116 1 @@@@ -869,7 +866,7 @@@@ auth default { d125 1 a125 1 @@@@ -902,15 +899,15 @@@@ auth default { @ 1.28 log @Update to Dovecot 1.2.8, imported from pkgsrc-wip and based on work of Edgar Fuß . The package now contains Stephan Bosch' new Dovecot Sieve plugin as a pkgsrc option (instead of the old CMU Sieve plugin that was a separate package), as well as the ManageSieve extension. The dovecot-sieve package will be removed. Upgrading from Dovecot 1.1.x may require changes to your configuration file, see this webpage for more information: http://wiki.dovecot.org/Upgrading/1.2 Major changes since Dovecot 1.1: * When creating files or directories to mailboxes, Dovecot now uses the mailbox directory's permissions and GID for them. Previous versions simply used 0600 mode always. For backwards compatibility dovecot-shared file's permissions still override these with Maildir. * SQL dictionary (quota) configuration file is different than in v1.1. See doc/dovecot-dict-sql-example.conf for the new format. * deliver -m: Mailbox name is now assumed to be in UTF-8 format, not modified-UTF7. Stephan Bosch's new Sieve implementation also assumes UTF-8 format in fileinto parameters. + Full support for shared mailboxes and IMAP ACL extension. The code is mainly from Sascha Wilde and Bernhard Herzog. + IMAP: Added support for extensions: CONDSTORE, QRESYNC, ESEARCH, ESORT, SEARCHRES, WITHIN, ID and CONTEXT=SEARCH. + SEARCH supports INTHREAD search key, but the rest of the INTHREAD draft isn't implemented yet so it's not advertised in capability. + THREAD REFS algorithm where threads are sorted by their latest message instead of the thread root message. There is also no base subject merging. + IMAP: Implemented imap-response-codes draft. + Thread indexes for optimizing IMAP THREAD command and INTHREAD search key. + Added userdb checkpassword (by Sascha Wilde) + Virtual mailboxes: http://wiki.dovecot.org/Plugins/Virtual + Autocreate plugin: http://wiki.dovecot.org/Plugins/Autocreate + Listescape plugin: http://wiki.dovecot.org/Plugins/Listescape @ text @d1 1 a1 1 $NetBSD$ d59 1 a59 1 + #mail_plugin_dir = @@PREFIX@@/dovecot/imap @ 1.27 log @Update to Dovecot 1.1.15. v1.1.15 2009-05-17 Timo Sirainen + IMAP: When multiple commands are pipelined, try harder to combine their mailbox syncing together. For example with Maildir pipelining STORE 1:* +FLAGS \Deleted and EXPUNGE commands the files won't be unnecessarily rename()d before being unlink()ed. - IMAP: SEARCH command was slower than necessary in a large mailbox. - deliver: When forwarding messages, if -f parameter was given, it should have been used as the Return-Path. - Maildir saving: Fixed race condition bugs in uidlist handling, causing files to be given new UIDs sometimes. - mbox: Don't crash when expunging all messages and file doesn't end with [CR]LF. - expire-tool: Use mail_uid and mail_gid settings if userdb doesn't return uid/gid. - Berkeley DB dict: Transaction rollbacking was implemented wrong. - zlib plugin: Some email / FETCH command combinations could have disconnected the client or sent compressed garbage. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2009-05-13 18:41:46.000000000 +0200 d5 1 a5 1 @@@@ -12,16 +12,13 @@@@ d15 1 a15 2 # Protocols we want to be serving: imap imaps pop3 pop3s a19 2 # A space separated list of IP or host addresses where to listen in for # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6 d23 3 a25 3 # Disable SSL/TLS support. -#ssl_disable = no +ssl_disable = yes d29 1 a29 10 @@@@ -150,7 +147,7 @@@@ # Set max. process size in megabytes. If you don't use # login_process_per_connection you might need to grow this. -#login_process_size = 64 +#login_process_size = 128 # Should each login be processed in it's own process (yes), or should one # login process be allowed to process multiple connections (no)? Yes is more @@@@ -504,19 +501,19 @@@@ d39 1 a39 1 # This would write rawlogs into ~/dovecot.rawlog/ directory: d42 1 d54 1 a54 1 @@@@ -530,7 +527,7 @@@@ protocol imap { d59 1 a59 1 + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/imap d61 3 a63 3 # Send IMAP capabilities in greeting message. This makes it unnecessary for # clients to request it with CAPABILITY command, so it saves one round-trip. @@@@ -573,11 +570,11 @@@@ protocol imap { d77 1 a77 1 @@@@ -637,7 +634,7 @@@@ protocol pop3 { d86 1 a86 1 @@@@ -665,7 +662,7 @@@@ protocol lda { d95 1 a95 1 @@@@ -679,7 +676,7 @@@@ protocol lda { d104 1 a104 1 @@@@ -698,7 +695,7 @@@@ protocol lda { d113 1 a113 1 @@@@ -831,7 +828,7 @@@@ auth default { d119 1 a119 1 # [session=yes] [setcred=yes] [failure_show_msg=yes] d122 1 a122 1 @@@@ -860,15 +857,15 @@@@ auth default { @ 1.26 log @Bump the default value of the login_process_size limit from 64 to 128. Without this dovecot fails to start on NetBSD-current, as reported by several people. Bump PKGREVISION. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2009-03-13 22:23:14.000000000 +0100 d5 1 a5 3 @@@@ -10,17 +10,14 @@@@ # value inside quotes, eg.: key = "# char and trailing whitespace " d7 5 a11 5 -# any of the lines. Exception to this are paths, they're just examples with -# the real defaults being based on configure options. The paths listed here -# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -# --with-ssldir=/etc/ssl +# any of the lines. d23 1 a23 1 @@@@ -85,7 +82,7 @@@@ d26 1 a26 1 # Disable SSL/TLS support. d32 1 a32 1 @@@@ -149,7 +146,7 @@@@ d41 1 a41 1 @@@@ -503,19 +500,19 @@@@ d65 1 a65 1 @@@@ -529,7 +526,7 @@@@ protocol imap { d74 1 a74 1 @@@@ -572,11 +569,11 @@@@ protocol imap { d88 1 a88 1 @@@@ -636,7 +633,7 @@@@ protocol pop3 { d97 1 a97 1 @@@@ -664,7 +661,7 @@@@ protocol lda { d106 1 a106 1 @@@@ -678,7 +675,7 @@@@ protocol lda { d115 1 a115 1 @@@@ -697,7 +694,7 @@@@ protocol lda { d124 1 a124 1 @@@@ -830,7 +827,7 @@@@ auth default { d133 1 a133 1 @@@@ -859,15 +856,15 @@@@ auth default { @ 1.25 log @Update to Dovecot 1.1.9. From the release announcement mail: Lots of small dbox fixes, hopefully migrations from Maildir are now working correctly. + Sending SIGUSR2 to dovecot-auth now also logs statistics about cache inserts. This could help figuring out auth cache size. + deliver: Added rejection_subject setting, which is used for rejected mails. + pop3: Prevent clients from looping forever trying to fetch an expunged message. + If login process crashes, log the IP address that (maybe) caused it. + If core dump limit is 0, add "core dumps disabled" to startup log line. + Log better messages for "Permission denied" errors - mbox: Fixed assert-crash with pop3_lock_session=yes - dbox: Fixes to handling maildir-converted files. - Auth cache wasn't working correctly for all fields (e.g. allow_nets) with blocking passdbs (e.g. mysql). - pgsql: Handle reconnecting to server without failing auth lookups. - Berkeley DB memory/resource leak fixes. - maildir: Fixes to handling over 26 keywords. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2009-01-13 22:51:40.000000000 +0100 d34 9 @ 1.25.2.1 log @Pullup ticket #2762 - requested by tnn dovecot: bug fix Revisions pulled up: - mail/dovecot/Makefile 1.132 via patch - mail/dovecot/distinfo 1.97 via patch - mail/dovecot/patches/patch-ab 1.26 - mail/dovecot/patches/patch-ah 1.5 --- Module Name: pkgsrc Committed By: tnn Date: Mon May 11 08:54:49 UTC 2009 Modified Files: pkgsrc/mail/dovecot/patches: patch-ab Added Files: pkgsrc/mail/dovecot/patches: patch-ah Log Message: Bump the default value of the login_process_size limit from 64 to 128. Without this dovecot fails to start on NetBSD-current, as reported by several people. Bump PKGREVISION. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2009-03-13 22:23:14.000000000 +0100 a33 9 @@@@ -149,7 +146,7 @@@@ # Set max. process size in megabytes. If you don't use # login_process_per_connection you might need to grow this. -#login_process_size = 64 +#login_process_size = 128 # Should each login be processed in it's own process (yes), or should one # login process be allowed to process multiple connections (no)? Yes is more @ 1.24 log @Updated mail/dovecot to 1.1.8 Most importantly mbox bugfixes. v1.1 should finally be as stable with mboxes as it was with v1.0. Hopefully we'll also soon have the first v1.2 beta release and the final v1.2.0 somewhat soon after that. - mbox: Several bugfixes. Fixes "next message unexpectedly lost" errors and perhaps some other problems as well. - deliver: It wasn't possible to override boolean settings in lda section by setting them to "no". - Maildir++ quota didn't correctly check if maildirs had changed during recalculation. - kqueue notify: Fixed assert-crash in some situations - dbox: Several fixes to handling Maildir migrations - Logging/error message improvements @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.23 2008/06/22 17:41:23 ghen Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2009-01-05 20:49:58.000000000 +0000 d106 3 a108 3 # Human readable error message for rejection mails. Use can use variables: # %n = CRLF, %r = reason, %s = subject, %t = recipient @@@@ -693,7 +690,7 @@@@ protocol lda { d117 1 a117 1 @@@@ -826,7 +823,7 @@@@ auth default { d126 1 a126 1 @@@@ -855,15 +852,15 @@@@ auth default { @ 1.23 log @Update to Dovecot 1.1.1. Beta's and RC's have been tracked in pkgsrc-wip, copy from there. Update the Sieve plugin accordingly to 1.1.5. Major changes since 1.0: * After Dovecot v1.1 has modified index or dovecot-uidlist files, they can't be opened anymore with Dovecot versions earlier than v1.0.2. * See doc/wiki/Upgrading.1.1.txt (or for latest changes, http://wiki.dovecot.org/Upgrading/1.1) for list of changes since v1.0 that you should be aware of when upgrading. + IMAP: Added support for UIDPLUS and LIST-EXTENDED extensions. + IMAP SORT: Sort keys are indexed, which makes SORT commands faster. + When saving messages, update cache file immediately with the data that we expect client to fetch later. + NFS caches are are flushed whenever needed. See mail_nfs_storage and mail_nfs_index settings. + Out of order command execution (SEARCH, FETCH, LIST), nonstandard command cancellation (X-CANCEL ) + IMAP: STATUS-IN-LIST draft implementation + Expire plugin can be used to keep track of oldest messages in specific mailboxes. A nightly run can then quickly expunge old messages from the mailboxes that have them. The tracking is done using lib-dict, so you can use either Berkeley DB or SQL database. + Namespaces are supported everywhere now. + Namespaces have new list and subscriptions settings. + Full text search indexing support with Lucene and Squat backends. + OTP and S/KEY authentication mechanisms (by Andrey Panin). + mbox and Maildir works with both Maildir++ and FS layouts. You can change these by appending :LAYOUT=3Dmaildir++ or :LAYOUT=3Dfs to mail_location. + LDAP: Support templates in pass_attrs and user_attrs + Support for listening in multiple IPs/ports. + Quota plugin rewrite: Support for multiple quota roots, warnings, allow giving storage size in bytes or kilo/mega/giga/terabytes, per-mailbox quota rules. + Filesystem quota backend supports inode limits, group quota and RPC quota for NFS. + SEARCH and SORT finally compare non-ASCII characters case-insensitively. We use i;unicode-casemap algorithm. + Config files support splitting values to multiple lines with \ @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- dovecot-example.conf.orig 2007-12-09 19:14:26.000000000 +0100 d28 1 a28 1 # Disable SSL/TLS support. d34 1 a34 1 @@@@ -495,19 +492,19 @@@@ d58 1 a58 1 @@@@ -521,7 +518,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -564,11 +561,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -628,7 +625,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -656,7 +653,7 @@@@ protocol lda { d99 1 a99 1 @@@@ -670,7 +667,7 @@@@ protocol lda { d108 1 a108 1 @@@@ -685,7 +682,7 @@@@ protocol lda { d117 1 a117 1 @@@@ -815,7 +812,7 @@@@ auth default { d126 1 a126 1 @@@@ -844,15 +841,15 @@@@ auth default { @ 1.23.10.1 log @Pullup ticket #2675 - requested by ghen dovecot: bug fixes Revisions pulled up: - mail/dovecot/Makefile 1.125-1.127 - mail/dovecot/PLIST 1.23 - mail/dovecot/distinfo 1.90-1.92 - mail/dovecot/patches/patch-ab 1.24-1.25 - mail/dovecot/patches/patch-ac 1.10 --- Module Name: pkgsrc Committed By: abs Date: Thu Jan 8 00:02:44 UTC 2009 Modified Files: pkgsrc/mail/dovecot: Makefile PLIST distinfo pkgsrc/mail/dovecot/patches: patch-ab patch-ac Log Message: Updated mail/dovecot to 1.1.8 Most importantly mbox bugfixes. v1.1 should finally be as stable with mboxes as it was with v1.0. Hopefully we'll also soon have the first v1.2 beta release and the final v1.2.0 somewhat soon after that. - mbox: Several bugfixes. Fixes "next message unexpectedly lost" errors and perhaps some other problems as well. - deliver: It wasn't possible to override boolean settings in lda section by setting them to "no". - Maildir++ quota didn't correctly check if maildirs had changed during recalculation. - kqueue notify: Fixed assert-crash in some situations - dbox: Several fixes to handling Maildir migrations - Logging/error message improvements --- Module Name: pkgsrc Committed By: ghen Date: Sat Jan 24 10:51:35 UTC 2009 Modified Files: pkgsrc/mail/dovecot: Makefile distinfo pkgsrc/mail/dovecot/patches: patch-ab Log Message: Update to Dovecot 1.1.9. From the release announcement mail: Lots of small dbox fixes, hopefully migrations from Maildir are now working correctly. + Sending SIGUSR2 to dovecot-auth now also logs statistics about cache inserts. This could help figuring out auth cache size. + deliver: Added rejection_subject setting, which is used for rejected mails. + pop3: Prevent clients from looping forever trying to fetch an expunged message. + If login process crashes, log the IP address that (maybe) caused it. + If core dump limit is 0, add "core dumps disabled" to startup log line. + Log better messages for "Permission denied" errors - mbox: Fixed assert-crash with pop3_lock_session=3Dyes - dbox: Fixes to handling maildir-converted files. - Auth cache wasn't working correctly for all fields (e.g. allow_nets) with blocking passdbs (e.g. mysql). - pgsql: Handle reconnecting to server without failing auth lookups. - Berkeley DB memory/resource leak fixes. - maildir: Fixes to handling over 26 keywords. --- Module Name: pkgsrc Committed By: ghen Date: Tue Jan 27 08:29:31 UTC 2009 Modified Files: pkgsrc/mail/dovecot: Makefile distinfo Log Message: Update to Dovecot 1.1.10. - Maildir: Keyword handling was somewhat broken in v1.1.9 - userdb prefetch was broken with blocking passdbs in v1.1.9 - dict process didn't always die with the rest of Dovecot - dict quota was somewhat broken with pgsql @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2009-01-13 22:51:40.000000000 +0100 d28 1 a28 1 # Disable SSL/TLS support. d34 1 a34 1 @@@@ -503,19 +500,19 @@@@ d58 1 a58 1 @@@@ -529,7 +526,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -572,11 +569,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -636,7 +633,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -664,7 +661,7 @@@@ protocol lda { d99 1 a99 1 @@@@ -678,7 +675,7 @@@@ protocol lda { d106 3 a108 3 # Subject: header to use for rejection mails. You can use the same variables # as for rejection_reason below. @@@@ -697,7 +694,7 @@@@ protocol lda { d117 1 a117 1 @@@@ -830,7 +827,7 @@@@ auth default { d126 1 a126 1 @@@@ -859,15 +856,15 @@@@ auth default { @ 1.22 log @Update to Dovecot 1.0.1. Lots of small fixes: * deliver: If Return-Path doesn't contain user and domain, don't try to bounce the mail (this is how it was supposed to work earlier too) * deliver: %variables in mail setting coming from userdb aren't expanded anymore (again how it should have worked). The expansion could have caused problems if paths contained any '%' characters. + Print Dovecot version number with dovecot -n and -a + deliver: Added -e parameter to write rejection error to stderr and exit with EX_NOPERM instead of sending the rejection by executing sendmail. + dovecot --log-error logs now a warning, an error and a fatal - Trying to start Dovecot while it's already running doesn't anymore wipe out login_dir and break the running Dovecot. - maildir: Fixed "UID larger than next_uid" errors which happened sometimes when dovecot-uidlist file didn't exist but index files did (usually because mailbox didn't have any messages when it was selected for the first time) - maildir: We violated maildir spec a bit by not having keyword characters sorted in the filename. - maildir: If we don't have write access to cur/ directory, treat the mailbox as read-only. This fixes some internal error problems with trying to use read-only maildirs. - maildir: Deleting a symlinked maildir failed with internal error. - mbox: pop3_uidl_format=%m wasn't working right - mbox: If non-filesystem quota was enabled, we could have failed with "Unexpectedly lost From-line" errors while saving new messages - mysql auth: %c didn't work. Patch by Andrey Panin - APPEND / SEARCH: If internaldate was outside valid value for time_t, we returned BAD error for APPEND and SEARCH never matched. With 64bit systems this shouldn't have happened. With 32bit systems the valid range is usually for years 1902..2037. - COPY: We sent "Hang in there.." too early sometimes and checked it too often (didn't break anything, but was slower than needed). - deliver: Postfix's sendmail binary wasn't working with mail_debug=yes - Don't corrupt ssl-parameters.dat files when running multiple Dovecot instances. - Cache compression caused dovecot.index.cache to be completely deleted with big endian CPUs if 64bit file offsets were used (default) - Fixed "(index_mail_parse_header): assertion failed" crash @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2007-06-13 02:47:39.000000000 +0200 d23 2 a24 2 # IP or host address where to listen in for connections. It's not currently # possible to specify multiple addresses. "*" listens in all IPv4 interfaces. d34 1 a34 1 @@@@ -498,19 +495,19 @@@@ d58 1 a58 1 @@@@ -520,7 +517,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -563,11 +560,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -627,7 +624,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -655,10 +652,10 @@@@ protocol lda { d97 5 d106 3 a108 3 # UNIX socket path to master authentication server to find users. #auth_socket_path = /var/run/dovecot/auth-master @@@@ -669,7 +666,7 @@@@ protocol lda { d117 1 a117 1 @@@@ -785,7 +782,7 @@@@ auth default { d123 1 a123 1 # [blocking=yes] [session=yes] [setcred=yes] d126 2 a127 2 @@@@ -818,15 +815,15 @@@@ auth default { # args = session=yes * @ 1.21 log @Update to dovecot-1.0rc29. From the release announcement mail: Probably one more RC after this. * Security fix: If zlib plugin was loaded, it was possible to open gzipped mbox files outside the user's mail directory. + Added auth_gssapi_hostname setting. - IMAP: LIST "" "" didn't return anything if there didn't exist a namespace with empty prefix. This broke some clients. - If Dovecot is tried to be started when it's already running, don't delete existing auth sockets and break the running Dovecot - If deliver failed too early it still returned exit code 89 instead of EX_TEMPFAIL. - deliver: INBOX fallbacking with -n parameter wasn't working. - passdb passwd and shadow couldn't be used as master or deny databases - IDLE: inotify didn't notice changes in mbox file - If index file directory couldn't be created, disable indexes instead of failing to open the mailbox. - Several other minor fixes @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2007-03-30 13:36:18.000000000 +0200 d112 1 a112 1 @@@@ -784,7 +781,7 @@@@ auth default { d121 1 a121 1 @@@@ -817,15 +814,15 @@@@ auth default { d128 1 a128 1 # /etc/passwd or similar, using getpwnam() d138 2 a139 2 # /etc/shadow or similiar, using getspnam(). Deprecated by PAM nowadays. # @ 1.20 log @Update to dovecot-1.0rc28. From the release announcement mail: Still a bit more fixes. My coding TODO list is again empty. Unless something special happens in the next few weeks, I'll still make rc29 with the documentation included and v1.0 will be released April 13. * deliver + userdb static: Verify the user's existence from passdb, unless allow_all_users=yes * dovecot --exec-mail: Log to configured log files instead of stderr * Added "-example" part to doc/dovecot-sql-example.conf and doc/dovecot-ldap-example.conf. They are now also installed to $sysconfdir with "make install". + When copying/syncing a lot of mails, send "* OK Hang in there" replies to client every 15 seconds so it doesn't just timeout the connection. + Added idxview and logview utilities to examine Dovecot's index files + passdb passwd and shadow support blocking=yes setting now also + mbox: If mbox file changes unexpectedly while we're writing to it, log an error. + deliver: Ignore -m "" parameter to make calling it easier. + deliver: Added new -n parameter to disable autocreating mailboxes. It affects both -m parameter and Sieve plugin's fileinto action - mbox: Using ~/ in the mail root directory caused a ~ directory to be created (instead of expanding it to home directory) - auth cache: If unknown user was found from cache, we didn't properly return "unknown user" status, which could have caused problems in deliver. - mbox: Fixed "UID inserted in the middle of mailbox" in some conditions with broken X-UID headers - Index view syncing fixes - rc27 didn't compile with some non-GCC compilers - vpopmail support didn't compile in rc27 - NFS check with chrooting broke home direcotry for the first login - deliver: If user lookup returned "unknown user", it logged "BUG: Unexpected input" - convert plugin didn't convert INBOX @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2007-03-23 01:00:54.000000000 +0100 d5 1 a5 1 @@@@ -7,17 +7,14 @@@@ d25 1 a25 1 @@@@ -82,7 +79,7 @@@@ d34 1 a34 1 @@@@ -497,19 +494,19 @@@@ d58 1 a58 1 @@@@ -519,7 +516,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -562,11 +559,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -626,7 +623,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -654,10 +651,10 @@@@ protocol lda { d103 1 a103 1 @@@@ -668,7 +665,7 @@@@ protocol lda { d112 2 a113 1 @@@@ -782,7 +779,7 @@@@ auth default { d115 1 a115 2 # authentication to actually work. # http://wiki.dovecot.org/PasswordDatabase/PAM d121 1 a121 1 @@@@ -815,16 +812,16 @@@@ auth default { d130 1 a130 2 # configured in /etc/nsswitch.conf. # http://wiki.dovecot.org/AuthDatabase/Passwd d139 1 a139 1 # http://wiki.dovecot.org/PasswordDatabase/Shadow @ 1.19 log @Update to dovecot-1.0rc23. From the release announcement mail: Documentation is probably the only important thing left before v1.0. * deliver doesn't ever exit with Dovecot's internal exit codes anymore. All its internal exit codes are changed to EX_TEMPFAIL. * mbox: X-Delivery-ID header is now dropped when saving mails. * mbox: If pop3_uidl_format=%m, we generate a unique X-Delivery-ID header when saving mails to make sure the UIDL is unique. + PAM: blocking=yes in args uses an alternative way to do PAM checks. Try it if you're having problems with PAM. + userdb passwd: blocking=yes in args makes the userdb lookups be done in auth worker processes. Set it if you're doing remote NSS lookups (eg. nss_ldap problems are fixed by this). + If PAM child process hasn't responded in two minutes, send KILL signal to it (only with blocking=no) - IMAP: APPEND ate all CPU while waiting for more data from the client (broken in rc22) - mbox: Broken X-UID headers assert-crashed sometimes - mbox: When saving a message to an empty mbox file it got an UID which immediately got incremented. - mbox: Fixed some wrong "uid-last unexpectedly lost" errors. - auth cache: In some situations we crashed if passdb had extra_fields. - auth cache: Special extra_fields weren't saved to auth cache. For example allow_nets restrictions were ignored for cached entries. - A lot of initial login processes could cause auth socket errors in log file at startup, if dovecot-auth started slowly. Now the login processes are started only after dovecot-auth has finished initializing itself. - imap/pop3 proxy: Don't crash if the remote server disconnects before we're logged in. - deliver: Don't bother trying to save the mail twice into the default mailbox (eg. if it's over quota). - mmap_disable=yes + non-Linux was really slow with large dovecot.index.cache files - MySQL couldn't be used as a masterdb - Trash plugin was more or less broken - imap/pop3 couldn't load plugins if they chrooted - imap/pop3-login process could crash in some conditions - checkpassword-reply crashed if USER/HOME wasn't set @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2007-02-19 21:17:46.000000000 +0100 d34 1 a34 1 @@@@ -487,19 +484,19 @@@@ d58 1 a58 1 @@@@ -509,7 +506,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -552,11 +549,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -616,7 +613,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -644,10 +641,10 @@@@ protocol lda { d103 1 a103 1 @@@@ -658,7 +655,7 @@@@ protocol lda { d112 1 a112 1 @@@@ -772,7 +769,7 @@@@ auth default { d121 1 a121 1 @@@@ -805,18 +802,18 @@@@ auth default { d134 1 a134 3 # [blocking=yes] - By default the lookups are done in the main dovecot-auth # process. This setting causes the lookups to be done in auth worker # proceses. Useful with remote NSS lookups that may block. @ 1.18 log @Update to dovecot-1.orc13. From the release announcement mail: I'll just keep on making new releases now whenever something important is fixed. Hopefully there shouldn't be many left anymore. Most of the bugs fixed in this release were found by stress testing with my imaptest tool (http://dovecot.org/tools/imaptest.c). If you're interested in knowing how perfectly your Dovecot setup works (especially if you're using NFS), you could try the tool yourself also. I still see one crash with mmap_disable=yes, but it's pretty rare. Will see if I get it fixed before v1.0, but it's not that important. + deliver: If we're executing as a normal system user, get the HOME environment from passwd if it's not set. This makes it possible to run deliver from .forward. - Older compilers caused LDAP authentication to crash - Dying LDAP connections weren't handled exactly correctly in rc11, although it seemed to work usually - Fixed crashes and memory leaks with AUTHENTICATE command - Fixed crashes and leaks with IMAP/POP3 proxying - maildir: Changing a mailbox while another process was saving a message there at the same may have caused the changes to not be made into the maildir, which could have caused other problems later.. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-11-05 18:14:37.000000000 +0100 d25 1 a25 1 @@@@ -81,7 +78,7 @@@@ d34 1 a34 1 @@@@ -480,19 +477,19 @@@@ d58 1 a58 1 @@@@ -502,7 +499,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -545,11 +542,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -608,7 +605,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -636,10 +633,10 @@@@ protocol lda { d103 1 a103 1 @@@@ -650,7 +647,7 @@@@ protocol lda { d112 1 a112 1 @@@@ -765,7 +762,7 @@@@ auth default { d118 2 a119 1 # [session=yes] [setcred=yes] [cache_key=] [] d121 1 a121 2 # session=yes makes Dovecot open and immediately close PAM session. Some @@@@ -793,14 +790,14 @@@@ auth default { d133 5 a138 1 + passdb passwd { @ 1.17 log @Update to dovecot-1.0rc10. From the release announcement mail: I've finally read all the mails in the mailing list and in my INBOX. If I haven't replied to some of your mail, please resend it. Remember that since 1.0.rc9 release dovecot.index.cache files will get rebuilt in 64bit systems, and it's probably better to delete them manually so you don't get errors in log files. There are only a couple of issues left in my v1.0-TODO list: - Master process appears to be leaking log fds with kqueue. Could someone again give me access to a system where this happens? - Login process problems. How well does it work now? Hopefully well enough that v1.0 could be released. - LDAP authentication is leaking memory? Can anyone confirm this? Even better, can someone figure out what exactly is leaking? :) Not a v1.0 blocker though. I think v1.0 will be released once no-one has reported any major problems for a Dovecot release in 2-4 weeks. I think login process handling is the only potentially major problem left. There are a few patches from people that I haven't forgotten, but I've decided not to put them into v1.0 anymore: - Filesystem quota group. I don't think it's that important feature, and it might break something. - HFS+ hardlink avoiding - Managesieve - vmailmgr support And finally the changes in this release: * When matching allowed_nets IPs, convert IPv6-mapped-IPv4 addresses to actual IPv4 addresses first. + IMAP: Try to avoid sending duplicate/useless message flag updates + Added support for non-plaintext authentication for vpopmail if it returns plaintext passwords. Based on patch by Remi Gacogne. + Added %D modified to return "sub.domain.org" as "sub,dc=domain,dc=org" (for LDAP queries). Patch by Andrey Panin. - rc9 broke cache files in 64bit systems - deliver works now with mail_chroot - auth cache didn't work properly with multiple passdbs - Fixes to handling CRLF linefeeds in mboxes. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-10-16 00:12:31.000000000 +0200 d34 1 a34 1 @@@@ -470,19 +467,19 @@@@ d58 1 a58 1 @@@@ -492,7 +489,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -532,11 +529,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -595,7 +592,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -623,10 +620,10 @@@@ protocol lda { d103 1 a103 1 @@@@ -637,7 +634,7 @@@@ protocol lda { d112 1 a112 2 @@@@ -751,7 +748,7 @@@@ auth default { # database (passwd usually), you can use static userdb. d115 1 d121 1 a121 1 @@@@ -779,14 +776,14 @@@@ auth default { d130 2 a131 2 # configured in /etc/nsswitch.conf. WARNING: nss_ldap is known to be broken # with Dovecot. Don't use it, or users might log in as each others! d138 1 a138 1 #passdb shadow { @ 1.16 log @Update to dovecot-1.orc8. From the release announcement mail: I've still over 200 mails unread in the mailing list, and important things left in TODO. This release is an improvement over rc7 anyway, hopefully I'll have time to fix the rest soon. * GSSAPI: Changed POP3 service name to "pop", which is what the standard says * "mbox:/var/mail/%u" no longer works as the mail location. You'll have to specify the mail root explicitly, just like the examples always have: "mbox:~/mail:INBOX=/var/mail/%u" + SHA1, LDAP-MD5, PLAIN-MD5, PLAIN-MD4: The password can be now either hex or base64 encoded. The encoding is detected automatically based on the password string length. + Allow running only Dovecot master and dovecot-auth processes with protocols=none setting + deliver: -f parameter can be used to set mbox From_-line's sender address + deliver: Log all mail saves and failures + Tru64 SIA passdb support. Patch by Simon L Jackson. - INBOX was listed twice in mailbox list if namespace prefix was used - INBOX-prefixed namespaces were a bit broken - kqueue: Fix 100% CPU usage - deliver: Duplicate storage was a bit broken - dictionary code was broken (ie. dict quota) - SIGHUP caused crashes sometimes @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-10-09 20:54:38.000000000 +0200 d34 1 a34 1 @@@@ -468,19 +465,19 @@@@ d58 1 a58 1 @@@@ -490,7 +487,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -530,11 +527,11 @@@@ protocol imap { d81 1 a81 1 @@@@ -593,7 +590,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -621,10 +618,10 @@@@ protocol lda { d103 1 a103 1 @@@@ -635,7 +632,7 @@@@ protocol lda { d112 1 a112 1 @@@@ -747,7 +744,7 @@@@ auth default { d121 1 a121 1 @@@@ -775,13 +772,13 @@@@ auth default { d130 2 a131 1 # configured in /etc/nsswitch.conf. @ 1.15 log @Update to dovecot-1.0rc3. This release candidate should fix the following problems: - SSL connections hanged sometimes, especially when saving messages. - mbox: Mail bodies were saved with CR+LF linefeeds - Mail forwarding was broken with deliver/Sieve - dbox fixes. Might actually be usable now. - Index file handling fixes with keywords - Cache file was incorrectly used in some situations, which probably caused problems sometimes. - Maildir++ quota: Don't count "." and ".." directory sizes to quota. After rewriting maildirsize file keep its fd open so that we can later update it. Patch by Alexander Zagrebin @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-07-05 21:51:02.000000000 +0200 d5 1 a5 1 @@@@ -7,16 +7,13 @@@@ d19 1 d25 1 a25 1 @@@@ -80,7 +77,7 @@@@ d67 1 a67 1 @@@@ -530,10 +527,10 @@@@ protocol imap { d74 2 a75 1 # POP3 executable location d81 1 a81 1 @@@@ -592,7 +589,7 @@@@ protocol pop3 { d90 1 a90 1 @@@@ -620,10 +617,10 @@@@ protocol lda { d103 1 a103 1 @@@@ -634,7 +631,7 @@@@ protocol lda { d112 1 a112 1 @@@@ -746,7 +743,7 @@@@ auth default { d121 1 a121 1 @@@@ -774,13 +771,13 @@@@ auth default { @ 1.14 log @Upgrade dovecot to 1.0rc1. Changes: * PAM: If user's password is expired, give "Password expired" error message to the user. Now actually working thanks to Vaidas Pilkauskas * Relicensed dovecot-auth, lib-sql and lib-ntlm to MIT license. See COPYING file for more information. * Abuse prevention: When creating a mailbox, limit the number of hierarchies (up to 20) and the length of the mailbox name within a hierarchy (up to 200 characters). * mbox: If saved mail doesn't end with LF, add it ourself so that the mails always have one empty line before the next From-line. + Added --with-statedir configure option which defaults to $localstatedir/lib/dovecot. ssl-parameters.dat is permanently stored in that directory and is copied to login_dirs from there. + IMAP: Support SASL-IR extension (SASL initial response) + Support initial SASL response with LOGIN mechanism. Patch by Anders Karlsson + Added PLAIN-MD4 password scheme. Patch by Andrey Panin. + Added support for XFS disk quotas. Patch by Pawel Jarosz + If another process deletes the opened mailbox, try to handle it without writing errors to log file. Handles the most common cases. + Added TLS support for LDAP if the library supports it. - SEARCH command was more or less broken with OR and NOT conditions - Dovecot corrupted mbox files which had CR+LF linefeeds in headers - MySQL code could have crashed while escaping strings - MD4 code with NTLM authentication was broken with 64bit systems. Patch by Andrey Panin - Plugin loading was broken in some OSes (eg. FreeBSD) - Several fixes to handling empty values in configuration file - Several fixes to dictionary quota backend and dict server. Also changed how they're configured. - deliver: Fixed plugin handling settings - mbox_min_index_size handling was somewhat broken - passdb passwd-file: extra_args field wasn't read unless the file was also used as userdb. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-06-17 17:05:22.000000000 +0200 d8 3 a10 3 # Default values are shown after each value, it's not required to uncomment -# any of the lines. Exception to this are paths, they're just examples -# with real defaults being based on configure options. The paths listed here d13 1 a13 1 +# any of the lines. d33 1 a33 1 @@@@ -467,19 +464,19 @@@@ d57 1 a57 1 @@@@ -489,7 +486,7 @@@@ protocol imap { d66 1 a66 1 @@@@ -529,10 +526,10 @@@@ protocol imap { d79 1 a79 1 @@@@ -590,7 +587,7 @@@@ protocol pop3 { d88 1 a88 1 @@@@ -618,10 +615,10 @@@@ protocol lda { d101 1 a101 1 @@@@ -632,7 +629,7 @@@@ protocol lda { d110 1 a110 1 @@@@ -744,7 +741,7 @@@@ auth default { d119 1 a119 1 @@@@ -772,13 +769,13 @@@@ auth default { @ 1.13 log @Update dovecot to 1.0 beta9. From the release notes: Fixes a lot of bugs. The next release will be the first "release candidate" instead of a beta. * PAM: Don't call pam_setcred() unless setcred=yes PAM passdb argument was given. * Moved around settings in dovecot-example.conf to be in more logical groups. + Local delivery agent (deliver binary) works again. + LDAP: Added support for SASL binding. Patch by Geert Jansen + ssl_verify_client_cert: Check CRLs. If auth_verbose=yes, log invalid sent certificates. If verbose_ssl=yes, log even the valid certificates. When using the username from the certificate, use CommonName. Based on patch by HenkJan Wolthuis + PAM: Set PAM_TTY which is needed by some PAM plugins + dovecot --exec-mail ext can now be used to start binaries which want dovecot.conf to be read, for example the convert-tool. - Expunging needed to be done twice if client used STORE +FLAGS.SILENT command to set the \Deleted flags - Added sql_escape_string() to lib-sql API and use it instead of normal \-escaping. - ACL plugin fixes - DIGEST-MD5: Trying to use subsequent authentication crashed dovecot-auth. - Fetching BODY when BODYSTRUCTURE was already cached caused the reply to be broken in some cases - Lots of fixes for index file handling - dbox fixes and changes - mbox syncing broke if some extraneous/broken headers were removed (eg. extra X-IMAPbase headers in mails) - Running Dovecot from inetd work now properly with POP3 - Quota plugin fixes for calculating the quota correctly @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-06-13 18:26:36.000000000 +0200 d92 2 a93 2 - #mail_plugin_dir = /usr/lib/dovecot/imap + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/imap @ 1.12 log @Update Dovecot from 1.0beta3 to 1.0beta5. The beta4 release had SSL issues which were fixed again in beta5. patch-ac and patch-ad were taken from CVS and are not needed anymore. Changes in Dovecot 1.0beta4: * Changed the default lock_method back to fcntl. Apparently flock gives problems with some systems. * mbox: mailboxes beginning with '.' are now also listed * Replaced mail_use_modules and mail_modules settings with mail_plugins and mail_plugin_dir. Now instead of loading all plugins from the directory, you'll have to give a list of plugins to load. If the plugin couldn't be loaded, the process exits instead of just ignoring the problem (this is important with ACL plugin). + Added support for "master users" who can log in as other people. The master username can be given either in authorization ID string with SASL PLAIN mechanism or by setting auth_master_user_separator and giving it within the normal username string. + Added ACL plugin with ACL file backend. This however doesn't mean that there yet exists a proper shared folder support. If master user logged in as someone else, the ACLs are checked as the master user. + Added some Dovecot extensions to checkpassword passdb, see ChangeLog + Updated passwd-file format to allow specifying any key=value fields + Maildir++ quota support and several quota fixes + passdb supporting extra fields: Added "allow_nets" option which takes a comma separated list of IPs/networks where to allow user to log in. + NFS: Handle ESTALE errors the best way we can + IMAP now writes to log when client disconnects + In shared mailboxes (if dovecot-shared file exists) \Seen flags are now kept only in index files, so as long as each user has a separate index file they have separate \Seen flags. - Fixes to DIGEST-MD5 realm handling so it works with more clients - BODYSTRUCTURE -> BODY conversion from cache file was broken with mails containing message/rfc822 parts. - Fixed several memory leaks - We could have sent client FETCH notifications about messages before telling about them with EXISTS - Compiling fixes for Solaris and some other OSes - Fixed problem with internal timeout handling code, which caused eg. outlook-idle workaround to break. - If /dev/urandom didn't exist, we didn't seed OpenSSL's random number generator properly. Patch by Vilmos Nebehaj. - Maildir: Recent flags weren't always immediately removed from mails when mailbox was opened. - Several changes to SSL proxying code, hopefully making it work better. Changes in Dovecot 1.0beta5: - Beta4's SSL proxying rewrite worked worse than I thought. Reverted it back to original code. - Filesystem quota plugin now looks up the mount path correctly. @ text @d3 1 a3 1 --- dovecot-example.conf.orig 2006-03-15 10:47:59.000000000 +0100 d5 1 a5 1 @@@@ -7,17 +7,14 @@@@ d18 1 a18 2 # Protocols we want to be serving: # imap imaps pop3 pop3s d24 1 a24 1 @@@@ -43,7 +40,7 @@@@ d33 1 a33 1 @@@@ -432,19 +429,19 @@@@ d57 1 a57 1 @@@@ -454,7 +451,7 @@@@ protocol imap { d66 1 a66 1 @@@@ -494,10 +491,10 @@@@ protocol imap { d79 1 a79 1 @@@@ -549,7 +546,7 @@@@ protocol pop3 { d88 14 a101 1 @@@@ -567,7 +564,7 @@@@ protocol pop3 { d110 1 a110 1 @@@@ -664,7 +661,7 @@@@ auth default { d116 1 a116 1 # [session=yes] [cache_key=] [] d119 1 a119 1 @@@@ -688,13 +685,13 @@@@ auth default { @ 1.11 log @Revert tv's last commit: the paths in the config file ARE the real defaults (we've patched them). Wanted to wait with this for dovecot1.0beta4 but this takes longer than I thought. Not worth bumping PKGREVISION, IMO. Ok with tv. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.9 2006/02/06 17:28:09 ghen Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2006-02-06 16:39:00.000000000 +0100 d5 1 a5 1 @@@@ -5,17 +5,14 @@@@ d25 1 a25 1 @@@@ -31,7 +28,7 @@@@ d34 1 a34 1 @@@@ -420,19 +417,19 @@@@ d58 6 a63 6 @@@@ -441,7 +438,7 @@@@ protocol imap { # Support for dynamically loadable modules. #mail_use_modules = no - #mail_modules = /usr/lib/dovecot/imap + #mail_modules = @@PREFIX@@/lib/dovecot/imap d67 1 a67 1 @@@@ -481,10 +478,10 @@@@ protocol imap { d80 6 a85 6 @@@@ -535,7 +532,7 @@@@ protocol pop3 { # Support for dynamically loadable modules. #mail_use_modules = no - #mail_modules = /usr/lib/dovecot/pop3 + #mail_modules = @@PREFIX@@/lib/dovecot/pop3 d89 1 a89 1 @@@@ -553,7 +550,7 @@@@ protocol pop3 { d98 1 a98 3 @@@@ -642,7 +639,7 @@@@ auth default { # Note that PAM can only be used to verify if user's password is correct, # so it can't be used as userdb. If you don't want to use a separate user d100 2 d107 1 a107 1 @@@@ -666,13 +663,13 @@@@ auth default { @ 1.11.2.1 log @Pullup ticket 1585 - requested by ghen security update for dovecot Revisions pulled up: - pkgsrc/mail/dovecot/Makefile 1.47, 1.48, 1.49, 1.51 - pkgsrc/mail/dovecot/PLIST 1.9, 1.10 - pkgsrc/mail/dovecot/distinfo 1.26, 1.27, 1.28, 1.29 - pkgsrc/mail/dovecot/patches/patch-aa 1.6 - pkgsrc/mail/dovecot/patches/patch-ab 1.12 - pkgsrc/mail/dovecot/patches/patch-ac removed - pkgsrc/mail/dovecot/patches/patch-ad removed - pkgsrc/mail/dovecot/patches/patch-ae removed Module Name: pkgsrc Committed By: ghen Date: Tue Apr 4 09:38:46 UTC 2006 Modified Files: pkgsrc/mail/dovecot: Makefile PLIST distinfo pkgsrc/mail/dovecot/patches: patch-aa patch-ab Removed Files: pkgsrc/mail/dovecot/patches: patch-ac patch-ad patch-ae Log Message: Update Dovecot from 1.0beta3 to 1.0beta5. The beta4 release had SSL issues which were fixed again in beta5. patch-ac and patch-ad were taken from CVS and are not needed anymore. Changes in Dovecot 1.0beta4: * Changed the default lock_method back to fcntl. Apparently flock gives problems with some systems. * mbox: mailboxes beginning with '.' are now also listed * Replaced mail_use_modules and mail_modules settings with mail_plugins and mail_plugin_dir. Now instead of loading all plugins from the directory, you'll have to give a list of plugins to load. If the plugin couldn't be loaded, the process exits instead of just ignoring the problem (this is important with ACL plugin). + Added support for "master users" who can log in as other people. The master username can be given either in authorization ID string with SASL PLAIN mechanism or by setting auth_master_user_separator and giving it within the normal username string. + Added ACL plugin with ACL file backend. This however doesn't mean that there yet exists a proper shared folder support. If master user logged in as someone else, the ACLs are checked as the master user. + Added some Dovecot extensions to checkpassword passdb, see ChangeLog + Updated passwd-file format to allow specifying any key=value fields + Maildir++ quota support and several quota fixes + passdb supporting extra fields: Added "allow_nets" option which takes a comma separated list of IPs/networks where to allow user to log in. + NFS: Handle ESTALE errors the best way we can + IMAP now writes to log when client disconnects + In shared mailboxes (if dovecot-shared file exists) \Seen flags are now kept only in index files, so as long as each user has a separate index file they have separate \Seen flags. - Fixes to DIGEST-MD5 realm handling so it works with more clients - BODYSTRUCTURE -> BODY conversion from cache file was broken with mails containing message/rfc822 parts. - Fixed several memory leaks - We could have sent client FETCH notifications about messages before telling about them with EXISTS - Compiling fixes for Solaris and some other OSes - Fixed problem with internal timeout handling code, which caused eg. outlook-idle workaround to break. - If /dev/urandom didn't exist, we didn't seed OpenSSL's random number generator properly. Patch by Vilmos Nebehaj. - Maildir: Recent flags weren't always immediately removed from mails when mailbox was opened. - Several changes to SSL proxying code, hopefully making it work better. Changes in Dovecot 1.0beta5: - Beta4's SSL proxying rewrite worked worse than I thought. Reverted it back to original code. - Filesystem quota plugin now looks up the mount path correctly. --- Module Name: pkgsrc Committed By: xtraeme Date: Wed Apr 12 18:19:16 UTC 2006 Modified Files: pkgsrc/mail/dovecot: Makefile distinfo Log Message: Update to 1.0beta6: v1.0.beta6 2006-04-12 * The login and master usernames were reversed when using master_user_separator (now the order is UW-IMAP compatible). * Killing dovecot master process now kills all IMAP and POP3 processes also. + -a parameter to dovecot prints now all settings that Dovecot uses. -n prints all settings that are different from defaults. + Added pop3_lock_session setting + %M modifier returns string's MD5 sum. Patch by Ben Winslow - PLAIN SASL authentication wasn't working properly, causing failed logins with some clients (broken in beta4) - Fixes to Maildir++ quota, should actually work now - Don't crash if passwd-file has entries without passwords (eg. deny=yes databases) - Fixed prefetch userdb to work nicely with other userdbs - If master process runs out of file descriptors, don't go to infinite loop (unlikely to have happened unless the OS's default fd limit was too low) - Fixed non-plaintext password lookups from LDAP. Patch by Lior Okman - %U modifier was actually lowercasing the string. Patch by Ben Winslow --- Module Name: pkgsrc Committed By: ghen Date: Fri Apr 14 19:01:53 UTC 2006 Modified Files: pkgsrc/mail/dovecot: Makefile distinfo Log Message: Update dovecot to 1.0beta7: + Added shutdown_clients setting to control if existing imap/pop3 processes should be killed when master is. - Master login fixes, PLAIN authentication was still broken.. --- Module Name: pkgsrc Committed By: grant Date: Fri May 12 11:02:48 UTC 2006 Modified Files: pkgsrc/mail/dovecot: Makefile distinfo Log Message: update dovecot to 1.0beta8. changes since 1.0beta7: * Fixed a security hole with mbox: "1 LIST .. *" command could list all directories and files under the mbox root directory, so if your mails were stored in eg. /var/mail/%u/ directory, the command would list everything under /var/mail. + Unless nfs_check=no or mmap_disable=yes, check for the first login if the user's index directory exists in NFS mount. If so, refuse to run. This is done only on first login to avoid constant extra overhead. + If we have plugins set and imap_capability unset, figure out the IMAP capabilities automatically by running imap binary at startup. The generated capability list isn't updated until Dovecot is restarted completely, so if you add or remove IMAP plugins you should restart. If you have problems related to this, set imap_capabilities setting manually to work around it. + Added auth_username_format setting - pop3_lock_session setting wasn't really working - Lots of fixes related to quota handling. It's still not working perfectly though. - Lots of index handling fixes, especially with mmap_disable=yes - Maildir: saving mails could have sometimes caused "Append with UID n, but next_uid = m" errors - flock() locking never timeouted because ignoring SIGALRM caused the system call just to be restarted when SIGALRM occurred (probably not with all OSes though?) - kqueue: Fixed "Unrecognized event". Patch by Vaclav Haisman --- Module Name: pkgsrc Committed By: jwise Date: Fri May 12 15:47:39 UTC 2006 Modified Files: pkgsrc/mail/dovecot: PLIST Log Message: Fix missing file (lib/dovecot/pop3/lib01_quota_plugin.so) in PLIST. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.12 2006/04/04 09:38:46 ghen Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2006-03-15 10:47:59.000000000 +0100 d5 1 a5 1 @@@@ -7,17 +7,14 @@@@ d25 1 a25 1 @@@@ -43,7 +40,7 @@@@ d34 1 a34 1 @@@@ -432,19 +429,19 @@@@ d58 6 a63 6 @@@@ -454,7 +451,7 @@@@ protocol imap { # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/imap + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/imap d67 1 a67 1 @@@@ -494,10 +491,10 @@@@ protocol imap { d80 6 a85 6 @@@@ -549,7 +546,7 @@@@ protocol pop3 { # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/pop3 + #mail_plugin_dir = @@PREFIX@@/lib/dovecot/pop3 d89 1 a89 1 @@@@ -567,7 +564,7 @@@@ protocol pop3 { d98 3 a100 1 @@@@ -664,7 +661,7 @@@@ auth default { a101 2 # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM # authentication to actually work. d107 1 a107 1 @@@@ -688,13 +685,13 @@@@ auth default { @ 1.10 log @Remove the clause in dovecot-example.conf comments about configured paths, as was done in wip/dovecot-nightly. That comment is misleading with pkgsrc, since those paths are not what pkgsrc encodes into the conf file. Bump PKGREVISION (unfortunate, but there will be another beta pretty soon anyway). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- dovecot-example.conf.orig 2006-02-02 16:31:21.000000000 -0500 d5 2 a6 1 @@@@ -6,16 +6,14 @@@@ d9 1 a9 1 # any of the lines. Exception to this are paths, they're just examples d13 1 a13 1 +# with real defaults being based on configure options. d25 1 a25 1 @@@@ -31,7 +29,7 @@@@ d34 1 a34 1 @@@@ -420,19 +418,19 @@@@ d58 1 a58 1 @@@@ -441,7 +439,7 @@@@ protocol imap { d67 1 a67 1 @@@@ -481,10 +479,10 @@@@ protocol imap { d80 1 a80 1 @@@@ -535,7 +533,7 @@@@ protocol pop3 { d89 1 a89 1 @@@@ -553,7 +551,7 @@@@ protocol pop3 { d98 1 a98 1 @@@@ -642,7 +640,7 @@@@ auth default { d107 1 a107 1 @@@@ -666,13 +664,13 @@@@ auth default { @ 1.9 log @Import some improvements from the pkgsrc-wip/dovecot package (by tv@@) and correct a mistake in my previous commit: - add dependency on zlib - add option for GNU TLS as an alternative to OpenSSL - drop SASL option, it's no longer supported - explicitly disable some options with --disable-* - "s,/usr/pkg,@@PREFIX@@," in patch-ab -- I accidentally diffed it after the SUBST stage - change SUBST_STAGE from post-patch to pre-configure to avoid this in the future - bump PKGREVISION for all this Thanks to tv@@. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2006/02/06 15:54:37 ghen Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2006-02-06 16:39:00.000000000 +0100 d5 1 a5 2 @@@@ -5,17 +5,14 @@@@ # value inside quotes, eg.: key = "# char and trailing whitespace " d8 1 a8 1 -# any of the lines. Exception to this are paths, they're just examples d12 1 a12 1 +# any of the lines. d24 1 a24 1 @@@@ -31,7 +28,7 @@@@ d33 1 a33 1 @@@@ -420,19 +417,19 @@@@ d57 1 a57 1 @@@@ -441,7 +438,7 @@@@ protocol imap { d66 1 a66 1 @@@@ -481,10 +478,10 @@@@ protocol imap { d79 1 a79 1 @@@@ -535,7 +532,7 @@@@ protocol pop3 { d88 1 a88 1 @@@@ -553,7 +550,7 @@@@ protocol pop3 { d97 1 a97 1 @@@@ -642,7 +639,7 @@@@ auth default { d106 1 a106 1 @@@@ -666,13 +663,13 @@@@ auth default { @ 1.8 log @- Update mail/dovecot to 1.0beta2. The 1.0 betas are very stable, and recommended by the Dovecot author (the 0.99.x series are deprecated). Major changes: v1.0.beta2 2006-01-22 Timo Sirainen + Added SQLite support. Patch by Jakob Hirsch. + Added auth_debug_passwords setting. If it's not enabled, hide all password strings from logs. + Added mail_cache_min_mail_count and mbox_min_index_size settings which can be used to make Dovecot do less disk writes in small mailboxes where they don't benefit that much. + Added --build-ssl-parameters parameter to dovecot binary - SSL parameters were being regenerated every 10 minutes, although not with all systems. - Fixed dovecot-auth crashing at startup. Happened only with some specific compilers. - base_dir was supposed to be set world-readable, not world-writable v1.0.beta1 2006-01-16 Timo Sirainen * Almost a complete rewrite since 0.99.x, but some of the major changes are: + Index file code rewritten to do less disk I/O, wait locks less and in generate be smarter. They also support being in clustered filesystems and NFS support is mostly working also. + Mail caching is smarter. Only the data that client requests is cached. Before Dovecot opened and cached all mails when mailbox was opened the first time, which was slow. + Mbox handling code rewritten to be much faster, safer and correct + New authentication mechanisms: APOP, GSSAPI, LOGIN, NTLM and RPA. + LDAP supports authentication binds + Authentication server can cache password database lookups + Support for multiple authentication databases + Namespace configuration + Dovecot works with shared - Add an option for sqlite support. - Take over maintainership. All suggested (and ok'ed) by xtraeme. @ text @d1 1 a1 1 $NetBSD$ d39 1 a39 1 + #login_executable = /usr/pkg/libexec/dovecot/imap-login d46 1 a46 1 + # mail_executable = /usr/pkg/libexec/dovecot/rawlog /usr/pkg/libexec/dovecot/imap d51 1 a51 1 + # mail_executable = /usr/pkg/libexec/dovecot/gdbhelper /usr/pkg/libexec/dovecot/imap d54 1 a54 1 + #mail_executable = /usr/pkg/libexec/dovecot/imap d63 1 a63 1 + #mail_modules = /usr/pkg/lib/dovecot/imap d72 1 a72 1 + #login_executable = /usr/pkg/libexec/dovecot/pop3-login d76 1 a76 1 + #mail_executable = /usr/pkg/libexec/dovecot/pop3 d85 1 a85 1 + #mail_modules = /usr/pkg/lib/dovecot/pop3 d94 1 a94 1 +#auth_executable = /usr/pkg/libexec/dovecot/dovecot-auth @ 1.7 log @Update to 0.99.13. From the changelog: * GNUTLS support hasn't been working for a while, so it's not even tried to be used anymore unless explicitly wanted. + Added CRAM-MD5 authentication mechanism. Patch by Joshua Goodall + Added SMD5 and LDAP-MD5 password schemes and changed MD5 scheme to use LDAP-MD5 if the password isn't in MD5crypt format. Patch by Joshua Goodall + Workaround for some POP3 client bugs: if message doesn't contain the "end of headers" empty line, add it automatically. + vpopmail supports now all password schemes, most importantly MD5crypt works now without support from libc's crypt() - SQL and LDAP authentication was broken - SEARCH UNKEYWORD wasn't working pkgsrc changes: * Disable GNU TLS support for the time being. * Move the workaround for the gcc2 sparc64 ICE into hacks.mk. * Format DESCR. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2004/08/01 05:17:19 schmonz Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2004-12-29 13:00:24.000000000 -0500 d5 12 a16 1 @@@@ -11,7 +11,7 @@@@ d25 2 a26 2 @@@@ -27,7 +27,7 @@@@ #pop3s_listen = d34 1 a34 2 @@@@ -85,7 +85,7 @@@@ login = imap d36 54 a89 16 # Executable location. -#login_executable = /usr/libexec/dovecot/imap-login +#login_executable = @@PREFIX@@/libexec/dovecot/imap-login # User to use for the login process. Create a completely new user for this, # and don't use it anywhere else. The user must also belong to a group where @@@@ -132,7 +132,7 @@@@ login = imap login = pop3 # Exception to above rule being the executable location. -#login_executable = /usr/libexec/dovecot/pop3-login +#login_executable = @@PREFIX@@/libexec/dovecot/pop3-login ## ## Mail processes @@@@ -338,7 +338,7 @@@@ login = pop3 a92 38 -#imap_executable = /usr/libexec/dovecot/imap +#imap_executable = @@PREFIX@@/libexec/dovecot/imap # Set max. process size in megabytes. Most of the memory goes to mmap()ing # files, so it shouldn't harm much even if this limit is set pretty high. @@@@ -346,14 +346,14 @@@@ login = pop3 # Support for dynamically loadable modules. #imap_use_modules = no -#imap_modules = /usr/lib/dovecot/imap +#imap_modules = @@PREFIX@@/lib/dovecot/imap ## ## POP3 process ## # Executable location -#pop3_executable = /usr/libexec/dovecot/pop3 +#pop3_executable = @@PREFIX@@/libexec/dovecot/pop3 # Set max. process size in megabytes. Most of the memory goes to mmap()ing # files, so it shouldn't harm much even if this limit is set pretty high. @@@@ -361,7 +361,7 @@@@ login = pop3 # Support for dynamically loadable modules. #pop3_use_modules = no -#pop3_modules = /usr/lib/dovecot/pop3 +#pop3_modules = @@PREFIX@@/lib/dovecot/pop3 ## ## Authentication processes @@@@ -438,9 +438,9 @@@@ auth_userdb = passwd # vpopmail: vpopmail authentication # ldap : LDAP, see doc/dovecot-ldap.conf # pgsql : a PostgreSQL database, see doc/dovecot-pgsql.conf -auth_passdb = pam +auth_passdb = passwd d94 1 a94 1 +#auth_executable = @@PREFIX@@/libexec/dovecot/dovecot-auth d98 26 @ 1.6 log @Update to 0.99.10.9. From the changelog: 0.99.10.9 2004-07-31 Timo Sirainen - MySQL compiling got broken in last release - More PostgreSQL reconnection fixing 0.99.10.8 2004-07-30 Timo Sirainen + LDAP support compiles now with Solaris LDAP library - IMAP BODY and BODYSTRUCTURE replies were wrong for MIME parts which didn't contain Content-Type header. - MySQL and PostgreSQL auth didn't reconnect if connection was lost to SQL server - Linking fixes for dovecot-auth with some systems - Last fix for disconnecting client when downloading mail longer than 30 seconds actually made it never disconnect client. Now it works properly: disconnect when client hasn't read _any_ data for 30 seconds. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- dovecot-example.conf.orig 2004-07-13 06:56:55.000000000 -0400 d5 1 a5 13 @@@@ -1,17 +1,15 @@@@ ## Dovecot 1.0 configuration file # Default values are shown after each value, it's not required to uncomment -# any of the lines. Exception to this are paths, they're just examples -# with real defaults being based on configure options. The paths listed here -# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -# --with-ssldir=/etc/ssl +# any of the lines. Exception to this are paths, they're just examples with +# real defaults being based on configure options. # Base directory where to store runtime data. #base_dir = /var/run/dovecot/ d14 1 a14 1 @@@@ -27,7 +25,7 @@@@ d23 1 a23 1 @@@@ -82,7 +80,7 @@@@ d28 1 a28 1 +login_executable = @@PREFIX@@/libexec/dovecot/imap-login d32 1 a32 1 @@@@ -127,7 +125,7 @@@@ login = imap d37 1 a37 1 +login_executable = @@PREFIX@@/libexec/dovecot/pop3-login d41 1 a41 1 @@@@ -333,7 +331,7 @@@@ login = pop3 d46 1 a46 1 +imap_executable = @@PREFIX@@/libexec/dovecot/imap d50 1 a50 1 @@@@ -341,14 +339,14 @@@@ login = pop3 d55 1 a55 1 +imap_modules = @@PREFIX@@/lib/dovecot/imap d63 1 a63 1 +pop3_executable = @@PREFIX@@/libexec/dovecot/pop3 d67 1 a67 1 @@@@ -356,7 +354,7 @@@@ login = pop3 d72 1 a72 1 +pop3_modules = @@PREFIX@@/lib/dovecot/pop3 d76 1 a76 1 @@@@ -406,9 +404,10 @@@@ auth_userdb = passwd d80 1 a80 2 -auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf +#auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf d84 1 a84 1 +auth_executable = @@PREFIX@@/libexec/dovecot/dovecot-auth @ 1.5 log @o Re-add CRAMMD5 support (PKGREVISION++). o PLIST fix (hi xtraeme!). o Re-add two chunks for dovecot-example.conf that were forgotten. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2004/05/28 22:20:43 xtraeme Exp $ d3 1 a3 1 --- dovecot-example.conf.orig 2003-12-20 05:14:19.000000000 +0100 d26 1 a26 1 @@@@ -27,7 +27,7 @@@@ d35 1 a35 1 @@@@ -81,7 +81,7 @@@@ d44 1 a44 1 @@@@ -126,7 +126,7 @@@@ d53 1 a53 1 @@@@ -318,7 +316,7 @@@@ login = pop3 d62 1 a62 1 @@@@ -326,14 +326,14 @@@@ d79 1 a79 1 @@@@ -341,7 +341,7 @@@@ d88 1 a88 1 @@@@ -390,9 +390,10 @@@@ @ 1.4 log @Update mail/dovecot to 0.99.10.5. v0.99.10.5 2003-12-27 Timo Sirainen + MySQL authentication, patch by Matthew Reimer + --with-moduledir configure option - mbox: APPEND reversed given \Draft and \Deleted flags - mbox: "LF not found" errors happened sometimes when X-IMAPbase header was updated. Possibly corrupted mbox sometimes. Thanks to Fabrice Bellet for finding this bug. - Custom flags couldn't be unset - Maildir: make sure ":2," is appended to filename when moving mails from new/ to cur/. - Maildir: synchronization might have sometimes set wrong flags to messages, or crash completely - Maildir: RENAME xx inbox.xx didn't result as uppercased ".INBOX.xx" directory which then couldn't be accessed - Don't crash with RAND_bytes() error messages anymore. This mostly happened with Fedora/RedHat. pkgsrc changes: o Disable crammd5 patch, doesn't apply cleanly anymore. o Add a new option "DOVECOT_USE_MYSQL" to authenticate users against a mysql database. @ text @d1 1 a1 1 $NetBSD$ d3 15 a17 3 --- dovecot-example.conf.orig 2004-05-29 00:13:10.000000000 +0200 +++ dovecot-example.conf 2004-05-29 00:15:24.000000000 +0200 @@@@ -11,7 +11,7 @@@@ d53 9 @ 1.3 log @Update to 0.99.10.4 provided by Charlie Allom in PR pkg/23696. Changes: v0.99.10.4 2003-11-24 Timo Sirainen - Fixed reference counters in imap-login and pop3-login. IMAP AUTHENTICATE and POP3 AUTH commands could have left the process stuck doing nothing forever. v0.99.10.3 2003-11-24 Timo Sirainen - FETCH RFC822.HEADER returned message body as well - SUBSCRIBE broke subscription lists - LIST code rewritten, children flags should be correct now - SORT and THREAD could have given invalid replies - Partial BODY[...] fetches might have returned wrong data or at least performed worse than was necessary v0.99.10.1 2003-11-10 Timo Sirainen * mbox: \Draft and \Deleted flags used opposite flag chars in X-Status header. We were incompatible with other mbox accessing software. WARNING: Upgrading from previous version doesn't automatically swap the flags, so be careful not to accidentally expunge messages that had their \Draft flag changed to \Deleted. * Configuration file changes: - Whitespace at end of line is stripped, use quotes if you need it - # comments are supported after key=value lines. if you need '#' character, quote the value - Both " and ' quotes are supported. If you need to use them, '\' can be used for escaping. - mbox: COPY into same mailbox didn't work and could have corrupted the mailbox - Using Dovecot without index files would crash after using a while - Partial BODY[header] or BODY[part] fetches were buggy if client requested more data than was available in the header/part. - Partial BODY[...] fetches were buggy with messages that had CRLFs - Some BODY and BODYSTRUCTURE replies missed data for message/rfc822 MIME parts causing clients to break - SORT (SUBJECT) was buggy - Timezone fixes with Date-header This also includes Joshua Goodall's patch (now in the CVS tree) for CRAM-MD5 for the -release tag. @ text @d3 3 a5 15 --- dovecot-example.conf.orig 2003-12-09 04:45:27.000000000 +0100 +++ dovecot-example.conf 2003-12-09 04:50:48.000000000 +0100 @@@@ -1,17 +1,15 @@@@ ## Dovecot 1.0 configuration file # Default values are shown after each value, it's not required to uncomment -# any of the lines. Exception to this are paths, they're just examples -# with real defaults being based on configure options. The paths listed here -# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -# --with-ssldir=/etc/ssl +# any of the lines. Exception to this are paths, they're just examples with +# real defaults being based on configure options. # Base directory where to store runtime data. #base_dir = /var/run/dovecot/ d14 1 a14 1 @@@@ -27,7 +25,7 @@@@ d23 1 a23 1 @@@@ -81,7 +79,7 @@@@ d32 1 a32 1 @@@@ -126,7 +124,7 @@@@ d41 1 a41 10 @@@@ -318,7 +316,7 @@@@ ## # Executable location -#imap_executable = /usr/libexec/dovecot/imap +imap_executable = @@PREFIX@@/libexec/dovecot/imap # Set max. process size in megabytes. Most of the memory goes to mmap()ing # files, so it shouldn't harm much even if this limit is set pretty high. @@@@ -326,14 +324,14 @@@@ d58 1 a58 1 @@@@ -341,7 +339,7 @@@@ d67 1 a67 10 @@@@ -381,7 +379,7 @@@@ # ldap : LDAP, see doc/dovecot-ldap.conf # pgsql : a PostgreSQL database, see doc/dovecot-pgsql.conf #auth_userdb = passwd -auth_userdb = pgsql /usr/local/etc/dovecot-pgsql.conf +auth_userdb = passwd # Where password database is kept: # passwd: /etc/passwd or similiar, using getpwnam() @@@@ -391,9 +389,9 @@@@ d72 1 @ 1.2 log @Updated to version 0.99.10. Based on PR pkg/22028 by MAINTAINER, Tom Hensel. Changes: - Default PAM service name changed to "dovecot". This means that if you're using PAM, you most likely have to do mv /etc/pam.d/imap /etc/pam.d/dovecot If you wish to keep using imap, see doc/auth.txt. - ~/rawlog directory changed to ~/dovecot.rawlog - Faster and better maildir synchronization. We support read-only maildirs and out-of-quota conditions are handled a lot better. dovecot-uidlist file still isn't out-of-quota-safe though, but you can keep it in another location where quota isn't checked. For example: default_mail_env = Maildir:~/Maildir: INDEX=/noquota/%u:CONTROL=/noquota/%u - Read-only mboxes are supported now. - Only NOOP and CHECK now always do a mailbox sync checking. Other commands sync max. once in 5 seconds, plus always from indexes. This should reduce I/O a bit. - All NUL characters are translated to ascii #128 before sending to client. RFC prohibits sending NULs and this is how UW-IMAP handles it as well. - Make ENVELOPE, BODY and BODYSTRUCTURE replies more compact by removing multiple LWSPs and translating TABs to spaces. RFC doesn't specifically require this, but this seems to be the wanted behaviour.. - Added ANONYMOUS SASL mechanism. - More flexible user chrooting configuration in home directories: "/./" - Added support for dynamically loadable IMAP/POP3 modules. See INSTALL file for more information. - Partial fetches were broken if mails had CR+LF linefeeds - SEARCH DELETED didn't return anything if all messages were deleted - OpenSSL support was broken in many installations because we were chrooted and it couldn't open /dev/urandom. - PAM: Giving wrong password blocked the whole process for two seconds. Now we create a new process for each check. - Lots of other smaller bugfixes and better error handling @ text @d3 3 a5 3 --- dovecot-example.conf.orig Thu Jun 26 18:11:06 2003 +++ dovecot-example.conf Fri Jul 4 12:37:14 2003 @@@@ -1,10 +1,8 @@@@ a17 1 @@@@ -11,7 +9,7 @@@@ d40 1 a40 1 +#login_executable = @@PREFIX@@/libexec/dovecot/imap-login d49 1 a49 1 +#login_executable = @@PREFIX@@/libexec/dovecot/pop3-login d53 1 a53 1 @@@@ -314,7 +312,7 @@@@ d58 1 a58 1 +#imap_executable = @@PREFIX@@/libexec/dovecot/imap d62 1 a62 1 @@@@ -322,7 +320,7 @@@@ d67 1 a67 1 +#imap_modules = @@PREFIX@@/lib/dovecot/imap a70 1 @@@@ -329,7 +327,7 @@@@ d75 1 a75 1 +#pop3_executable = @@PREFIX@@/libexec/dovecot/pop3 d79 1 a79 1 @@@@ -337,7 +335,7 @@@@ d84 1 a84 1 +#pop3_modules = @@PREFIX@@/lib/dovecot/pop3 d88 10 a97 1 @@@@ -386,10 +384,10 @@@@ d101 1 a101 1 -auth_passdb = pam a103 1 # Executable location d105 1 a105 1 +#auth_executable = @@PREFIX@@/libexec/dovecot/dovecot-auth @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- dovecot-example.conf.orig 2003-04-04 14:17:25.000000000 +0200 +++ dovecot-example.conf 2003-05-13 06:00:16.000000000 +0200 @@@@ -1,17 +1,15 @@@@ d18 1 d43 2 a44 2 # User to use for the login process. The user must belong to a group where # only it has access, it's used to control access for authentication process d54 1 a54 1 @@@@ -310,7 +308,7 @@@@ d63 10 a72 1 @@@@ -321,7 +319,7 @@@@ d81 10 a90 1 @@@@ -374,10 +372,10 @@@@ @ 1.1.1.1 log @Import of dovecot-0.99.9.1: Secure IMAP and POP3 server. Dovecot is a secure and compact IMAP/POP3 server which is in the early stages of developement. It supports Maildirs and mbox formats and much of the IMAP v4 protocol including SSL/TLS. IPv6 support is also included. Package provided by Juan RP via pkgsrc-wip with modifications by me. @ text @@