The NetBSD Project

CVS log for pkgsrc/mail/dovecot/Makefile

[BACK] Up to [] / pkgsrc / mail / dovecot

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.197 / (download) - annotate - [select for diffs], Sat Nov 2 16:25:20 2019 UTC (4 weeks, 6 days ago) by rillig
Branch: MAIN
Changes since 1.196: +2 -2 lines
Diff to previous 1.196 (colored)

mail: align variable assignments

pkglint -Wall -F --only aligned -r

No manual corrections.

Revision 1.196 / (download) - annotate - [select for diffs], Sat Jul 20 22:46:30 2019 UTC (4 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.195: +2 -2 lines
Diff to previous 1.195 (colored)

*: recursive bump for nettle 3.5.1

Revision 1.195 / (download) - annotate - [select for diffs], Mon Jun 24 10:59:41 2019 UTC (5 months, 1 week ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.194: +2 -2 lines
Diff to previous 1.194 (colored)

More http -> https.

Reviewed by hand.

Revision 1.194 / (download) - annotate - [select for diffs], Thu May 23 19:23:05 2019 UTC (6 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.

Revision 1.193 / (download) - annotate - [select for diffs], Wed Apr 3 00:32:51 2019 UTC (8 months ago) by ryoon
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192 (colored)

Recursive revbump from textproc/icu

Revision 1.192 / (download) - annotate - [select for diffs], Sun Dec 9 18:52:35 2018 UTC (11 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.191: +2 -2 lines
Diff to previous 1.191 (colored)

revbump after updating textproc/icu

Revision 1.191 / (download) - annotate - [select for diffs], Fri Jul 20 03:34:19 2018 UTC (16 months, 2 weeks ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.190: +2 -2 lines
Diff to previous 1.190 (colored)

Recursive revbump from textproc/icu-62.1

Revision 1.190 / (download) - annotate - [select for diffs], Tue Apr 17 22:29:42 2018 UTC (19 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.189: +2 -2 lines
Diff to previous 1.189 (colored)

Add p11-kit to gnutls/ and bump dependencies.

Revision 1.189 / (download) - annotate - [select for diffs], Sat Apr 14 07:34:30 2018 UTC (19 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored)

revbump after icu update

Revision 1.188 / (download) - annotate - [select for diffs], Thu Nov 30 16:45:29 2017 UTC (2 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

Revbump after textproc/icu update

Revision 1.187 / (download) - annotate - [select for diffs], Mon Sep 18 09:53:26 2017 UTC (2 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
Changes since 1.186: +2 -2 lines
Diff to previous 1.186 (colored)

revbump for requiring ICU 59.x

Revision 1.186 / (download) - annotate - [select for diffs], Sat Apr 22 21:03:41 2017 UTC (2 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.185: +2 -2 lines
Diff to previous 1.185 (colored)

Revbump after icu update

Revision 1.185 / (download) - annotate - [select for diffs], Thu Apr 6 14:18:38 2017 UTC (2 years, 8 months ago) by gdt
Branch: MAIN
Changes since 1.184: +4 -1 lines
Diff to previous 1.184 (colored)

Note eol

Note that dovecot 1.2 is eol, and why it isn't being deleted.

Revision 1.184 / (download) - annotate - [select for diffs], Sun Dec 4 05:17:32 2016 UTC (3 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (colored)

Recursive revbump from textproc/icu 58.1

Revision 1.183 / (download) - annotate - [select for diffs], Sun Oct 9 21:42:00 2016 UTC (3 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored)

Recursive bump for all users of pgsql now that the default is 95.

Revision 1.182 / (download) - annotate - [select for diffs], Mon Sep 19 13:04:23 2016 UTC (3 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored)

Recursive PKGREVISION bump for gnutls shlib major bump.

Revision 1.181 / (download) - annotate - [select for diffs], Mon Apr 11 19:01:55 2016 UTC (3 years, 7 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.180: +2 -2 lines
Diff to previous 1.180 (colored)

Recursive revbump from textproc/icu 57.1

Revision 1.180 / (download) - annotate - [select for diffs], Sat Mar 5 11:28:47 2016 UTC (3 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.179: +2 -2 lines
Diff to previous 1.179 (colored)

Bump PKGREVISION for security/openssl ABI bump.

Revision 1.179 / (download) - annotate - [select for diffs], Sat Oct 10 01:58:12 2015 UTC (4 years, 1 month ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored)

Recursive revbump from textproc/icu

Revision 1.178 / (download) - annotate - [select for diffs], Sun Aug 23 14:30:38 2015 UTC (4 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.177: +2 -2 lines
Diff to previous 1.177 (colored)

Bump PKGREVISION for nettle shlib major bump.

Revision 1.177 / (download) - annotate - [select for diffs], Mon Apr 6 08:17:31 2015 UTC (4 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored)

Revbump after updating textproc/icu

Revision 1.176 / (download) - annotate - [select for diffs], Wed Jan 28 17:44:28 2015 UTC (4 years, 10 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored)

Fix URL for sieve distribution files.

Revision 1.175 / (download) - annotate - [select for diffs], Fri Jan 23 12:17:47 2015 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.174: +2 -2 lines
Diff to previous 1.174 (colored)

Fix for CVE-2014-3430.
Based on
adapted to pkgsrc by Edgar Fu in PR 49599.

regen patch-ab while here

Revision 1.174 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:38 2014 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base
Branch point for: pkgsrc-2014Q4
Changes since 1.173: +1 -3 lines
Diff to previous 1.173 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.173 / (download) - annotate - [select for diffs], Tue Oct 7 16:47:29 2014 UTC (5 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 (colored)

Revbump after updating libwebp and icu

Revision 1.172 / (download) - annotate - [select for diffs], Sat Jun 14 10:16:40 2014 UTC (5 years, 5 months ago) by wiedi
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored)

fix SMF Manifest installation by not overwriting INSTALLATION_DIRS

Revision 1.171 / (download) - annotate - [select for diffs], Wed Apr 9 07:27:11 2014 UTC (5 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored)

recursive bump from icu shlib major bump.

Revision 1.170 / (download) - annotate - [select for diffs], Wed Feb 12 23:18:07 2014 UTC (5 years, 9 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored)

Recursive PKGREVISION bump for OpenSSL API version bump.

Revision 1.169 / (download) - annotate - [select for diffs], Sat Oct 19 09:07:07 2013 UTC (6 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored)

Revbump after updating textproc/icu

Revision 1.168 / (download) - annotate - [select for diffs], Fri Jul 12 10:44:56 2013 UTC (6 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored)

Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.

Revision 1.167 / (download) - annotate - [select for diffs], Thu May 9 07:40:03 2013 UTC (6 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored)

Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu.

Revision 1.166 / (download) - annotate - [select for diffs], Sat Apr 13 07:55:05 2013 UTC (6 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored)

Hand in maintainership.

Revision 1.165 / (download) - annotate - [select for diffs], Sat Mar 2 20:33:26 2013 UTC (6 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored)

Bump PKGREVISION for mysql default change to 55.

Revision 1.164 / (download) - annotate - [select for diffs], Wed Feb 6 23:22:42 2013 UTC (6 years, 9 months ago) by jperkin
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored)

PKGREVISION bumps for the security/openssl 1.0.1d update.

Revision 1.163 / (download) - annotate - [select for diffs], Sat Jan 26 21:38:07 2013 UTC (6 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored)

Revbump after graphics/jpeg and textproc/icu

Revision 1.162 / (download) - annotate - [select for diffs], Sun Dec 16 01:52:20 2012 UTC (6 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

recursive bump from cyrus-sasl libsasl2 shlib major bump.

Revision 1.161 / (download) - annotate - [select for diffs], Mon Oct 8 12:19:08 2012 UTC (7 years, 1 month ago) by asau
Branch: MAIN
Changes since 1.160: +1 -2 lines
Diff to previous 1.160 (colored)

Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

Revision 1.160 / (download) - annotate - [select for diffs], Fri Apr 27 12:31:52 2012 UTC (7 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored)

Recursive bump from icu shlib major bumped to 49.

Revision 1.159 / (download) - annotate - [select for diffs], Wed Nov 16 04:18:25 2011 UTC (8 years ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.158: +3 -2 lines
Diff to previous 1.158 (colored)

Add missing archivers/bzip2 buildlink.


Revision 1.158 / (download) - annotate - [select for diffs], Tue Jun 14 09:37:17 2011 UTC (8 years, 5 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

Enable "pam" option in "dovecot" packages by default as most platforms
supported by "pkgsrc" provide PAM support out of the box.

Change approved by Geert Hendrickx.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Jun 10 21:57:08 2011 UTC (8 years, 5 months ago) by obache
Branch: MAIN
Changes since 1.156: +2 -1 lines
Diff to previous 1.156 (colored)

recursive bump from icu shlib major bump.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Jun 9 13:15:35 2011 UTC (8 years, 6 months ago) by obache
Branch: MAIN
Changes since 1.155: +3 -3 lines
Diff to previous 1.155 (colored)

Update SIEVE_VERSION to 0.1.19
Update MANAGESIEVE_VERSION to 0.11.13, for dovecot-1.2.17.
rest part of PR#44970.

v0.1.19 19-05-2011 Stephan Bosch <>

	- Enotify extension: fixed inappropriate return type in mailto URI parse
	  function, also fixing ARM compiler warning.
	- Vacation extension: fixed handling of sendmail errors. It produced an
	  additional confusing success message in case of error.
	- Removed header MIME-decoding to fix erroneous address parsing. Applies to
	  address test and vacation command.

	- ManageSieve: fixed bug in UTF-8 checking of string values.

Revision 1.155 / (download) - annotate - [select for diffs], Fri May 13 07:34:48 2011 UTC (8 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.154: +7 -10 lines
Diff to previous 1.154 (colored)

Changes 1.2.17:
* Fixed potential crashes and other problems when parsing header names
  that contained NUL characters.
* IMAP: Fixed a memory leak with ESEARCH command handling
* Quota warnings could have been executed at incorrect times with
  some configs.

Revision 1.154 / (download) - annotate - [select for diffs], Fri Apr 22 14:40:43 2011 UTC (8 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.153: +2 -1 lines
Diff to previous 1.153 (colored)

recursive bump from gettext-lib shlib bump.

Revision 1.153 / (download) - annotate - [select for diffs], Sat Nov 20 15:57:11 2010 UTC (9 years ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

Update Dovecot to 1.2.16.

- imap: Fixed SELECT QRESYNC not to crash on mailbox close if a lot
  of changes were being sent.
- pop3: Fixed a potential hang
- mbox: Creating new mailboxes should base permissions on mail root
  dir, not always use 0600.
- auth: Disable auth caching entirely for master users.

Revision 1.152 / (download) - annotate - [select for diffs], Tue Oct 5 06:53:27 2010 UTC (9 years, 2 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.151: +4 -4 lines
Diff to previous 1.151 (colored)

Update Dovecot to 1.2.15, Sieve plugin to 0.1.18, ManageSieve to 0.11.12
(bugfixes only).

Changelog for Dovecot 1.2.15:

* acl: Fixed the logic of merging multiple ACL entries. Now it works as
  documented, while previously it could have done slightly different
  things depending on the order of the entries.

  For details see

* acl: Don't give admin rights to all owner mailboxes. This was
  originally done to make sure that mailbox owner couldn't accidentally
  remove their own admin rights. But this is already prevented by
  SETACL command, so it's not necessary. Also sysadmin may have
  intentionally removed some admin rights from some mailboxes
  (especially when using symlinked shared mailboxes).

- Maildir: Fixed potential "Duplicate file entry" in dovecot-uidlist
  file errors.
- Maildir: Avoid unnecessary uidlist recreation during mail delivery.
- imap: When SELECT fails, it didn't close the previous mailbox.
- Dovecot master process could have died if it got SIGCHLD signals
  very rapidly while it was trying to log. This could have happened
  for example if a lot of imap/pop3 sessions disconnected at the exact
  same time.

Changelog for Sieve 0.1.18:

- Imap4flags: fixed segfault bug occuring in multiscript context.
  Occured in specific situations when a script using imap4flags was
  followed in the sequence by scripts not using imap4flags.
- Imap4flags: fixed bug in setflag command; when parameter was a
  stringlist, only the last item was actually set.
- Prevented assertion failure due to currupt binary string
  representation. If the string were missing a final \0 character an
  assertion was produced in stead of a binary corruption error.
- Multiscript: fixed duplicate implicit keep caused by erroneous
  execution state update.
- Fixed Sieve script name checking to properly handle length limit
  and added 0x00ff as invalid character.
- Removed spurious old stdio.h (top) includes; these caused compile
  issues on specific systems.
- Fixed default Sieve capability (as reported by ManageSieve): extra
  extensions spamtest, spamtestplus and virustest were enabled by
  default. These should, however, only be enabled when properly
  configured and there is no default configuration.
- Variables extension: fixed :length set modifier to recognize utf8
  characters in stead of octets.
- Fixed unnecessary reporting of dummy extensions in ManageSieve
  SIEVE capability; the comparator-i;octet and
  comparator-i;ascii-numeric 'extensions' were reported explicitly.
- LDA Sieve plugin: added _version symbol to enable Dovecot's plugin
  version check. Without this check, people can forget to recompile
  the plugin, which can lead to unexpected effects.

Changelog for ManageSieve 0.11.12:

- Fixed error handling of PUTSCRIPT commmand; save commit errors
  would not make the command fail.
- Fixed PUTSCRIPT bug causing it to hang when given an empty script

Revision 1.151 / (download) - annotate - [select for diffs], Fri Sep 24 14:17:37 2010 UTC (9 years, 2 months ago) by ghen
Branch: MAIN
Changes since 1.150: +2 -2 lines
Diff to previous 1.150 (colored)

Update Dovecot to 1.2.14.

+ virtual mailboxes: Added support for IDLE notifications.
- master: Don't crash on config reload when using dict processes.
- IMAP: QRESYNC parameters for SELECT weren't handled correctly.

Revision 1.150 / (download) - annotate - [select for diffs], Sun Jul 25 22:17:19 2010 UTC (9 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored)

Update Dovecot to 1.2.13.

This release fixes a bug in ACL plugin, which could be considered a security
bug: If Maildir is used with default settings (INBOX is same as Maildir root
dir) and user set some ACLs to INBOX, those ACLs were copied to all newly
created mailboxes. This should have been done only for "default ACLs", but with
Maildir the INBOX directory is the same as the default ACL directory, so this
mixup happened. This bug exists only in v1.2.x releases.

Other fixes:

- Fixed iconv() crash when it was processing several kilobytes of broken
  continuous input. This mainly could have caused a problem with IMAP SEARCH.
  Possibly also with some Sieve checks.
- If MIME encoded-words contained line feeds, Dovecot logged cache corruption
- mbox: Renaming mailbox under newly created dir didn't move index directory.
- mbox: When generating envelope to From_-line, don't append a second
  @owndomain if username already has one.

Revision 1.149 / (download) - annotate - [select for diffs], Sun Jun 20 09:55:52 2010 UTC (9 years, 5 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base
Branch point for: pkgsrc-2010Q2
Changes since 1.148: +1 -2 lines
Diff to previous 1.148 (colored)


Revision 1.148 / (download) - annotate - [select for diffs], Sun Jun 20 09:54:48 2010 UTC (9 years, 5 months ago) by ghen
Branch: MAIN
Changes since 1.147: +3 -3 lines
Diff to previous 1.147 (colored)

Update Dovecot to 1.2.12, and Pigeonhole Sieve to 0.1.17.

ChangeLog for Dovecot 1.2.12:

- deliver: Don't crash when a message with Auto-submitted: header gets
- lib-storage: Fixed header searches to work correctly when there are
  multiple headers with same name.
- dict client: Disconnect from dict server after 1 second of idling.
- dict: If process crashed, it wasn't automatically restarted
- dict file: If dict file's group permissions equal world permissions,
  don't try to change its gid.
- maildir: Fixed a memory leak when copying with hardlinks.
- maildir: Expunging last messages may have assert-crashed if their
  filenames had just changed.

Changelog for Sieve 0.1.17:

- Made sure source code positions for compiler messages are recorded
  at start of tokens.
- Fixed a few potential memory leaks in the Sieve compiler and the
  spam/virustest extensions.
- Made command line tools return proper exit status upon failure.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Jun 13 23:01:50 2010 UTC (9 years, 5 months ago) by erh
Branch: MAIN
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored)

Doveget becomes unhappy and exits if the time jumps after it starts, so make
 it start after ntpdate runs.

Revision 1.146 / (download) - annotate - [select for diffs], Mon May 3 19:19:00 2010 UTC (9 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

load_rc_config prior to setting a default for dovecot_fdlimit in the
rc.d script, so it can be overridden from rc.conf.  From Edgar Fu.

Revision 1.145 / (download) - annotate - [select for diffs], Fri Apr 30 10:43:26 2010 UTC (9 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.144: +3 -2 lines
Diff to previous 1.144 (colored)

Update the Pigeonhole Sieve plugin to 0.1.16, bump dovecot's PKGREVISION.

The main thing that this new release adds is full support for the spamtest,
spamtestplus and virustest extensions. These extensions implement a uniform
means of testing the content spam/virus status headers in mail messages:

Not many people have tested these new features yet and therefore these are
currently considered experimental. Test these thoroughly before you start using
them! Documentation is available in share/doc/dovecot/spamtest-virustest.txt

Changelog Sieve v0.1.16:

   * Finished implementation of spamtest, spamtestplus and virustest
     extensions. These are not enabled by default and need to be
     activated with the sieve_extensions setting. Documentation available
     in doc/spamtest-virustest.txt
   + Vacation extension: the from address of the generated reply is now
     by default equal to whatever known recipient alias matched the
     headers of the message. If it is one of the aliases specified with
     :addresses, it is used in stead of the envelope recipient address
     that was used before.
   + Restructured and optimized the lexical scanner.
   + Added --with-docs configure option to allow disabling installation
     of documentation.
   - Accidentally omitted 'extern' in two declarations of global
     variables in header files, causing compile failures on certain
   - Deprecated imapflags extension: fixed implicit assignment of flags.
     Turns out this never really worked, but the effect of this bug was
     obscured by the removeflag bug fixed in the previous release.
   - Fixed various memset argument mixups in enotify extension. This
     caused warnings on certain systems, but luckily no adverse effects
     at runtime.

Revision 1.144 / (download) - annotate - [select for diffs], Thu Mar 18 06:26:19 2010 UTC (9 years, 8 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.143: +2 -2 lines
Diff to previous 1.143 (colored)

Update to Dovecot 1.2.11.

mbox users really should upgrade, because by sending a message with a huge
header you could basically cause a DoS (this problem exists only with v1.2.x,
not with v1.0 or v1.1).

- mbox: Message header reading was unnecessarily slow. Fetching a huge header
  could have resulted in Dovecot eating a lot of CPU.  Also searching messages
  was much slower than necessary.
- mbox, dbox, cydir: Mail root directory was created with 0770 permissions,
  instead of 0700.
- maildir: Reading uidlist could have ended up in an infinite loop.
- IMAP IDLE: v1.2.7+ caused extra load by checking changes every 0.5 seconds
  after a change had occurred in mailbox

Revision 1.143 / (download) - annotate - [select for diffs], Mon Jan 25 12:31:20 2010 UTC (9 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.142: +4 -4 lines
Diff to previous 1.142 (colored)

Update to Dovecot 1.2.10, Sieve 0.1.15 and ManageSieve 0.11.11.

Changelog for Dovecot 1.2.10:

	+ %variables now support %{host}, %{pid} and %{env:ENVIRONMENT_NAME}
	+ LIST-STATUS capability is now advertised
	- maildir: Fixed several assert-crashes.
	- imap: LIST "" inbox shouldn't crash when using namespace with
	  "INBOX." prefix.
	- lazy_expunge now ignores non-private namespaces.

Changelog for Sieve 0.1.15:

  * Enotify extension:
     - Adjusted notify method API for addition of new notification
     - Set default importance level to 'normal' (was 'high').
  * Include extension: updated implementation towards most recent
    specification (all should be backwards compatible):
     - Implemented global variables namespace.
     - Global command may now appear anywhere in a script.
     - Implemented script name checking using the requirements specified
       in the ManageSieve draft.
     - One issue remains: ManageSieve currently requires included scripts
       to be uploaded first, which is not according to specification.
   * Changed envelope path parser to allow to and from envelope addresses
     that have no domain part.
   + Added preliminary support for Sieve plugins and added support for
     installing Sieve development headers.
   + Started work on the implementation of the spamtest, spamtestplus and
     virustest extensions (unfinished).
   + Deprecated notify extension: implemented denotify command.
   + Variables extension: added support for variable namespaces.
   + Added configurable script size limit. Compiler will refuse to
     compile files larger than sieve_max_script_size.
   + Testsuite changes:
      - Added support for changing and testing an extension's
      - Added a command line parameter for copying errors to stderr.
   - Fixed a bug in the i;ascii-numeric comparator. If one of the
     strings started with a non-digit character, the comparator would
     always yield less-than.
   - Imap4flags extension: fixed bug in removeflag: removing a single
     flag failed due to off-by-one error (bug report by Julian Cowley).
   - Improved EACCES error messages for stat() and lstat() syscalls and
     slightly improved error messages that may uccur when saving a
   - Vacation extension: fixed typo in runtime log message (patch by
     Julian Cowley).
   - Fixed use of minus '-' in man pages; it is now properly escaped.
   - Fixed parser recovery. In particular cases it would trigger spurious
     errors after an initial valid error and sometimes additional errors
     were inappropriately ignored.

Changelog for ManageSieve 0.11.11:

   * This release contains adjustments to match changes in the Sieve API.
     This means that this release will only compile against Pigeonhole
     Sieve v0.1.15.
   + Implemented ManageSieve QUOTA enforcement.
   + Added MAXREDIRECTS capability after login.
   + Implemented new script name rules specified in most recent
     ManageSieve draft.
   - Fixed assertion failure occuring with challenge-response SASL
   - Made configure complain about trying to compile against installed
     Dovecot headers alone.
   - Fixed compile warning for compilation against CMUSieve.

Revision 1.142 / (download) - annotate - [select for diffs], Fri Jan 15 18:41:11 2010 UTC (9 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.141: +4 -4 lines
Diff to previous 1.141 (colored)

Update to Dovecot 1.2.9, Sieve 0.1.14 and ManageSieve 0.11.10.

Changelog for Dovecot 1.2.9:

	* maildir: When saving, filenames now always contain ,S=<size>.
	  Previously this was done only when quota plugin was loaded. It's
	  required for zlib plugin and may be useful for other things too.

	+ lazy-expunge: Support a single-namespace configuration. If a mailbox
	  is deleted, its messages are merged with its old expunged messages
	  (if there were any).
	+ expire: Settings now support spaces in mailbox names by using
	  quoted strings.
	- maildir: v1.2.7 and v1.2.8 caused assert-crashes in
	- maildir_copy_preserve_filename=yes could have caused crashes.
	- Maildir++ quota: % limits weren't updated when limits were read
	  from maildirsize.
	- virtual: v1.2.8 didn't fully fix the "lots of mailboxes" bug
	- virtual: Fixed updating virtual mailbox based on flag changes.
	- fts-squat: Fixed searching multi-byte characters.

Changelog for Sieve 0.1.14:

   * Made the imposed limits on the number of redirects and the number
     of actions configurable. The settings are called sieve_max_actions
     and sieve_max_redirects.
   * Did a major rework of extension handling, making sure that no global
     state is maintained. This change was triggered by problems that
     global state info would cause for Dovecot v2.0, but it is also
     important for v1.2 as it significantly cleans up the library
   + Made LDA Sieve plugin recognize the deliver_log_format setting.
   + Message headers produced from user-supplied data are now
     RFC2047-encoded if necessary for outgoing messages. This is for
     example important for the :subject argument of the vacation action.
   + Added support for the $text$ substitution in the deprecated notify
   + The subaddress extension now also accepts recipient_delimiter
     setting as an alias for sieve_subaddress_sep setting. This
     anticipates the recipient_delimiter setting in v2.0.
   - Fixed logging of mailbox names. It logged the converted mUTF7
     version in stead of the original UTF8 version supplied by the user.
   - Fixed a minor memory leak in the multiscript support.
   - Fixed a bug in the recompilation of Sieve scripts. Made sure that
     scripts are only recompiled when the script file - or the symlink
     pointing to it - is strictly newer.

Changelog for ManageSieve 0.11.10:

   * This release contains adjustments to match changes in the Sieve API.
     This means that this release will only compile against Pigeonhole
     Sieve v0.1.14.
   - Fixed compilation of ManageSieve against CMUSieve.

Revision 1.141 / (download) - annotate - [select for diffs], Fri Dec 11 20:52:21 2009 UTC (9 years, 11 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.140: +29 -6 lines
Diff to previous 1.140 (colored)

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:

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,
	+ 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:
	+ Autocreate plugin:
	+ Listescape plugin:

Revision 1.140 / (download) - annotate - [select for diffs], Sat Nov 14 15:53:52 2009 UTC (10 years ago) by ghen
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored)

Update to Dovecot 1.1.20.

* Upgraded to Unicode 5.2.0
- Maildir: Fixed crash when using a lot of keywords.
- file_set_size() was broken with OSes that didn't support posix_fallocate()
  (almost everyone except Linux), causing all kinds of index file errors.

Revision 1.139 / (download) - annotate - [select for diffs], Mon Sep 14 06:09:08 2009 UTC (10 years, 2 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

Update to Dovecot 1.1.19.

- file_set_size() was broken with OSes that didn't support posix_fallocate()
  (almost everyone except Linux), causing all kinds of index file errors.
- ldap: Fixed hang when >128 requests were sent at once.
- Fixed a crash in saving messages where message contained a CR character that
  wasn't followed by LF (and the CR happened to be the last character in an
  internal buffer).
- deliver: Don't send rejects to any messages that have Auto-Submitted header.
  This avoids emails loops.
- Message decoding fixes (mainly for IMAP SEARCH, Sieve).

Revision 1.138 / (download) - annotate - [select for diffs], Tue Aug 11 11:33:58 2009 UTC (10 years, 3 months ago) by ghen
Branch: MAIN
Changes since 1.137: +2 -2 lines
Diff to previous 1.137 (colored)

Update to Dovecot 1.1.18.

+ dovecot -n/-a now outputs also lda settings.
- Maildir++ quota: Quota was sometimes updated wrong when it was
  being recalculated.
- Searching quoted-printable message body internally converted "_"
  characters to spaces and didn't match search keys with "_".
- Messages in year's first/last day may have had broken timezones
  with OSes not having struct tm->tm_gmtoff (e.g. Solaris).

Revision 1.137 / (download) - annotate - [select for diffs], Tue Aug 11 10:45:01 2009 UTC (10 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.136: +2 -1 lines
Diff to previous 1.136 (colored)

Set license to "mit", "gnu-lgpl-v2.1" and "modified-bsd".

Revision 1.136 / (download) - annotate - [select for diffs], Mon Jul 13 08:00:10 2009 UTC (10 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.135: +2 -3 lines
Diff to previous 1.135 (colored)

Update to Dovecot 1.1.17.  manu's patch-ai has been included upstream.

- IMAP: Don't crash if IDLE command is pipelined after a long-running
- IMAP: Some FETCH command parameters were broken with in some OSes.
- mbox: New mailboxes were created with UIDVALIDITY 1.
- mbox: Don't write garbage to mbox if message doesn't have a body.
- Maildir: Fixed using in-memory indexes when some required directory
  was missing.
- auth: Don't assert-crash if trying to log in as master user but
  with empty login username.
- Transaction log dotlocking ignored mail_nfs_index and
  dotlock_use_excl settings.
- convert plugin / convert-tool: Fixed changing hierarchy separators
  in mailbox names when alt_hierarchy_char isn't set.
- Several fixes to expire plugin / expire-tool
- zlib: Give better error messages on failures.

Revision 1.135 / (download) - annotate - [select for diffs], Thu Jun 25 09:54:14 2009 UTC (10 years, 5 months ago) by manu
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base
Branch point for: pkgsrc-2009Q2
Changes since 1.134: +2 -1 lines
Diff to previous 1.134 (colored)

Enlarge the buffer for communication between auth worker client and server.
This allows exotic authentications that use a large data payload to work.
This patch has been committed upstream.

Revision 1.134 / (download) - annotate - [select for diffs], Wed Jun 3 07:10:20 2009 UTC (10 years, 6 months ago) by ghen
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

Update to Dovecot 1.1.16.

Fixes a couple of bugs in v1.1.15's changes. Hopefully the last v1.1 release
before v1.2.0.

- v1.1.15 could have crashed if mailbox-closing command was pipelined after a
  mailbox-accessing command.
- v1.1.15's zlib plugin may have caused crashes when fetching INTERNALDATE.
- Maildir: If messages had been deleted externally from new/ directory and
  mailbox was opened with EXAMINE, Dovecot didn't immediately notice that the
  messages were deleted.
- If message body started with a space, some operations could have assert-

Revision 1.133 / (download) - annotate - [select for diffs], Wed May 20 08:07:38 2009 UTC (10 years, 6 months ago) by ghen
Branch: MAIN
Changes since 1.132: +2 -3 lines
Diff to previous 1.132 (colored)

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
- expire-tool: Use mail_uid and mail_gid settings if userdb doesn't return
- Berkeley DB dict: Transaction rollbacking was implemented wrong.
- zlib plugin: Some email / FETCH command combinations could have disconnected
  the client or sent compressed garbage.

Revision 1.132 / (download) - annotate - [select for diffs], Mon May 11 08:54:49 2009 UTC (10 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.131: +2 -1 lines
Diff to previous 1.131 (colored)

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.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Apr 20 14:06:17 2009 UTC (10 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

Update to Dovecot 1.1.14.

* IMAP: Don't allow APPEND to specify INTERNALDATE more than 2 hours
  into future. With Maildir future INTERNALDATEs may mess up incremental

- Date: header was always being added to cache file when saving messages,
  even if clients didn't really want it. This caused POP3-only users to
  have dovecot.index.cache file unneededly.
- Character set conversion in specific mails may have caused Dovecot to
  allocate all the available memory (in default configuration dying after
  having allocated 256 MB). This happened only while searching messages.
- Message address parser didn't handle empty group:; correctly.
- imap/pop3-login: Don't crash when shutting down and destroying clients.
- deliver wasn't using mail_access_groups setting.
- mbox: When doing autodetection, if mbox didn't find an existing mail
  directory it just went and created it anyway, instead of failing the
  storage creation.
- Fixed some error handling in maildir and index code.

Revision 1.130 / (download) - annotate - [select for diffs], Thu Mar 19 09:04:44 2009 UTC (10 years, 8 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base
Branch point for: pkgsrc-2009Q1
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored)

Update to Dovecot 1.1.13, there were two regressions in 1.1.12:

- v1.1.12's MAILBOXDIR changes broke accessing mails in some setups
- v1.1.12's login_executable -D checking changes caused dovecot to
  crash at startup if protocols setting contained only pop3.
- mbox: pop3_lock_session=3Dyes was broken with mail_privileged_group.

Revision 1.129 / (download) - annotate - [select for diffs], Wed Mar 18 08:47:15 2009 UTC (10 years, 8 months ago) by ghen
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

Update to Dovecot 1.1.12.  Changes since 1.1.11:

* Added :MAILBOXDIR= to mail_location to specify the root dir for
  mailboxes. dbox users should migrate to ":MAILBOXDIR=mailboxes",
  because that's going to be the default in v1.2+.

+ Linux: Adding -D parameter to login_executable makes login processes
  dump core to login_dir if they crash.
- IMAP: SELECT didn't always return first unseen message in reply
- POP3: pop3_lock_session=yes didn't use mail_privileged_group while
- mbox: Don't crash if >=8192 bytes long line begins with "From ".
- Maildir: More fixes to handling over 26 keywords.
- Several logging fixes and improvements
- Fixed authentication caching with non-plaintext mechanisms when using
  a blocking passdb (e.g. MySQL)
- Fixed DIGEST-MD5 authentication with user@domain style usernames.

Revision 1.128 / (download) - annotate - [select for diffs], Wed Feb 4 18:36:54 2009 UTC (10 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored)

Update to Dovecot 1.1.11.

- IMAP: PERMANENTFLAGS list didn't contain \*, causing some clients
  not to save keywords.
- dbox: INTERNALDATE and save date was returned wrong for converted
  maildir files.
- auth: Using "username" or "domain" passdb fields caused problems
  with cache and blocking passdbs in v1.1.8 .. v1.1.10.
- userdb prefetch + blocking passdbs was broken with non-plaintext
  auth in v1.1.8 .. v1.1.10.
- If mail_chroot is set, don't fail at startup in dump-capability.

Revision 1.127 / (download) - annotate - [select for diffs], Tue Jan 27 08:29:31 2009 UTC (10 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored)

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

Revision 1.126 / (download) - annotate - [select for diffs], Sat Jan 24 10:51:35 2009 UTC (10 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

Update to Dovecot 1.1.9.  From the release announcement mail:

Lots of small dbox fixes, hopefully migrations from Maildir are now working

+ 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
+ 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.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Jan 8 00:02:43 2009 UTC (10 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

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

Revision 1.124 / (download) - annotate - [select for diffs], Mon Nov 24 09:54:29 2008 UTC (11 years ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base
Branch point for: pkgsrc-2008Q4
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

Update to Dovecot 1.1.7.  Changes since 1.1.6:

* IMAP QUOTA extension now returns "MESSAGE" quota, not "MESSAGES".
  This makes Dovecot now RFC 2087 compliant. Hopefully this change
  doesn't break anyone's Dovecot-specific quota checking code..

+ Added !include and !include_try directives to config file reader.
  Note that !include doesn't currently work with deliver. The main
  point here is that ssl_key_password can be placed to a different
  file with !include_try that deliver can just ignore.
+ More error/debug message logging improvements.
- v1.1.6 gave "userdb didn't return a home directory" error at startup
- Some config file parsers (deliver, passwd-file, acl, trash) ignored
  the file's last line if it didn't end with LF.
- fts: SEARCH SUBJECT didn't search messages that weren't already
  in fts index.
- fts-solr: Don't assert-crash if we couldn't connect to Solr.
- IMAP: Mailbox deletion gave an error, but still worked, if mails'
  control directory wasn't the same as index directory.
- Several fixes to rarely used mailbox list layout configurations.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Nov 2 16:19:53 2008 UTC (11 years, 1 month ago) by adrianp
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

Update to 1.1.6
Ok'ed geert@
The invalid message address parsing bug is pretty important since it
allows a remote user to send broken mail headers and prevent the
recipient from accessing the mailbox afterwards, because the process
will always just crash trying to parse the header. This is assuming that
the IMAP client uses FETCH ENVELOPE command, not all do. Note that it
doesn't affect versions older than v1.1.4.

	+ dovecot -n and -a now prints some system information at the top.
	+ More error/debug message logging improvements.
	- pop3-login: Fixed assert-crash if a client sent USER+PASS+USER+PASS
	  commands in the same IP packet.
	- Parsing an invalid message address like "From: (" caused an
	  assert-crash in v1.1.4 and v1.1.5.
	- Folding whitespace wasn't handled correctly inside quoted-strings,
	  causing some messages to be parsed incorrectly.
	- mbox: Fixed saving messages that begin with a valid From_-line.

Revision 1.122 / (download) - annotate - [select for diffs], Wed Oct 22 21:16:36 2008 UTC (11 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

Update to Dovecot 1.1.5.  Changes since 1.1.4:

* Dovecot prints an informational message about authentication problems
  at startup. The message goes away after the first successful
  authentication. This hopefully reduces the number of "Why doesn't
  my authentication work?" questions.

+ Maildir/dbox: Try harder to assign unique UIDVALIDITY values to
  mailboxes to avoid potential problems when recreating or renaming
  mailboxes. The UIDVALIDITY is tracked using dovecot-uidvalidity*
  files in the mail root directory.
+ Many logging improvements
- In some conditions Dovecot could have stopped using existing cache
  file and never used it again until it was deleted.
- pop3 + Maildir: Make sure virtual sizes are always written to
  dovecot-uidlist. This way if the indexes are lost Dovecot will never
  do a huge amount of work to recalculate them.
- mbox: Fixed listing mailboxes in namespaces with prefix beginning
  with '~' or '/' (i.e. UW-IMAP compatibility namespaces didn't work).
- dict quota: Don't crash when recalculating quota (when quota warnings
- Fixes to handling "out of disk space/quota" failures.
- Blocking passdbs/userdbs (e.g. PAM, MySQL) could have failed lookups
  sometimes when auth_worker_max_request_count was non-zero.
- Fixed compiling with OpenBSD

Revision 1.121 / (download) - annotate - [select for diffs], Mon Oct 6 07:08:01 2008 UTC (11 years, 2 months ago) by ghen
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Update to Dovecot 1.1.4.  Changes since 1.1.3:

- SORT: Yet another assert-crashfix when renumbering index sort IDs.
- ACL plugin fixes: Negative rights were actually treated as positive rights.
  'k' right didn't prevent creating parent/child/child mailbox.  ACL groups
  weren't working.
- Maildir++ quota: Fixes to rebuilding when quota limit wasn't specified in
  Dovecot (0 limit or limit read from maildirsize).
- mbox: Several bugfixes causing errors and crashes.
- Several fixes to expire plugin / expire-tool.
- lock_method=dotlock could have deadlocked with itself.
- Many error handling fixes and log message improvements.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Sep 3 15:04:34 2008 UTC (11 years, 3 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, cube-native-xorg-base, cube-native-xorg
Branch point for: pkgsrc-2008Q3
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

Update to Dovecot 1.1.3.  From the release announcement mail:

This fixes several mbox problems previous v1.1 releases have had.

* mail_max_userip_connections limit no longer applies to master user logins.

+ login_log_format_elements: Added %k to show SSL protocol/cipher information.
  Not included by default.
+ imap/pop3-proxy: If auth_verbose=yes, log proxy login failures.
+ deliver: Added -s parameter to autosubscribe to autocreated mailboxes.
- message parser fixes - hopefully fixes an infinite looping problem
- SORT: One more assert-crashfix when renumbering index sort IDs.
- mbox: Saving may have truncated the mail being saved
- mbox: Several other bugfixes
- mail_full_filesystem_access=yes was broken when listing mailboxes (it still
  is with maildir++ layout).
- maildirlock utility was somewhat broken
- zlib plugin: bzip2 support was somewhat broken
- NFS: Make sure writing to files via output streams don't assert-crash when
  write() returns only partial success.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Jul 24 07:38:51 2008 UTC (11 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.118: +2 -3 lines
Diff to previous 1.118 (colored)

Update to Dovecot 1.1.2.  From the release announcement mail:

Development of new features in this release and the upcoming
multi-master replication are sponsored by Directi (

Lucene indexing is currently deprecated in favor of the new Solr
indexing. I'm even considering removing the Lucene C++ library support,
so if you're interested in keeping it send me a mail. Note that the
current fts-lucene is somewhat broken as well as non-optimal.

Anyone interested in using zlib plugin with Maildir should read

I'm hoping to get the first v1.2 betas out in a couple of weeks and an
eventual v1.2.0 release in a couple of months.

	+ Added full text search indexing support for Apache Lucene Solr
	+ IMAP SORT: Added X-SCORE sort key for use with Solr searches.
	+ zlib plugin supports now bzip2 also.
	+ quota: All backends now take noenforcing parameter.
	+ Maildir: Add ,S=3D<size> to maildir filename whenever quota plugin
	  is loaded, even when not using Maildir++ quota.
	+ deliver: Allow lda section to override plugin settings.
	+ deliver: Giving a -m <namespace prefix> parameter now silently saves
	  the mail to INBOX. This is useful for e.g. -m INBOX/${extension}
	+ Added a new maildirlock utility for write-locking Dovecot Maildir.
	+ dict-sql: Support non-MySQL databases by assuming they implement the
	  "INSERT .. ON DUPLICATE KEY" using an INSERT trigger.
	- SORT: Fixed several crashes/errors with sort indexing.
	- IMAP: BODYSTRUCTURE is finally RFC 3501 compliant. Earlier versions
	  didn't include Content-Location support.
	- IMAP: Fixed bugs with listing INBOX.
	- Maildir: maildirfolder file wasn't created when dovecot-shared
	  file existed on the root directory
	- deliver didn't expand %variables in namespace location settings.
	- zlib: Copying non-compressed messages resulted in empty mails
	  (except when hardlink-copying between maildirs).
	- mbox-snarf plugin was somewhat broken
	- deliver + Maildir: If uidlist couldn't be locked while saving,
	  we might have assert-crashed
	- mbox: Fixed an assert-crash with \Recent flag handling

This release also fixes a NetBSD-specific bug, see the following thread:

Revision 1.118 / (download) - annotate - [select for diffs], Thu Jul 10 00:54:30 2008 UTC (11 years, 4 months ago) by jnemeth
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

bump default file descriptor limit as it is too low on NetBSD

Revision 1.117 / (download) - annotate - [select for diffs], Sun Jun 22 17:41:23 2008 UTC (11 years, 5 months ago) by ghen
Branch: MAIN
Changes since 1.116: +4 -3 lines
Diff to previous 1.116 (colored)

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
	* See doc/wiki/Upgrading.1.1.txt (or for latest changes, 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 <tag>)
	+ 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
	+ 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 \

Revision 1.116 / (download) - annotate - [select for diffs], Tue Jun 3 05:52:10 2008 UTC (11 years, 6 months ago) by ghen
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

Update to Dovecot 1.0.14.  From the release announcement:

Since v1.1.0 release is getting near, this could well be the last v1.0
release. I'll still fix important bugs, but if the bugfix is large or
affects only few people it'll probably get fixed only in v1.1 releases.

	* mbox: Enable mail_privileged_group while creating INBOX.

	- IMAP: Fixed a rare crash in FETCH BODY/BODYSTRUCTURE
	- IMAP: If mailbox is selected with EXAMINE, ignore flag changes
	- proxy: Login success reply was sent in two IP packets, which
	  confused some IMAP/POP3 clients
	- ACL plugin leaked memory a bit
	- dovecot-auth: allow_nets setting with network masks didn't work
	  correctly with big endian machines.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Mar 9 11:58:17 2008 UTC (11 years, 9 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Update to Dovecot 1.0.13.

Note that the changes for the security hole fix were quite large. I tested with
several auth configurations myself and they seemed to work, but it's possible I
left a bug somewhere in there breaking someone's configuration. So make sure to
test that it works after upgrading.

Of course it would be really nice if Dovecot had a proper test suite where
testing all configurations could be automated and run before each release. I've
already started this with my imaptest tool (, but
it only does IMAP tests and a lot of things are still missing. Some help would
be nice here.

	* Fixed a security hole in blocking passdbs (MySQL always. PAM, passwd
	  and shadow if blocking=yes) where user could specify extra fields
	  in the password. The main problem here is when specifying
	  "skip_password_check" introduced in v1.0.11 for fixing master user
	  logins, allowing the user to log in as anyone without a valid

	- mail_privileged_group was broken in some systems (OS X, Solaris?)
	- IMAP THREAD: Fixed some correctness problems

Revision 1.114 / (download) - annotate - [select for diffs], Wed Mar 5 08:23:37 2008 UTC (11 years, 9 months ago) by ghen
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Update to Dovecot 1.0.12.

- Using mail_privileged_group with dotlock_use_excl=no worked, but it
  logged "access denied" errors.

Revision 1.113 / (download) - annotate - [select for diffs], Tue Mar 4 07:52:46 2008 UTC (11 years, 9 months ago) by ghen
Branch: MAIN
Changes since 1.112: +2 -3 lines
Diff to previous 1.112 (colored)

Update to Dovecot 1.0.11.

* mail_extra_groups setting was commonly used insecurely. This setting
  is now deprecated. Most users should switch to using
  mail_privileged_group setting, but if you really need the old
  functionality use mail_access_groups instead.

- mbox: Dropped some of the physical size fetch optimizations added
  in v1.0.8. This makes some commands slower, but should fix the rest
  of the problems.
- IMAP: SEARCH BEFORE/ON/SINCE didn't handle timezones correctly.
- ldap: auth_bind was doing lookups using subtree scope instead of
  the scope specified in config file.
- zlib plugin crashfixes by Richard Platel
- master passdbs: pass=yes setting was broken with blocking passdbs
  (e.g. MySQL)

Revision 1.112 / (download) - annotate - [select for diffs], Fri Jan 18 05:08:22 2008 UTC (11 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111 (colored)

Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jan 3 14:06:20 2008 UTC (11 years, 11 months ago) by ghen
Branch: MAIN
Changes since 1.110: +3 -1 lines
Diff to previous 1.110 (colored)


Revision 1.110 / (download) - annotate - [select for diffs], Tue Jan 1 20:47:57 2008 UTC (11 years, 11 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.109: +2 -3 lines
Diff to previous 1.109 (colored)

Update to Dovecot 1.0.10.

v1.0.8 and v1.0.9 were a bit bad releases. Hopefully one day I've managed to
have written a proper test suite which can be run before doing any releases..

	* Security hole with LDAP+auth cache: If base setting contained
	  %variables they weren't included in auth cache key, which broke
	  caching. This could have caused different users with same passwords
	  to log in as each other. [pkgsrc: this was fixed in dovecot-1.0.9nb1]

	- LDAP: Fixed potential infinite looping when connection to LDAP
	  server was lost and there were queued requests.
	- mbox: More changes to fix problems caused by v1.0.8 and v1.0.9.
	- Maildir: Fixed a UIDLIST_IS_LOCKED() assert-crash in some conditions
	  (caused by changes in v1.0.9)
	- If protocols=none, don't require imap executables to exist

Revision 1.109 / (download) - annotate - [select for diffs], Sat Dec 22 23:12:04 2007 UTC (11 years, 11 months ago) by ghen
Branch: MAIN
Changes since 1.108: +2 -1 lines
Diff to previous 1.108 (colored)

Fix a possible security hole with LDAP authentication and variables in the LDAP
search base, see

Revision 1.108 / (download) - annotate - [select for diffs], Wed Dec 12 13:15:48 2007 UTC (11 years, 11 months ago) by ghen
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Update to Dovecot 1.0.9.

	+ Maildir: Don't wait on dovecot-uidlist.lock when we just want to
	  find out a new filename for the message.
	- mbox: v1.0.8 changes sometimes caused FETCH to fail with
	  "got too little data", disconnecting the client.
	- Fixed a memory leak when FETCHing message header/body multiple
	  times within a command (e.g. BODY[1] BODY[2])
	- IMAP: Partial body fetching was still slow with mboxes

Revision 1.107 / (download) - annotate - [select for diffs], Wed Nov 28 15:11:50 2007 UTC (12 years ago) by ghen
Branch: MAIN
Changes since 1.106: +2 -3 lines
Diff to previous 1.106 (colored)

Update to Dovecot 1.0.8.

	+ Authentication: Added "password_noscheme" field that can be used
	  instead of "password". "password" treats "{prefix}" as a password
	  scheme while "password_noscheme" treats it as part of the password
	  itself. So "password_noscheme" should be used if you're storing
	  passwords as plaintext. Non-plaintext passwords never begin
	  with "{", so this isn't a problem with them.
	- IMAP: Partial body fetching was sometimes non-optimal, causing
	  the entire message to be read for every FETCH command.
	- deliver failed to save the message when envelope sender address
	  contained spaces.
	- Maildir++ quota: We could have randomly recalculated quota when
	  it wasn't necessary.
	- Login process could have crashed after logging in if client sent
	  data before "OK Logged in" reply was sent (i.e. before master had
	  replied that login succeeded).
	- Don't assert-crash when reading dovecot.index.logs generated by
	  Dovecot v1.1.
	- Authentication: Don't assert-crash if password beings with "{" but
	  doesn't contain "}".
	- Authentication cache didn't work when using settings that changed
	  the username (e.g. auth_username_format).

Revision 1.106 / (download) - annotate - [select for diffs], Fri Nov 23 11:48:56 2007 UTC (12 years ago) by rillig
Branch: MAIN
Changes since 1.105: +3 -2 lines
Diff to previous 1.105 (colored)

The example configuration file has a different name. PKGREVISION++

Revision 1.105 / (download) - annotate - [select for diffs], Tue Oct 30 12:04:03 2007 UTC (12 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Update to Dovecot 1.0.7.

Almost missed this one. I had already fixed it in v1.1 tree, but forgot
to fix in v1.0 tree.

	- deliver: v1.0.6's "From " line ignoring could have written to a
	  bad location in stack, possibly causing problems.

Revision 1.104 / (download) - annotate - [select for diffs], Sun Oct 28 12:49:37 2007 UTC (12 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored)

Update to Dovecot 1.0.6.

	* IDLE: Interval between mailbox change notifies is now 1 second,
	  because some clients keep a long-running IDLE connection and use
	  other connections to actually read the mails.
	* SORT: If Date: header is missing or broken, fallback to using
	  INTERNALDATE (as the SORT draft nowadays specifies).

	+ deliver: If message begins with a "From " line, ignore it.
	+ zlib plugin: If maildir file has a "Z" flag, open it with zlib.
	- CREATE: Don't assert-crash if trying to create namespace prefix.
	- SEARCH: Fixes to handling NOT operator with sequence ranges.
	- LDAP reconnection fixes
	- Maildir: Don't break when renaming mailboxes with '*' or '%'
	  characters and children.
	- mbox: Fixed "file size unexpectedly shrinked" error in some
	- quota+mbox: Don't fail if trying to delete a directory.
	- Fixes to running from inetd

Revision 1.103 / (download) - annotate - [select for diffs], Sun Sep 9 11:43:09 2007 UTC (12 years, 3 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Update to Dovecot 1.0.5, v1.0.4 was a bit bad release:

	- deliver: v1.0.4 broke home directory handling
	- maildir: Creating mailboxes didn't use dovecot-shared's group for
	  cur/new/tmp directories.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Sep 8 09:29:53 2007 UTC (12 years, 3 months ago) by ghen
Branch: MAIN
Changes since 1.101: +2 -3 lines
Diff to previous 1.101 (colored)

Update to Dovecot 1.0.4:

	* Assume a MIME message if Content-Type: header exists, even if
	  Mime-Version: header doesn't.

	- IMAP: CREATE ns_prefix/box/ didn't work right when namespace prefix
	- deliver: plugin {} settings were overriding settings from userdb.
	- mbox: Expunging the first message might not have worked always
	- PostgreSQL: If we can't connect to server, timeout queries after
	  a while instead of trying forever.
	- Solaris: sendfile() support was broken and could have caused
	  100% CPU usage and the connection hanging.

And one more thing I forgot from NEWS file:

	- IMAP: Fixed infinite loop in some situations

Revision 1.101 / (download) - annotate - [select for diffs], Mon Aug 27 10:38:50 2007 UTC (12 years, 3 months ago) by ghen
Branch: MAIN
Changes since 1.100: +4 -1 lines
Diff to previous 1.100 (colored)

Add a file, and make the dovecot package install header files
and liblib.a to be able to build the sieve plugin with an installed dovecot
instance.  Bump PKGREVISION.

Revision 1.100 / (download) - annotate - [select for diffs], Wed Aug 1 10:56:24 2007 UTC (12 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored)

Update to Dovecot 1.0.3.  Some small fixes and one regression from 1.0.2:

	- deliver: v1.0.2's bounce fix caused message to be always saved to
	  INBOX even if Sieve script had discard, reject or redirect commands.
	- LDAP: auth_bind=yes and empty auth_bind_userdn leaked memory
	- ACL plugin: If user was given i (insert) right for a mailbox, but
	  not all s/t/w (seen, deleted, other flags) rights, COPY and APPEND
	  commands weren't supposed to allow saving those flags. This is
	  technically a security fix, but it's unlikely this caused problems
	  for anyone.
	- ACL plugin: i (insert) right didn't work unless user was also given
	  l (lookup) right.
	- Solaris: Fixed filesystem quota for autofs mounts.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Jul 16 06:45:02 2007 UTC (12 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored)

Update to 1.0.2:

Fixes several bugs. This release also adds compatibility with upcoming
Dovecot v1.1 so it'll be possible to upgrade to v1.1 and back to v1.0.2
without anything breaking.

	* dbox isn't built anymore by default. It will be redesigned so it
	  shouldn't be used.

	+ Maildir: Support reading dovecot-uidlist (v3) files created by
	  Dovecot v1.1.
	- Maildir: "UIDVALIDITY changed" errors could happen with newly
	  created mailboxes
	- If "INBOX." namespace was used, LIST returned it with \HasNoChildren
	  which caused some clients not to show any other mailboxes.
	- Maildir++ quota: If multiple processes were updating maildirsize
	  at the same time, we failed with "Unknown error".
	- IMAP: IDLE didn't actually disconnect client after 30 minutes of
	- LDAP passdb/userdb was leaking memory
	- deliver: %variables in plugin {} weren't expanded
	- deliver: Don't bounce the mail if Sieve plugin returns failure

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jul 4 20:54:41 2007 UTC (12 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.97: +3 -1 lines
Diff to previous 1.97 (colored)

Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that can know to set them to ${UNPRIVILEGED_USER}

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Jun 16 15:01:17 2007 UTC (12 years, 5 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.96: +2 -3 lines
Diff to previous 1.96 (colored)

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
	+ 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
	- 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

Revision 1.96 / (download) - annotate - [select for diffs], Wed May 16 07:34:46 2007 UTC (12 years, 6 months ago) by ghen
Branch: MAIN
Changes since 1.95: +2 -1 lines
Diff to previous 1.95 (colored)

Add a "reload" action to the rc.d script (SIGHUP), bump PKGREVISION.
Suggested by schmonz.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Apr 13 12:29:21 2007 UTC (12 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.94: +1 -2 lines
Diff to previous 1.94 (colored)

Forgot to delete a commented line.

Revision 1.94 / (download) - annotate - [select for diffs], Fri Apr 13 12:24:04 2007 UTC (12 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Update to dovecot-1.0.0.  This release is identical to 1.0rc32 (which has not
been in pkgsrc) except for the version number, so here is the announcement of

Pretty late for changes if v1.0 is supposed to come out tomorrow, but I
can't really leave these LDAP bugs unfixed. They shouldn't anyway break
anything, so here's one more day for you people to find out about any

One thing that I'm a bit concerned about is the addition of #define
LDAP_DEPRECATED. I know it fixes crashes with OpenLDAP 2.3 + 64bit
systems, but I hope it doesn't break compiling with some old versions or
non-OpenLDAP libraries..

	- LDAP, auth_bind=no: Don't crash if doing non-plaintext ldap passdb
	  lookup for unknown user. This also broke deliver when userdb static
	  was used.
	- LDAP, auth_bind=yes and userdb ldap: We didn't wait until bind was
	  finished before sending the userdb request, which could have caused
	- LDAP: Don't break when compiling with OpenLDAP v2.3 library
	- Convert plugin: Don't create "maildirfolder" file to Maildir root.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Apr 8 10:48:07 2007 UTC (12 years, 8 months ago) by ghen
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Update to dovecot-1.0rc31.  From the release announcement mail:

mbox + NFS combination shouldn't break anymore. v1.0 still planned to
be released next friday.

	- mbox: Give "mbox file was modified while we were syncing" error only
	  if we detect some problems in the mbox file. The check can't be
	  trusted with NFS.
	- Convert plugin: If directory for destination storage doesn't exist,
	  create it.
	- Convert plugin: Mailbox names weren't converted in subscription list.

Revision 1.92 / (download) - annotate - [select for diffs], Fri Apr 6 12:21:30 2007 UTC (12 years, 8 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base
Branch point for: pkgsrc-2007Q1
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

Update to dovecot-1.0rc30 (ok with wiz).  From the release announcement mail:

So, this is it. Unless you can find a new and important bug within a
week, this release is the same as v1.0. I'll only update the version
number and NEWS file.

Changes since rc29:

	* PAM: Lowercase the PAM service name when calling with "args = *".
	  Linux PAM did this internally already, but at least BSD didn't.
	  If your PAM file used to be in /etc/pam.d/IMAP or POP3 file you'll
	  need to lowercase it now.

	+ Send list of CA names to client when using
	- IMAP: If message body started with line feed, it wasn't counted
	  in BODY and BODYSTRUCTURE replies' line count field.
	- deliver didn't load plugins before chrooting

Revision 1.91 / (download) - annotate - [select for diffs], Fri Mar 30 19:10:38 2007 UTC (12 years, 8 months ago) by ghen
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

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
	- 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

Revision 1.90 / (download) - annotate - [select for diffs], Sat Mar 24 14:39:40 2007 UTC (12 years, 8 months ago) by ghen
Branch: MAIN
Changes since 1.89: +3 -4 lines
Diff to previous 1.89 (colored)

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
	+ 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
	- 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

Revision 1.89 / (download) - annotate - [select for diffs], Wed Mar 14 14:14:52 2007 UTC (12 years, 8 months ago) by ghen
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

Update to dovecot-1.0rc26.  From the release announcement mail:

A few new small features and lots of index/mbox fixes. I've been heavily
stress testing this release, so I think it should be about perfect. :)

I think the only thing still missing from v1.0 is documentation. There
are some unwritten pages in the wiki, and I still haven't bothered to
write the wiki -> doc/*.txt conversion script. The script will probably
be pretty easy, but writing the docs can take a while.

	+ mbox and index file code handles silently out of quota/disk
	  space errors (maildir still has problems). They will give the user
	  a "Not enough disk space" error instead of flooding the log file.
	+ Added fsync_disable setting.
	+ mail-log plugin: Log the mailbox name, except if it's INBOX
	+ dovecot-auth: Added a lot more debug logging to passdbs and userdbs
	+ dovecot-auth: Added %c variable which expands to "secured" with
	+ dovecot-auth: Added %m variable which expands to auth mechanism name
	- maildir++ quota: With ignore=box setting the quota was still updated
	  for the mailbox even though it was allowed to go over quota (but
	  quota recalculation ignored the box).
	- Index file handling fixes
	- mbox syncing fixes
	- Wrong endianess index files still weren't silently rebuilt
	- IMAP quota plugin: GETQUOTAROOT returned the mailbox name wrong the
	  namespace had a prefix or if its separator was non-default
	- IMAP: If client was appending multiple messages with MULTIAPPEND
	  and LITERAL+ extensions and one of the appends failed, Dovecot
	  treated the rest of the mail data as IMAP commands.
	- If mail was sent to client with sendfile() call, we could have
	  hanged the connection. This could happen only if mails were saved
	  with CR+LF linefeeds.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Mar 7 09:50:41 2007 UTC (12 years, 9 months ago) by ghen
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Update to dovecot-1.0rc26.

Most importantly this should fix mbox problems in recent RCs.

	* Changed --with-headers to --enable-header-install
	* If time moves backwards only max. 5 seconds, sleep until we're back
	  in the original present instead of killing ourself. An error is
	  still logged.

	- IMAP: With namespace prefixes LSUB prefix.* listed INBOX.INBOX.
	- deliver: Ignore mbox metadata headers from the message input.
	  X-IMAP header crashed deliver.
	- deliver: If mail_debug=yes, drop out DEBUG environment before
	  calling sendmail binary. Postfix's sendmail didn't really like it.
	- mbox: X-UID brokeness fixes broke rc25 even with valid X-UID headers.
	  Now the code should finally work right.
	- Maildir: When syncing a huge maildir, touch dovecot-uidlist.lock file
	  once in a while to make sure it doesn't get overwritten by another
	- Maildir++ quota: We didn't handle NUL bytes in maildirsize files very
	  well. Now the file is rebuilt when they're seen (NFS problem).
	- Index/view handling fix should fix some crashes/errors
	- If index files were moved to a different endianess machine, Dovecot
	  logged all sorts of errors instead of silently rebuilding them.
	- Convert plugin didn't change hierarchy separators in mailbox names.
	- PostgreSQL authentication could have lost requests once in a while
	  with a heavily loaded server.
	- Login processes could have crashed in some situations
	- auth cache crashed with non-plaintext mechanisms

Revision 1.87 / (download) - annotate - [select for diffs], Thu Mar 1 13:26:40 2007 UTC (12 years, 9 months ago) by ghen
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Update to dovecot-1.0rc25.

	* If time moves backwards, Dovecot kills itself instead of giving
	  random problems.

	+ Added --with-headers configure option to install .h files.
	  Binary package builders could use this to create some dovecot-dev
	  package to make compiling plugins easier.
	- PLAIN authentication: Don't crash dovecot-auth with invalid input.
	- IMAP APPEND: Don't crash if saving fails
	- IMAP LIST: If prefix.INBOX has children and we're listing under
	  prefix.%, don't drop the prefix.
	- mbox: Broken X-UID headers still weren't handled correctly.
	- mail-log plugin: Fixed deleted/undeleted logging.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Feb 23 09:11:43 2007 UTC (12 years, 9 months ago) by ghen
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Update to dovecot-1.0rc24.

	* Dovecot now fails to load plugins that were compiled for different
	  Dovecot version, unless version_ignore=yes is set. This needs to be
	  explicitly set in plugins, so out-of-tree plugins won't have this
	  check by default.

	- pop3_lock_session=yes could cause deadlocks, and with maildir the
	  uidlist lock could have been overridden after 2 minutes causing
	- PAM wasted CPU by calling a timeout function 1000x too often
	- Trash plugin was more or less broken with multiple namespaces and
	  with multiple trash mailboxes

Revision 1.85 / (download) - annotate - [select for diffs], Wed Feb 21 09:53:05 2007 UTC (12 years, 9 months ago) by ghen
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

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

Revision 1.84 / (download) - annotate - [select for diffs], Wed Feb 7 08:42:50 2007 UTC (12 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.83: +2 -3 lines
Diff to previous 1.83 (colored)

Update to dovecot-1.0rc22.  From the release announcement mail:

Found another bad bug in rc19 changes. Wonder why my imaptest catched
the bug only in CVS HEAD but not in branch_1_0 even though both had it.
Anyway, now the imaptest runs nicely for both, and I'm again optimistic
that the bug count is low enough for v1.0 to be released soon :)

	+ pop3: Commit the transaction even if client didn't QUIT so cached
	  data gets saved.
	- Fixed another indexing bug in rc19 and later which caused
	  transactions to be skipped in some situations, causing all kinds of
	- mail_log_max_lines_per_sec was a bit broken and caused crashes with
	  dovecot -a
	- BSD filesystem quota was counted wrong. Patch by Manuel Bouyer
	- LIST: If namespace has a prefix and inbox=no, don't list
	  prefix.inbox if it happens to exist when listing for %.

Our patch-ah has been applied upstream and patch-ak was from dovecot CVS.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Feb 5 20:31:13 2007 UTC (12 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored)

Fix segfault in "dovecot -a" with a patch from dovecot's CVS.


Revision 1.82 / (download) - annotate - [select for diffs], Fri Feb 2 15:07:02 2007 UTC (12 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.81: +2 -3 lines
Diff to previous 1.81 (colored)

Update to dovecot-1.0rc21.

Changes in dovecot-1.0rc20:

	+ dovecot: Added --log-error command line option to log an error, so
	  the error log is easily found.
	+ Added mail_log_max_lines_per_sec setting. Change it to avoid log
	  throttling with mail_log plugin.
	- Changing message flags was more or less broken in rc19
	- ACL plugin still didn't work without separate control directory
	- Some mbox handling fixes, including fixing an infinite loop
	- Some index file handling fixes
	- maildir quota: Fixed a file descriptor leak
	- If auth_cache was enabled and userdb returned "user unknown"
	  (typically only deliver can do that), dovecot-auth crashed.
	- mail_log plugin didn't work with pop3

Changes in dovecot-1.0rc21:

	- Cache file handling could have crashed rc20

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jan 29 22:01:07 2007 UTC (12 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored)

Get the arithmetic for quota right (changed to match what our quota(8)
utility does). Without this, the ration used/total displayed by clients
is right but the absolute values are wrong.
Submitted to dovecot developers, OK'd by ghen@

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jan 23 17:34:45 2007 UTC (12 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Update to dovecot-1.0rc19.  From the release announcement mail:

Just did a few more fixes to index files. Do they help with anyone's problems?

	- ACL plugin didn't work unless control dir was separate from maildir
	- More index file handling fixes

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jan 22 17:58:50 2007 UTC (12 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Update to dovecot-1.0rc18.  From the release announcement mail:

I think we're quite near v1.0 now.

	* ACL plugin + Maildir: Moved dovecot-acl file from control directory
	  to maildir. To prevent accidents caused by this change, Dovecot
	  kills itself if it finds dovecot-acl file from the control directory.
	* When opening a maildir, check if tmp/'s atime is over 8h old. If it
	  is, delete files in it with ctime older than 36h. However if
	  atime - ctime > 36h, it means that there's nothing to be deleted and
	  the scanning isn't done. We update atime ourself if filesystem is
	  mounted with noatime.
	* base_dir doesn't need to be group-readable, don't force it.
	* mail_read_mmaped setting is deprecated and possibly broken. It's now
	  removed from dovecot-example.conf, but it still works for now.
	* Removed also umask setting from dovecot-example.conf since currently
	  it doesn't do what it's supposed to.

	+ Authentication cache caches now also userdb data.
	+ Added mail_log plugin to log various mail operations. Currently it
	  logs mail copies, deletions, expunges and mailbox deletions.
	- dict quota: messages=n parameter actually changed storage limit.
	- A lot of fixes to handling index files. This should fix almost all
	  of the problems ever reported.
	- LDAP: auth_bind=yes was more or less broken.
	- Saved mails and dovecot-keywords file didn't set the group from
	  dovecot-shared file.
	- Fixed potential assert-crash while searching messages
	- Fixed some crashes with invalid X-UID headers in mboxes
	- If you didn't have a namespace with empty prefix, giving STATUS
	  command for a non-existing namespace caused the connection to give
	  "NO Unknown namespace" errors for all the future commands.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Jan 7 14:48:54 2007 UTC (12 years, 11 months ago) by ghen
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Update to dovecot-1.0rc17.  Just one fix:

	- MySQL authentication caused username to show up as "OK" in rc16.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jan 5 16:39:28 2007 UTC (12 years, 11 months ago) by ghen
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Update to dovecot-1.0rc16.  From the release announcement mail:

If you've had problems with getting errors about index files
sometimes being corrupted, please try if this release fixes it. If
you've reported any bugs that this release hasn't fixed, please
report them again so I know they still didn't get fixed and that I
didn't forget them.

	* IMAP: When trying to fetch an already expunged message, Dovecot used
	  to just disconnect client. Now it instead replies with dummy NIL
	* Priority numbers in plugin names have changed. If you're installing
	  from source, you should delete the existing plugin files before
	  installing the new ones, otherwise you'll get errors.
	* Maildir: We're using rename() to move files from tmp/ to new/ now.
	  See -> "Issues with
	  the specification" for reasoning why this is safe. This makes saving
	  mails faster, and also makes Dovecot usable with Mac OS X's HFS+
	  (after you also set dotlock_use_excl=yes, see below).

	+ Added dotlock_use_excl setting. If enabled, dotlocks are created
	  directly using O_EXCL flag, instead of by creating a temporary file
	  which is hardlinked. O_EXCL is faster, but may not work with NFS.
	+ If Dovecot crashes with Linux or Solaris, it'll log a
	  "Raw backtrace". It's worse than gdb's backtrace, but better than
	+ Added maildir_copy_preserve_filename=yes setting.
	+ Added a lazy-expunge plugin to allow users to unexpunge their mails.
	+ maildir quota: Added ignore setting to maildir quota, which allows
	  ignoring quota in Trash mailbox.
	+ dict quota: If dictionary doesn't yet contain the quota, calculate
	  it by going through all the mails in all the mailboxes.
	+ login_log_format_elements: Added %a=local port and %b=remote port
	+ Added -i and -o options to rawlog to restrict logging only to
	  input or output.
	- Doing a STATUS command for a selected mailbox (not a recommended
	  IMAP client behavior) caused Dovecot to sync the mailbox silently.
	  This could have lost eg. EXPUNGE events from clients, causing them
	  to use wrong sequence numbers.
	- deliver was treating boolean settings set to "no" as if they were
	  "yes" (they were supposed to be commented out for "no")
	- Running "dovecot" with -a or -n option while Dovecot was running
	  deleted all authentication sockets, which caused all the future
	  logins to fail.
	- maildir: RENAME and DELETE didn't touch control directory if it was
	  different from maildir or index dir.
	- We treated internal userdb lookup errors as "user unknown" errors.
	  In such situations this caused deliver to think the user didn't
	  exist and the mail get bounced.
	- pam: Setting cache_key crashed
	- shared maildir: dovecot-keywords file's mode wasn't taken from
	  dovecot-shared file.
	- dovecotpw wasn't working with PowerPC

Revision 1.76 / (download) - annotate - [select for diffs], Fri Dec 15 17:35:20 2006 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base
Branch point for: pkgsrc-2006Q4
Changes since 1.75: +5 -5 lines
Diff to previous 1.75 (colored)

DESTDIR support.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Nov 19 10:36:34 2006 UTC (13 years ago) by ghen
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Update to dovecot-1.0rc15.  From the release announcement mail:

	* Fixed an off-by-one buffer overflow in cache file handling. The
	  code is executed only with mmap_disable=yes and only if index files
	  are used (ie. INDEX=MEMORY is safe).
	* passdb checkpassword: Handle vpopmail's non-standard exit codes.

	- rc14 sometimes assert-crashed if .log.2 file existed in a mailbox
	  (earlier versions leaked memory and file descriptors)
	- io_add() assert-crashfixes
	- Potential SSL hang fix at the beginning of the connection

For details on the security issue, see:

Revision 1.74 / (download) - annotate - [select for diffs], Mon Nov 13 07:53:59 2006 UTC (13 years ago) by ghen
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Update to dovecot-1.0rc14.  From the release announcement mail:

More fixes.

"Duplicate header extension keywords" is the only known problem (or if I
forgot something, remind me). I'll try to figure out a way to reproduce
it easily and then get it fixed.

	* LDAP: Don't try to use ldap_bind() with empty passwords, since
	  Windows 2003 AD skips password checking with them and just returns
	* verbose_ssl=yes: Don't bother logging "syscall failed: EOF"
	  messages. No-one cares about them.

	+ Dovecot sources should now compile without any warnings with gcc 3.2+
	- rc13 crashed if client disconnected while IDLEing
	- LDAP: auth_bind=yes fixes
        - %variables: Fixed zero padding handling and documented it. %0.1n
	  shouldn't enable it, and it really shouldn't stay for the next
	  %variable. -sign also shouldn't stay for the next variable.
	- Don't leak opened .log.2 transaction logs.
	- Fixed a potential hang in IDLE command (probably really rare).
	- Fixed potential problems with client disconnecting while master was
	  handling the login.
	- quota plugin didn't work in Mac OS X

Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 8 14:40:20 2006 UTC (13 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

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 ( 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..

Revision 1.72 / (download) - annotate - [select for diffs], Sun Nov 5 15:45:09 2006 UTC (13 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Update to dovecot 1.0rc12.  1.0rc11 didn't compile on FreeBSD and OpenBSD.
From the release announcement mail:

Since rc11 has problems compiling with BSDs, here's a new release. Just
two changes:

	- rc11 didn't compile with some compilers
	- default_mail_env fallbacking was broken with --exec-mail

Revision 1.71 / (download) - annotate - [select for diffs], Sat Nov 4 21:44:03 2006 UTC (13 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Update to dovecot-1.0rc11.  From the release announcement mail:

Hopefully the last RC release? As far as I know there are no major
problems left now. If nothing big shows up, v1.0 should be out in a
couple of weeks.

	* Renamed default_mail_env to mail_location. default_mail_env still
	  works for backwards compatibility.
	* deliver: When sending rejects, don't include Content-Type in the
	  rejected mail's headers.
	* LDAP changes:
            * If auth binds are used, bind back to the default dn before doing
	      a search. Otherwise it could fail if a user gave an invalid
	    * Initial binding at connect is now done asynchronously.
	    * Use pass_attrs even with auth_bind=yes since it may contain
	      useful non-password fields.

	+ passdb checkpassword: Give TCPLOCALIP and TCPREMOTEIP and PROTO=TCP
	  environments to the checkpassword binary so we're UCSPI (and vchkpw)
	- mbox handling was a bit broken in rc10
	- Using Dovecot via inetd kept crashing dovecot master
	- deliver: Don't crash with -f "". Changed the default from envelope
	  to be "MAILER-DAEMON".
	- INBOX wasn't shown with LSUB command if only prefixed namespaces
	  were used.
	- passdb ldap: Reconnecting to LDAP server wasn't working with
	  auth binds.
	- passdb sql: Non-plaintext authentication didn't work
	- MySQL passdb ignored all non-password checks, such as allow_nets
	- trash plugin was broken

Revision 1.70 / (download) - annotate - [select for diffs], Mon Oct 16 06:55:47 2006 UTC (13 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

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 "" 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.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Oct 14 09:33:08 2006 UTC (13 years, 1 month ago) by ghen
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Update to dovecot-1.0rc9.  From the release announcement mail:

Most importantly this should fix the login process problems that people
have been reporting. There were also some bugs in the proxying feature.

Also note the 64bit change in dovecot.index.cache files. Unless you
delete dovecot.index.cache files manually, you'll these kind of error
messages into your logs:

Error: Corrupted index cache file ...dovecot.index.cache:
registered field date.sent size changed

They'll get fixed automatically of course, but it might be a bit
annoying to see them.

	* 64bit systems: dovecot.index.cache file will be rebuilt because
	  some time fields have been changed from 64bit fields to 32bit
	  fields. Now the same cache file can be used in both 32bit and
	  64bit systems without it being rebuilt.
	* Added libmysqlclient workaround to conflicting sha1_result symbol,
	  which caused Dovecot to fail logging into MySQL.

	+ dovecot.index.cache file opening is delayed until it's actually
	  needed. This reduces disk accesses a bit with eg. STATUS commands.
	+ auth_cache: Try to handle changing passwords automatically: If
	  password verification fails, but the last one had succeeded, don't
	  use the cache. This works only with plaintext auth.
	- dovecot.index.cache: We didn't properly detect if some fields were
	  different length than we expected, which caused assert crashes
	- Lots of fixes to login/master process handling
	- mbox: Fixed a bug causing "X-IMAPbase uid-last unexpectedly lost
	  in mbox file" errors, and possibly others.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Oct 9 19:06:57 2006 UTC (13 years, 2 months ago) by ghen
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

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 <envelope sender> 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

Revision 1.67 / (download) - annotate - [select for diffs], Fri Aug 18 06:46:05 2006 UTC (13 years, 3 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base
Branch point for: pkgsrc-2006Q3
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

Update to dovecot-1.orc7.  From the release announcement mail:

> Can everyone now agree that there are no more hangs? :)
> 	* Require that Dovecot master process's version number matches the
> 	  child process's, unless version_ignore=yes. Usually it's an
> 	  accidental installation problem if the version numbers don't match.
> 	* Maildir: Create maildirfolder file when creating new maildirs.
> 	+ ldap+prefetch: Use global uid/gid settings if LDAP query doesn't
> 	  return them
> 	+ %variables: Negative offsets count from the end of the string.
> 	  Patch by Johannes Berg.
> 	- kqueue ioloop code rewrite
> 	- notify=kqueue might have caused connection hangs sometimes
> 	- deliver: If message body contained a valid mbox From_ line, it
> 	  and the rest of the message was skipped.
> 	- mbox: We got into infinite loops if trying to open a 2 byte sized
> 	  file as mbox.
> 	- Don't crash with ssl_disable=yes
> 	- quota plugin caused compiling problems with some OSes
> 	- mbox: After saving a mail to a synced mbox, we lost the sync which
> 	  caused worse performance
> I think my v1.0 TODO list is:
>  - avoid duplicate flag change notifications, or in case the message is
>    also expunged don't bother notifying its flag changes at all
>    (shouldn't be hard)
>  - HFS+ avoid-hardlinks patch?
>  - 32bit -> 64bit upgrade still doesn't work without assert-crashing:
>    mail-cache-transaction.c: line 709 (mail_cache_add): assertion failed:
>    (fixed_size == (unsigned int)-1 || fixed_size == data_size)
>  - Courier-compatible INBOX. namespace gives "invalid namespace" errors
> I'm still not sure about the last one though. Could someone give me
> specific commands that clients send that causes it?
> As for the 32bit -> 64bit upgrade fix, could someone give me access to a
> x86-64 machine for a while to test it out?

Revision 1.66 / (download) - annotate - [select for diffs], Wed Aug 16 20:56:02 2006 UTC (13 years, 3 months ago) by ghen
Branch: MAIN
Changes since 1.65: +1 -2 lines
Diff to previous 1.65 (colored)

When adding --with-ioloop=best last week, I did not see there already was a
pkgsrc option for kqueue support.  Hence, remove --with-ioloop=best again, and
enable the "kqueue" option by default on *BSD platforms (as already suggested
by grant when he first added the option).  The pkg's default behaviour does
not change, so don't bump PKGREVISION.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Aug 9 14:23:10 2006 UTC (13 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

Add --with-ioloop=best to CONFIGURE_ARGS and bump PKGREVISION.  The default
I/O loop method was changed from kqueue(2) to poll(2) in 1.0rc2, which has
been reported to cause problems on *BSD.  --with-ioloop=best selects kqueue
on platforms that implement it (*BSD), and poll on others.  You can use
"dovecot --build-options" to see what your binary has been compiled with.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Aug 9 11:26:36 2006 UTC (13 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.63: +11 -4 lines
Diff to previous 1.63 (colored)

Update dovecot to 1.0rc6nb1
- Use (the newly defined) SSLDIR so we use .../certs & .../private
  rather than .../certs/certs and .../certs/private
- Update ssl_cert_file & ssl_key_file in example dovecot.conf to match SSLDIR
- Update to also match SSLDIR

Revision 1.63 / (download) - annotate - [select for diffs], Mon Aug 7 06:44:51 2006 UTC (13 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Update dovecot to 1.0rc6.  From the announcement mail:

Back to rc1's SSL proxying code with some improvements, which hopefully
now makes everyone happy.

I'm seeing all kinds of problems with namespace prefixes and LIST code.
I guess it would be important to fix it before v1.0 since it makes
upgrades from other servers easier..

I also tried looking into the "Unknown namespace" problems that happens
if you try to create only one namespace with "INBOX." prefix. I couldn't
really figure out what causes those errors. Could someone show me what
commands the client tries to use which causes it?

	* Removed login_max_logging_users setting since it was somewhat weird
	  in how it worked. Added login_max_connections to replace it with
	  login_process_per_connection=no, and with =yes its functionality
	  is now within login_max_processes_count.

	+ Added --with-linux-quota configure option to specify which Linux
	  quota version to use, in case it's not correct in sys/quota.h.
	  Usually used as --with-linux-quota=2
	+ acl plugins: If .DEFAULT file exists in global ACL root directory,
	  use it as the default ACLs for all mailboxes.
	- Fixes to login process handling, especially with
	- Back to the original SSL proxy code but with one small fix, which
	  hopefully fixes the occational hangs with it
	- Several fixes to handling LIST command more correctly.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Aug 3 05:33:50 2006 UTC (13 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.61: +2 -3 lines
Diff to previous 1.61 (colored)

Update to dovecot-1.0rc5.  This is identical to our 1.0rc4nb1 (patch-ai
applied).  From the website: "This is what RC3 really should have been".

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 2 21:16:43 2006 UTC (13 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Dovecot 1.0rc4 had another bug in it which was fixed in CVS.  Now in patch-ai.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Aug 2 20:34:36 2006 UTC (13 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Update to dovecot-1.0rc4.  Just one fix since rc3:

- Saving to mboxes caused assert-crashes

Revision 1.59 / (download) - annotate - [select for diffs], Wed Aug 2 17:48:37 2006 UTC (13 years, 4 months ago) by ghen
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

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

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jul 4 18:17:42 2006 UTC (13 years, 5 months ago) by ghen
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Upgrade Dovecot to 1.0rc2.  Changes:

* disable_plaintext_auth=yes: Removed hardcoded 127.* and ::1 IP
  checks. Now we just assume that the connection is secure if the
  local IP matches the remote IP address.
* SSL code rewrite which hopefully makes it work better than before.
  Seems to work correctly, but if you suddently have trouble with SSL
  connections this is likely the reason.
+ verbose_ssl=yes: Log also SSL alerts and BIO errors
- If namespace's location field wasn't set, the default location
  was supposed to be used but it wasn't.
- When copying ssl-parameters.dat file from /var/lib to /var/run its
  permissions went wrong if it couldn't be copied with hard linking.
- Fixed filesystem quota plugin to work with BSDs.
- Maildir: Saving mails didn't work if quota plugin was enabled (again)
- Maildir: Messages' received time wasn't saved properly when
  saving/copying multiple messages at a time. Also if using quota
  plugin the S= size was only set for the first saved file, and even
  that was wrong.
- passdb passwd-file: Don't require valid uid/gid fields if file
  isn't also being used as a userdb.
- PostgreSQL: Handle failures better so that there won't be
  "invalid fd" errors in logs.
- Don't try to expunge messages if the mailbox is read-only. It'll
  just cause our index files to go out of sync with the real
  mailbox and cause errors.
- ANONYMOUS authentication mechanism couldn't work because
  anonymous_username setting wasn't passed from master process.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jul 4 06:54:07 2006 UTC (13 years, 5 months ago) by ghen
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

dovecot's ./configure wants pkg-config.  Fixes PR pkg/33881.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jul 2 09:29:17 2006 UTC (13 years, 5 months ago) by ghen
Branch: MAIN
Changes since 1.55: +3 -4 lines
Diff to previous 1.55 (colored)

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
+ 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.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jun 19 08:28:05 2006 UTC (13 years, 5 months ago) by ghen
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

1.0beta9 didn't start when ssl_listen wasn't explicitly set in the config file.
Add a fix from Dovecot's CVS, and bump PKGREVISION.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jun 15 15:14:59 2006 UTC (13 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.53: +2 -5 lines
Diff to previous 1.53 (colored)

Remove USE_LANGUAGES; it is unneeded.  (All libtoolized programs look for
C++ and Fortran by default, but doing so does not bomb configure or build,
so there's no harm in the pkgsrc warnings.)

Because this changes the dependencies on systems using pkgsrc-supplied gcc,
bump PKGREVISION.  <sigh>

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jun 13 16:51:40 2006 UTC (13 years, 5 months ago) by ghen
Branch: MAIN
Changes since 1.52: +6 -3 lines
Diff to previous 1.52 (colored)

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

+ 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 <binary path> can now be used to start
  binaries which want dovecot.conf to be read, for example the
- 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
- 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

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 21 13:48:51 2006 UTC (13 years, 6 months ago) by ghen
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

Fix a problem with non-C99 compilers (reported on NetBSD 1.6 and
Solaris).  The patch is from dovecot CVS (see the thread following, via PR
pkg/33489.  Bump PKGREVISION.

Revision 1.51 / (download) - annotate - [select for diffs], Fri May 12 11:02:48 2006 UTC (13 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

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
        + 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

Revision 1.50 / (download) - annotate - [select for diffs], Sun Apr 23 00:12:38 2006 UTC (13 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/

Revision 1.49 / (download) - annotate - [select for diffs], Fri Apr 14 19:01:53 2006 UTC (13 years, 7 months ago) by ghen
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

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..

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 12 18:19:16 2006 UTC (13 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

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

Revision 1.47 / (download) - annotate - [select for diffs], Tue Apr 4 09:38:46 2006 UTC (13 years, 8 months ago) by ghen
Branch: MAIN
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

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
	+ 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

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.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Feb 10 12:20:55 2006 UTC (13 years, 9 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base
Branch point for: pkgsrc-2006Q1
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

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).

Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 8 13:43:49 2006 UTC (13 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.44: +3 -4 lines
Diff to previous 1.44 (colored)

Update Dovecot to 1.0beta3.  Changes include:

  * Dotlock code changed to timeout faster in some situations when
    the lock file is old.
  + Added support for loading SQL drivers dynamically (see INSTALL file for how
    to build them)
  + Keywords are stored to dboxes, and other dbox improvements.
  + dict-sql could actually work now, making quota-in-sql-database possibly
    working now (not fully tested)
  + Added mail storage conversion plugin to convert automatically from one
    mailbox format to another while user logs in. Doesn't preserve UIDVALIDITY/
    UIDs though.
  + Added plugin { .. } section to dovecot.conf for passing parameters to
    plugins (see dovecot-example.conf).
  + Added ssl-build-param binary which is used to generate ssl-parameters.dat.
    Main dovecot binary doesn't anymore link to SSL libraries, and this also
    makes the process title be clearer about why the process is eating all the
  - Fix building without OpenSSL
  - Fixed memory leak in MySQL driver
  - Fixes to checkpassword
  - Broken Content-Length header could have broken mbox opening
  - Fixed potential hangs after APPEND command
  - Fixed potential crashes in dovecot-auth and imap/pop3-login
  - zlib plugin now links with -lz so it could actually work
  - kqueue fixes by Vaclav Haisman

Also, change the package's name to 1.0beta3 (from 1.0b2), since "beta" is what
pkgsrc recognizes according to pkg_info(1).  (sorry tv, I thought it was "b".)

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 6 17:28:09 2006 UTC (13 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored)

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@.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 6 15:54:37 2006 UTC (13 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.42: +11 -12 lines
Diff to previous 1.42 (colored)

- 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.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jan 19 02:31:12 2006 UTC (13 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.41: +5 -7 lines
Diff to previous 1.41 (colored)

Use SUBST framework.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 10 12:39:04 2006 UTC (13 years, 10 months ago) by ghen
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Use mk/ instead of databases/mysqlX-client/,
same for  Bump PKGREVISION.  Ok by wiz.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 29 06:21:48 2005 UTC (13 years, 11 months ago) by jlam
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

Remove USE_PKGINSTALL from pkgsrc now that mk/install/
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Dec 5 23:55:10 2005 UTC (14 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Ran "pkglint --autofix", which corrected some of the quoting issues in

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 23 11:48:48 2005 UTC (14 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 19 04:57:01 2005 UTC (14 years, 3 months ago) by grant
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

add pam as a supported option.

bump PKGREVISION since this is a change from the previous behaviour,
where PAM support was autodetected. it must now be explicitly enabled
via PKG_OPTIONS.dovecot.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:18 2005 UTC (14 years, 7 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Feb 14 08:56:34 2005 UTC (14 years, 9 months ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Update to 0.99.14.


 o Message address fields are now parsed differently, fixing some
   issues with spaces. Affects only clients which use FETCH ENVELOPE
 o Message MIME parser was somewhat broken with missing MIME boundaries
 o mbox: Don't allow X-UID headers in mails to override the UIDs we
   would otherwise set. Too large values can break some clients and
   cause other trouble.
 o passwd-file userdb wasn't working
 o PAM crashed with 64bit systems
 o non-SSL inetd startup wasn't working
 o If UID FETCH notices and skips an expunged message, don't return
   a NO reply. It's not needed and only makes clients give error

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 24 08:00:40 2005 UTC (14 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

I'm the new maintainer.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 23 10:05:02 2005 UTC (14 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

reset MAINTAINER to tech-pkg@; someone please step in and take ownership
of this package (perhaps xtraeme@ or schmontz@ who made most changes?)

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 23 10:00:12 2005 UTC (14 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.31: +1 -7 lines
Diff to previous 1.31 (colored)

0.99.13 comes with CRAM-MD5 support, so remove the (already disabled) patch
related code

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jan 8 19:58:16 2005 UTC (14 years, 11 months ago) by schmonz
Branch: MAIN
Changes since 1.30: +6 -10 lines
Diff to previous 1.30 (colored)

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
* Format DESCR.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Dec 28 02:47:44 2004 UTC (14 years, 11 months ago) by reed
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).

Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 21 00:00:34 2004 UTC (14 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored)

Update to


        - Fix memory leaks in LDAP, MySQL and PGSQL userdb/passdb
        - Fix hanging when parsing mails that have over 4096 bytes in one
          line (SMTP servers normally don't allow over 1000 bytes so it
          shouldn't be much of a problem)
        - FETCH BODYSTRUCTURE sometimes gave a wrong reply
          (eg. with FETCH (BODYSTRUCTURE RFC822.SIZE) if it wasn't cached)
        - Never return more than one INBOX in LIST even if there are such
          files. They don't work anyway and it just confuses clients.
        - mbox: Don't allow creating INBOX directory by creating/renaming
          mailboxes under it. They just wouldn't work.
        - POP3: Don't return PLAIN in SASL list. We don't support initial SASL
          responses, so it only breaks with most clients that try to use it.
        - IMAP and POP3 login processes may have sent each line in two IP
          packets, one with the data and another with CR+LF. Some clients
          didn't work because of this.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Oct 25 15:25:21 2004 UTC (15 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored)

Enable the patch for crammd5, which was disabled in the last update
to 0.99.11.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 20 16:36:02 2004 UTC (15 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Update to version 0.99.11.

v0.99.11 2004-09-04  Timo Sirainen <>

        + 127.* and ::1 IP addresses are treated as secured with
          disable_plaintext_auth = yes
        + auth_debug setting for extra authentication debugging
        + Some documentation and error message updates
        + Create PID file in /var/run/dovecot/
        + home setting is now optional in static userdb
        + Added mail setting to static userdb
        - After APPENDing to selected mailbox Dovecot didn't always notice the
          new mail immediately which broke some clients
        - THREAD and SORT commands crashed with some mails
        - If APPENDed mail ended with CR character, Dovecot aborted the saving
        - Output streams sometimes sent data duplicated and lost part of it.
          This could have caused various strange problems, but looks like in
          practise it rarely caused real problems.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 1 07:04:45 2004 UTC (15 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.25: +4 -38 lines
Diff to previous 1.25 (colored)

Convert to use

Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 1 05:17:19 2004 UTC (15 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Update to From the changelog: 2004-07-31  Timo Sirainen <tss at>

        - MySQL compiling got broken in last release
        - More PostgreSQL reconnection fixing 2004-07-30  Timo Sirainen <tss at>

        + 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

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 28 15:22:07 2004 UTC (15 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.23: +8 -4 lines
Diff to previous 1.23 (colored)

Enable pkgviews installation. Iterate with "i" instead of "file"
to placate pkglint.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 24 22:45:15 2004 UTC (15 years, 4 months ago) by recht
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Use the new mk/ to select the correct PostgreSQL

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 14 18:09:00 2004 UTC (15 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.21: +7 -5 lines
Diff to previous 1.21 (colored)

Update mail/dovecot to

v0.99.10.7 2004-07-14  Timo Sirainen <>

  + Added outlook-pop3-no-nuls workaround to fix Outlook hang in
    mails with NULs.
  + Config file lines can now contain quoted strings ("value ")
  - If client didn't finish downloading a single mail in 30 seconds,
    Dovecot closed the connection. This was supposed to work so that
    if client hasn't read data at all in 30 seconds, it's disconnected.
  - Maildir: LIST now doesn't skip symlinks

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 21 08:32:05 2004 UTC (15 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Use ${VARBASE} instead of "/var".

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 21 08:30:24 2004 UTC (15 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored)

Update mail/dovecot to


        + SHA1 password support using OpenSSL crypto library
        + mail_extra_groups setting
        + maildir_stat_dirs setting
        + Added NAMESPACE capability and command
        - Autocreate missing maildirs (instead of crashing)
        - Fixed occational crash in maildir synchronization
        - Fixed occational assertion crash in ioloop.c
        - Fixed FreeBSD compiling issue
        - Fixed issues with 64bit Solaris binary

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 29 15:42:51 2004 UTC (15 years, 6 months ago) by cube
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (colored)

o Re-add CRAMMD5 support (PKGREVISION++).
o PLIST fix (hi xtraeme!).
o Re-add two chunks for dovecot-example.conf that were forgotten.

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 28 22:20:42 2004 UTC (15 years, 6 months ago) by xtraeme
Branch: MAIN
Changes since 1.17: +11 -5 lines
Diff to previous 1.17 (colored)

Update mail/dovecot to

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.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 26 02:27:43 2004 UTC (15 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 20 06:02:59 2004 UTC (15 years, 8 months ago) by snj
Branch: MAIN
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

Fix build on sparc64 with gcc2.  Correct a spelling error.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 1 15:19:41 2004 UTC (15 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Bump PKGREVISION due to libtasn1 and gnutls updates.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 14 17:21:44 2004 UTC (15 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 10 00:32:35 2004 UTC (15 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.12: +12 -14 lines
Diff to previous 1.12 (colored)


Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 1 03:38:33 2004 UTC (15 years, 11 months ago) by salo
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)


Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 9 04:06:37 2003 UTC (16 years ago) by xtraeme
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10 (colored)

Update to provided by Charlie Allom in PR pkg/23696.


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

          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.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 12 03:39:40 2003 UTC (16 years ago) by jschauma
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

PKGREVISION++ after openssl update.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 2 17:24:07 2003 UTC (16 years, 1 month ago) by salo
Branch: MAIN
Changes since 1.8: +18 -16 lines
Diff to previous 1.8 (colored)


- Some partial BODY[part] fetches may have returned data incorrectly,
  patch-ad fixes it.

- Add missing BUILD_DEFS, sort.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 18 08:11:43 2003 UTC (16 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Bump revision due to gnutls update (libtasn dependency removed).

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 23 14:27:34 2003 UTC (16 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Use ${SSLCERTS} instead of harcoded /etc/openssl.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 23 13:54:25 2003 UTC (16 years, 2 months ago) by salo
Branch: MAIN
Changes since 1.5: +16 -11 lines
Diff to previous 1.5 (colored)


Apply bugfix patches for the following problems:
- Searching address fields can crash sometimes.
- Auth process crashes if user doesn't have home directory set.
- Some BODY and BODYSTRUCTURE replies missed data for message/rfc822
  MIME parts causing clients to break.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 4 14:39:38 2003 UTC (16 years, 5 months ago) by salo
Branch: MAIN
Changes since 1.4: +3 -5 lines
Diff to previous 1.4 (colored)

Updated to version 0.99.10.

Based on PR pkg/22028 by MAINTAINER, Tom Hensel.


- 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
    default_mail_env = Maildir:~/Maildir:
- 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
- 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

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 23 15:06:10 2003 UTC (16 years, 5 months ago) by salo
Branch: MAIN
Changes since 1.3: +20 -19 lines
Diff to previous 1.3 (colored)

Updated to version 0.99.10rc2.

From MAINTAINER, Tom Hensel.


- Dovecot may now be compiled with Cyrus-SASL2, specify
  USE_SASL2=YES for this to happen.
- use generic USE_OPENLDAP instead of DOVECOT_USE_LDAP
- minor cleanups

- Minor bugs corrected, one possible crash when using hardlinks
  for copying fixed.
- Minor fix for the 'linebreak-problem' - should be history now
  even on non-i386.
- PostgreSQL server will be reconnected on failure.

This will be a stable 0.99.10 release if no new bugs popup.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 19 16:11:11 2003 UTC (16 years, 5 months ago) by salo
Branch: MAIN
Changes since 1.2: +6 -7 lines
Diff to previous 1.2 (colored)

Updated to version 0.99.10-test14 (0.99.10beta14 in pkgsrc).

From Tom Hensel via tech-pkg and private mail.


- new MAINTAINER, Tom Hensel

- IMAP over SSL works now without having to install (patched) OpenSSL from
  pkgsrc or patching dovecot itself.  For instance, OpenSSL gets initalized
  before chrooting so it can open /dev/urandom, even some possible crashes
  have been fixed.

- Many changes to the Maildir synchronization and expiration code, diffrent
  bugs and flaws are fixed. Improved indexing and hashing of Maildirs and

- Changes to improve overall perfomance have been incorparated.

- The authorization daemon now supports the ANONYMOUS SASL mechanism,
  a few bugs were fixed.

- Many flaws and glitches are gone, please see dovecot's ChangeLog for
  a complete list of changes.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 2 01:18:48 2003 UTC (16 years, 6 months ago) by jschauma
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 14 04:17:31 2003 UTC (16 years, 6 months ago) by salo
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>