Commit graph

189 commits

Author SHA1 Message Date
obache
9ea3b36c23 recursive bump from gettext-lib shlib bump. 2011-04-22 14:40:40 +00:00
ghen
91b023ce9c 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.
2010-11-20 15:57:11 +00:00
ghen
8ae6d8467b 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 http://www.dovecot.org/list/dovecot/2010-October/053452.html

* 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
  name.
2010-10-05 06:53:27 +00:00
ghen
b026950503 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.
2010-09-24 14:17:37 +00:00
ghen
3e0079fda6 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
  errors.
- 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.
2010-07-25 22:17:19 +00:00
ghen
4316d971a3 Automatically include dovecot-(manage)sieve options when generating distinfo. 2010-07-23 07:44:51 +00:00
ghen
49eccc4c65 Reset PKGREVISION. 2010-06-20 09:55:52 +00:00
ghen
ff9fc38788 Remove MESSAGE file, it's old enough now. 2010-06-20 09:55:02 +00:00
ghen
7797e89a31 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
  rejected.
- 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.
2010-06-20 09:54:48 +00:00
erh
8d9d7d3944 Doveget becomes unhappy and exits if the time jumps after it starts, so make
it start after ntpdate runs.
2010-06-13 23:01:50 +00:00
ghen
62db60d73d 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ß.
Bump PKGREVISION.
2010-05-03 19:19:00 +00:00
ghen
67f89f813c Fix some pkglint nits. 2010-04-30 10:50:21 +00:00
ghen
89025ee16a 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:

  http://ietfreport.isoc.org/idref/rfc5235/

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
     systems.
   - 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.
2010-04-30 10:43:26 +00:00
ghen
4508fe1286 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
2010-03-18 06:26:19 +00:00
ghen
b0ec4b60b4 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}
	  everywhere.
	+ 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
       methods.
     - 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
        configuration.
      - 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
     binary.
   - 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
     mechanisms.
   - Made configure complain about trying to compile against installed
     Dovecot headers alone.
   - Fixed compile warning for compilation against CMUSieve.
2010-01-25 12:31:20 +00:00
ghen
3ce1059096 Option dovecot-managesieve without dovecot-sieve not supported.
Set PKG_FAIL_REASON in that case.
2010-01-25 12:31:08 +00:00
wiz
662a258e1b Remove workaround for compiler bug in gcc2 on sparc64. 2010-01-16 17:57:36 +00:00
ghen
6e31fc2b4a 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_uidlist_records_drop_expunges()
	- 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
     implementation.
   + 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
     extension.
   + 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.
2010-01-15 18:41:11 +00:00
wiz
192072abe4 regen for changes in patch-ab. 2010-01-06 22:31:18 +00:00
sketch
36dffa1795 Fix (commented out) substitution. 2010-01-06 16:57:18 +00:00
ghen
bf85796f2e Update to Dovecot 1.2.8, imported from pkgsrc-wip and based on work of Edgar
Fuß <ef@math.uni-bonn.de>.

The package now contains Stephan Bosch' new Dovecot Sieve plugin as a pkgsrc
option (instead of the old CMU Sieve plugin that was a separate package), as
well as the ManageSieve extension.  The dovecot-sieve package will be removed.

Upgrading from Dovecot 1.1.x may require changes to your configuration file,
see this webpage for more information: http://wiki.dovecot.org/Upgrading/1.2

Major changes since Dovecot 1.1:

	* When creating files or directories to mailboxes, Dovecot now uses
	  the mailbox directory's permissions and GID for them. Previous
	  versions simply used 0600 mode always. For backwards compatibility
	  dovecot-shared file's permissions still override these with Maildir.
	* SQL dictionary (quota) configuration file is different than in v1.1.
	  See doc/dovecot-dict-sql-example.conf for the new format.
	* deliver -m: Mailbox name is now assumed to be in UTF-8 format,
	  not modified-UTF7. Stephan Bosch's new Sieve implementation also
	  assumes UTF-8 format in fileinto parameters.

	+ Full support for shared mailboxes and IMAP ACL extension.
	  The code is mainly from Sascha Wilde and Bernhard Herzog.
	+ IMAP: Added support for extensions: CONDSTORE, QRESYNC, ESEARCH,
	  ESORT, SEARCHRES, WITHIN, ID and CONTEXT=SEARCH.
	+ SEARCH supports INTHREAD search key, but the rest of the INTHREAD
	  draft isn't implemented yet so it's not advertised in capability.
	+ THREAD REFS algorithm where threads are sorted by their latest
	  message instead of the thread root message. There is also no base
	  subject merging.
	+ IMAP: Implemented imap-response-codes draft.
	+ Thread indexes for optimizing IMAP THREAD command and INTHREAD
	  search key.
	+ Added userdb checkpassword (by Sascha Wilde)
	+ Virtual mailboxes: http://wiki.dovecot.org/Plugins/Virtual
	+ Autocreate plugin: http://wiki.dovecot.org/Plugins/Autocreate
	+ Listescape plugin: http://wiki.dovecot.org/Plugins/Listescape
2009-12-11 20:52:21 +00:00
ghen
eeca9cf6e0 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.
2009-11-14 15:53:52 +00:00
ghen
b738c5341d 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).
2009-09-14 06:09:08 +00:00
ghen
01ed56ac4d 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).
2009-08-11 11:33:58 +00:00
tron
e38241cd56 Set license to "mit", "gnu-lgpl-v2.1" and "modified-bsd". 2009-08-11 10:45:01 +00:00
ghen
627fd43780 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
  UID FETCH or UID SEARCH.
- 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.
2009-07-13 08:00:10 +00:00
ghen
b4bf7a338f There is no sasl option, unlist it. 2009-07-02 11:38:34 +00:00
manu
d62e3d2f2b 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.
2009-06-25 09:54:14 +00:00
joerg
ce6e8d4701 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:45:10 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
ghen
2eeae426b0 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-
  crashed.
2009-06-03 07:10:20 +00:00
ghen
07f39afeb7 Update to Dovecot 1.1.15.
v1.1.15 2009-05-17  Timo Sirainen <tss@iki.fi>

+ IMAP: When multiple commands are pipelined, try harder to combine their
  mailbox syncing together. For example with Maildir pipelining STORE 1:*
  +FLAGS \Deleted and EXPUNGE commands the files won't be unnecessarily
  rename()d before being unlink()ed.
- IMAP: SEARCH command was slower than necessary in a large mailbox.
- deliver: When forwarding messages, if -f parameter was given, it should have
  been used as the Return-Path.
- Maildir saving: Fixed race condition bugs in uidlist handling, causing files
  to be given new UIDs sometimes.
- mbox: Don't crash when expunging all messages and file doesn't end with
  [CR]LF.
- expire-tool: Use mail_uid and mail_gid settings if userdb doesn't return
  uid/gid.
- Berkeley DB dict: Transaction rollbacking was implemented wrong.
- zlib plugin: Some email / FETCH command combinations could have disconnected
  the client or sent compressed garbage.
2009-05-20 08:07:38 +00:00
tnn
9d7be874cc 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.
2009-05-11 08:54:49 +00:00
ghen
1d9bbdabc6 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
  backups.

- 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.
2009-04-20 14:06:17 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
85692967c9 Add comment about include guard. 2009-03-19 15:50:27 +00:00
ghen
1621dfb51f 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.
2009-03-19 09:04:44 +00:00
ghen
f1b3b690f2 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
  dotlocking.
- 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.
2009-03-18 08:47:15 +00:00
ghen
638c9f36cc 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.
2009-02-04 18:36:54 +00:00
ghen
5ef0ac4b99 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
2009-01-27 08:29:31 +00:00
ghen
f94bd81a1f Update to Dovecot 1.1.9. From the release announcement mail:
Lots of small dbox fixes, hopefully migrations from Maildir are now working
correctly.

+ Sending SIGUSR2 to dovecot-auth now also logs statistics about cache inserts.
  This could help figuring out auth cache size.
+ deliver: Added rejection_subject setting, which is used for rejected mails.
+ pop3: Prevent clients from looping forever trying to fetch an expunged
  message.
+ If login process crashes, log the IP address that (maybe) caused it.
+ If core dump limit is 0, add "core dumps disabled" to startup log line.
+ Log better messages for "Permission denied" errors
- mbox: Fixed assert-crash with pop3_lock_session=yes
- dbox: Fixes to handling maildir-converted files.
- Auth cache wasn't working correctly for all fields (e.g. allow_nets) with
  blocking passdbs (e.g. mysql).
- pgsql: Handle reconnecting to server without failing auth lookups.
- Berkeley DB memory/resource leak fixes.
- maildir: Fixes to handling over 26 keywords.
2009-01-24 10:51:35 +00:00
abs
93dfc13a01 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
2009-01-08 00:02:43 +00:00
ghen
2c23b664a9 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.
2008-11-24 09:54:29 +00:00
adrianp
4287b285de 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.
2008-11-02 16:19:53 +00:00
ghen
3dbe8b001e 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
  enabled).
- 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
2008-10-22 21:16:36 +00:00
ghen
398ef3e0a3 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.
2008-10-06 07:08:01 +00:00
ghen
6899a70e6a 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.
2008-09-03 15:04:34 +00:00
ghen
5320f23916 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 (www.directi.com).

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
http://wiki.dovecot.org/Plugins/Zlib.

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
	  server: http://wiki.dovecot.org/Plugins/FTS/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:
http://www.dovecot.org/list/dovecot/2008-June/031680.html
2008-07-24 07:38:51 +00:00
ghen
e626b26912 patch-am was never committed. 2008-07-21 10:19:42 +00:00
jnemeth
12137ba67b bump default file descriptor limit as it is too low on NetBSD 2008-07-10 00:54:30 +00:00