summaryrefslogtreecommitdiff
path: root/mail/dovecot2
AgeCommit message (Collapse)AuthorFilesLines
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-2/+1
2012-10-01Update to Dovecot 2.1.10ghen4-8/+11
+ imap: Implemented THREAD=ORDEREDSUBJECT extension. + Added "doveadm exec" command to easily execute commands from libexec_dir, e.g. "doveadm exec imap -u user@domain" + Added "doveadm copy" command. + doveadm copy/move: Added optional user parameter to specify the source username. This allows easily copying mails between different users. + Added namespace { disabled } setting to quickly enable/disable namespaces. This is especially useful when its value is returned by userdb. + Added mailbox_alias plugin. It allows creating mailbox aliases using symlinks. + imapc storage: Added imapc_max_idle_time setting to force activity on connection. + fts-solr: Expunging multiple messages is now faster. - director: In some conditions director may have disconnected from another director (without logging about it), thinking it was sending invalid data. - imap: Various fixes to listing mailboxes. - pop3-migration plugin: Avoid disconnection from POP3 server due to idling. - login processes crashed if there were a lot of local {} or remote {} settings blocks.
2012-08-13Update to Dovecot 2.1.9ghen3-7/+14
* mail-log plugin: Log mailbox names with UTF-8 everywhere (instead of mUTF-7 in some places and UTF-8 in other places) * director: Changed director_username_hash setting's default from %u to %Lu (= lowercase usernames). This doesn't break any existing installations, but might fix some of them. + doveadm: Added "auth cache flush [<username>]" command. + Implemented dict passdb/userdb + Implemented Redis and memcached dict backends, which can be used as auth backends. Redis can also be used as dict-quota backend. + Added plugin { quota_ignore_save_errors=yes } setting to allow saving a mail when quota lookup fails with temporary failure. - Full text search indexing might have failed for some messages, always causing indexer-worker process to run out of memory. - fts-lucene: Fixed handling SEARCH HEADER FROM/TO/SUBJECT/CC/BCC when the header wasn't lowercased. - fts-squat: Fixed crash when searching a virtual mailbox. - pop3: Fixed assert crash when doing UIDL on empty mailbox on some setups. - auth: GSSAPI RFC compliancy and error handling fixes. - Various fixes related to handling shared namespaces
2012-07-27update to 2.1.8drochner3-8/+8
changes: -pop3c: Added pop3c_master_user setting -bugfix: Mailbox names were accidentally sent as UTF-8 instead of mUTF-7 -more bugfixes approved by The Maintainer
2012-05-30Update to Dovecot 2.1.7ghen2-7/+6
* LDAP: Compatibility fix for v2.0: ldap: If attributes contain ldapAttr=key=template%$ and ldapAttr doesn't exist, skip the key instead of using "template" value with empty %$ part for the key. + pop3: Added pop3_uidl_duplicates setting for changing the behavior for duplicate UIDLs. + director: Added "doveadm director ring remove" command. - director: Don't crash with quickly disconnecting incoming director connections. - mdbox: If mail was originally saved to non-INBOX, and namespace prefix is non-empty, don't assert-crash when rebuilding indexes. - sdbox: Don't use more fds than necessary when copying mails. - auth: Fixed crash with DIGEST-MD5 when attempting to do master user login without master passdbs. - Several fixes to mail_shared_explicit_inbox=no - imapc: Use imapc_list_prefix also for listing subscriptions.
2012-05-14Add support for net_getunixcred() to NetBSD before 5.0 which dosen'ttaca3-2/+101
have getpeereid(3); no LOCAL_PEEREID socket options. Bump PKGREVISION.
2012-05-10Update to Dovecot 2.1.6ghen2-7/+6
* Session ID is now included by default in auth and login process log lines. It can be added to mail processes also by adding %{session} to mail_log_prefix. + Added ssl_require_crl setting, which specifies if CRL check must be successful when verifying client certificates. + Added mail_shared_explicit_inbox setting to specify if a shared INBOX should be accessible as "shared/$user" or "shared/$user/INBOX". - v2.1.5: Using "~/" as mail_location or elsewhere failed to actually expand it to home directory. - dbox: Fixed potential assert-crash when reading dbox files. - trash plugin: Fixed behavior when quota is already over limit. - mail_log plugin: Logging "copy" event didn't work. - Proxying to backend server with SSL: Verifying server certificate name always failed, because it was compared to an IP address.
2012-04-27Recursive bump from icu shlib major bumped to 49.obache1-1/+2
2012-04-23Update to Dovecot 2.1.5ghen3-7/+8
* IMAP: When neither the session nor the mailbox has modseq tracking enabled, return the mailbox as having NOMODSEQ in SELECT/EXAMINE reply. Old versions in this situation always simply returned HIGHESTMODSEQ as 1, which could have broken some clients. + dict file: Added optional fcntl/flock locking (default is dotlock) + fts-solr: doveadm fts rescan now resets indexes, which allows reindexing mails. (This isn't a full rescan implementation like fts-lucene has.) + doveadm expunge: Added -d parameter to delete mailbox if it's empty after expunging. - IMAP: Several fixes related to mailbox listing in some configs - director: A lot of fixes and performance improvements - v2.1.4 didn't work without a mail home directory set - mbox: Deleting a mailbox didn't delete its index files. - pop3c: TOP command was sent incorrectly - trash plugin didn't work properly - LMTP: Don't add a duplicate Return-Path: header when proxying. - listescape: Don't unescape namespace prefixes.
2012-04-10Update to Dovecot 2.1.4.ghen4-113/+9
+ Added mail_temp_scan_interval setting and changed its default value from 8 hours to 1 week. + Added pop3-migration plugin for easily doing a transparent IMAP+POP3 migration to Dovecot: http://wiki2.dovecot.org/Migration/Dsync + doveadm user: Added -m parameter to show some of the mail settings. - Proxying SSL connections crashed in v2.1.[23] - fts-solr: Indexing mail bodies was broken. - director: Several changes to significantly improve error handling - doveadm import didn't import messages' flags - mail_full_filesystem_access=yes was broken - Make sure IMAP clients can't create directories when accessing nonexistent users' mailboxes via shared namespace. - Dovecot auth clients authenticating via TCP socket could have failed with bogus "PID already in use" errors.
2012-04-06Add patch from Dovecot Mercury repository to fix crash this crash intron3-2/+108
the IMAP server: Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) Problem reported and fix tested by Thorsten Frueauf.
2012-03-17Update to Dovecot 2.1.3. Changelog since 2.1.1:ghen3-7/+11
There are a ton of proxying related improvements in this release. You should now be able to do pretty much anything you want with Dovecot proxy/director. This release also includes the initial version of dsync-based replication. I'm already successfully using it for @dovecot.fi mails, but it still has some problems. See http://dovecot.org/list/dovecot/2012-March/064243.html for some details how to configure it. + Initial implementation of dsync-based replication. For now this should be used only on non-critical systems. + Proxying: POP3 now supports sending remote IP+port from proxy to backend server via Dovecot-specific XCLIENT extension. + Proxying: proxy_maybe=yes with host=<hostname> (instead of IP) works now properly. + Proxying: Added auth_proxy_self setting + Proxying: Added proxy_always extra field (see wiki docs) + Added director_username_hash setting to specify what part of the username is hashed. This can be used to implement per-domain backends (which allows safely accessing shared mailboxes within domain). + Added a "session ID" string for imap/pop3 connections, available in %{session} variable. The session ID passes through Dovecot IMAP/POP3 proxying to backend server. The same session ID is can be reused after a long time (currently a bit under 9 years). + passdb checkpassword: Support "credentials lookups" (for non-plaintext auth and for lmtp_proxy lookups) + fts: Added fts_index_timeout setting to abort search if indexing hasn't finished by then (default is to wait forever). - doveadm sync: If mailbox was expunged empty, messages may have become back instead of also being expunged in the other side. - director: If user logged into two directors while near user expiration, the directors might have redirected the user to two different backends. - imap_id_* settings were ignored before login. - Several fixes to mailbox_list_index=yes - Previous v2.1.x didn't log all messages at shutdown. - mbox: Fixed accessing Dovecot v1.x mbox index files without errors.
2012-02-23Use statvfs on *BSD, reported by Christoph Bayer.ghen2-1/+24
2012-02-23Update to Dovecot 2.1.1. Major changes since 2.0.x:ghen4-36/+58
* Plugins now use UTF-8 mailbox names rather than mUTF-7: acl, autocreate, expire, trash, virtual * auth_username_format default changed to %Lu. If you really want case sensitive usernames, set it back to empty. * Solr full text search backend changed to use mailbox GUIDs instead of mailbox names, requiring reindexing everything. solr_old backend can be used with old indexes to avoid reindexing, but it doesn't support some newer features. * Expire plugin: Only go through users listed by userdb iteration. Delete dict rows for nonexistent users, unless expire_keep_nonexistent_users=yes. * Temporary authentication failures sent to IMAP/POP3 clients now includes the server's hostname and timestamp. This makes it easier to find the error message from logs. * dsync was merged into doveadm. There is still "dsync" symlink pointing to "doveadm", which you can use the old way for now. The preferred ways to run dsync are "doveadm sync" (for old "dsync mirror") and "doveadm backup". + imapc (= IMAP client) storage allows using a remote IMAP server to be used as storage. This allows using Dovecot as a smart (caching) proxy or using dsync to do migration from remote IMAP server. + Mailbox indexing via queuing indexer service (required for Lucene) + Lucene full text search (FTS) backend rewritten with support for different languages + FTS finally supports "OR" search operation + FTS supports indexing attachments via external programs + IMAP FUZZY extension, supported by Lucene and Solr FTS backends + IMAP SPECIAL-USE extension to describe mailboxes + Mailbox list indexes + Statistics tracking via stats service. Exported via doveadm stats. + Autocreate plugin creates/subscribes mailboxes physically only when the mailbox is opened for the first time. Mailbox listing shows the autocreated mailboxes even if they don't physically exist. + Password and user databases now support default_fields and override_fields settings to specify template defaults/overrides. + SCRAM-SHA-1 authentication mechanism by Florian Zeitz + LDAP: Allow building passdb/userdb extra fields from multiple LDAP attributes by using %{ldap:attributeName} variables in the template. + Improved multi-instance support: Track automatically which instances are started up and manage the list with doveadm instance commands. All Dovecot commands now support -i <instance_name> parameter to select the instance (instead of having to use -c <config path>). See instance_name setting. + auth: Implemented support for Postfix's "TCP map" sockets for user existence lookups. - listescape plugin works perfectly now Changes since 2.1.0: + dsync: If message with same GUID is saved multiple times in session, copy it instead of re-saving. - acl plugin + autocreated mailboxes crashed when listing mailboxes - doveadm force-resync: Don't skip autocreated mailboxes (especially INBOX). - If process runs out of fds, stop listening for new connections only temporarily, not permanently (avoids hangs with process_limit=1 services) - auth: passdb imap crashed for non-login authentication (e.g. smtp).
2012-01-08Changes 2.0.17:adam3-7/+10
* Proxying now supports sending SSL client certificate to server with ssl_client_cert/key settings. * doveadm dump: Added support for dumping dbox headers/metadata. * Fixed memory leaks in login processes with SSL connections * vpopmail support was broken in v2.0.16
2011-11-17Update to Dovecot 2.0.16.ghen3-7/+10
* VSZ limits weren't being enforced for any processes. On server with large mailboxes you may now see errors about it if the limits aren't high enough. To fix them, either increase individual service { vsz_limit } values or simply increase the default_vsz_limit setting. * Proxying: If using ssl=yes or starttls=yes with a hostname (not IP) as proxy destination, require that the certificate matches the given hostname. * LMTP: Changed default client_limit to 1. This should improve LMTP throughput with default settings. * dsync: Quota is no longer enforced (i.e. dsync can't fail because user is over quota). + Added "auto" mail storage driver, which can be used to autodetect mailbox location and format. This behavior is already the default for empty mail_location setting, so this change is mainly useful for shared namespace's location setting. + checkpassword: Export all auth %variables to AUTH_* environment.
2011-09-16Update to Dovecot 2.0.15.ghen2-6/+6
+ doveadm altmove: Added -r parameter to move mails back to primary storage. - v2.0.14: Index reading could have eaten a lot of memory in some situations - doveadm index no longer affects future caching decisions - mbox: Fixed crash during mail delivery when mailbox didn't yet have GUID assigned to it. - zlib+mbox: Fetching last message from compressed mailboxes crashed. - lib-sql: Fixed load balancing and error handling when multiple hosts are used.
2011-08-29Changes 2.0.14:adam3-8/+11
* doveadm: Added support for running mail commands by proxying to another doveadm server. * Added "doveadm proxy list" and "doveadm proxy kick" commands to list/kick proxy connections (via a new "ipc" service). * Added "doveadm director move" to assign user from one server to another, killing any existing connections. * Added "doveadm director ring status" command. * userdb extra fields can now return name+=value to append to an existing name, e.g. "mail_plugins+= quota". * script-login attempted an unnecessary config lookup, which usually failed with "Permission denied". * lmtp: Fixed parsing quoted strings with spaces as local-part for MAIL FROM and RCPT TO. * imap: FETCH BODY[HEADER.FIELDS (..)] may have crashed or not returned all data sometimes. * ldap: Fixed random assert-crashing with with sasl_bind=yes. * Fixes to handling mail chroots * Fixed renaming mailboxes under different parent with FS layout when using separate ALT, INDEX or CONTROL paths. * zlib: Fixed reading concatenated .gz files.
2011-06-14Enable "pam" option in "dovecot" packages by default as most platformstron2-4/+4
supported by "pkgsrc" provide PAM support out of the box. Change approved by Geert Hendrickx.
2011-06-10recursive bump from icu shlib major bump.obache1-1/+2
2011-05-13Changes 2.0.13:adam4-11/+15
* Added "doveadm index" command to add unindexed messages into index/cache. If full text search is enabled, it also adds unindexed messages to the fts database. * added "doveadm director dump" command. * pop3: Added support for showing messages in "POP3 order", which can be different from IMAP message order. This can be useful for migrations from other servers. Implemented it for Maildir as 'O' field in dovecot-uidlist. * doveconf: Fixed a wrong "subsection has ssl=yes" warning. * mdbox purge: Fixed wrong warning about corrupted extrefs. * sdbox: INBOX GUID changed when INBOX was autocreated, leading to trouble with dsync. * script-login binary wasn't actually dropping privileges to the user/group/chroot specified by its service settings. * Fixed potential crashes and other problems when parsing header names that contained NUL characters.
2011-04-22recursive bump from gettext-lib shlib bump.obache1-1/+2
2011-04-22recursive bump from gettext-lib shlib bump.obache1-1/+2
2011-04-15Changes 2.0.12:adam3-13/+14
* doveadm: Added "move" command for moving mails between mailboxes. * virtual: Added support for "+mailbox" entries that clear \Recent flag from messages (default is to preserve them). * dbox: Fixes to handling external attachments * dsync: More fixes to avoid hanging with remote syncs * dsync: Many other syncing/correctness fixes * doveconf: v2.0.10 and v2.0.11 didn't output plugin {} section right
2011-03-10Changes 2.0.11:adam6-35/+16
* dotlock_use_excl setting's default was accidentally "no" in all v2.0.x releases, instead of "yes" as in v1.1 and v1.2. Changed it back to "yes". - v2.0.10: LDAP support was broken - v2.0.10: dsyncing to remote often hanged (timed out in 15 mins) Chamges 2.0.10: * LMTP: For user+detail at domain deliveries, the +detail is again written to Delivered-To: header. * Skip auth penalty checks from IPs in login_trusted_networks. + Added import_environment setting. + Added submission_host setting to send mails via SMTP instead of via sendmail binary. + Added doveadm acl get/set/delete commands for ACL manipulation, similar to how IMAP ACL extension works. + Added doveadm acl debug command to help debug and fix problems with why shared mailboxes aren't working as expected. - IMAP: Fixed hangs with COMPRESS extension - IMAP: Fixed a hang when trying to COPY to a nonexistent mailbox. - IMAP: Fixed hang/crash with SEARCHRES + pipelining $. - IMAP: Fixed assert-crash if IDLE+DONE is sent in same TCP packet. - LMTP: Fixed sending multiple messages in a session. - doveadm: Fixed giving parameters to mail commands. - doveadm import: Settings weren't correctly used for the import storage. - dsync: Fixed somewhat random failures with saving messages to remote dsync. - v2.0.9: Config reload didn't notify running processes with shutdown_clients=no, so they could have kept serving new clients with old settings.
2011-02-02Add fix by Timo Sirainen from the Dovecot Mercury repository to fixtron3-2/+22
a hang when trying to COPY to a non existent mailbox via IMAP.
2011-01-13Fix buildlinking when ssl or gnutls has been setadam1-3/+6
2011-01-13Changes 2.0.9:adam3-16/+27
* Linux: Fixed a high system CPU usage / high context switch count performance problem * Maildir: Avoid unnecessarily reading dovecot-uidlist while opening mailbox. * Maildir: Fixed renaming child mailboxes when namespace had a prefix. * mdbox: Don't leave partially written messages to mdbox files when aborting saving. * Fixed master user logins when using userdb prefetch * lda: Fixed a crash when trying to send "out of quota" reply * lmtp: If delivering duplicate messages to same user's INBOX, create different GUIDs for them. This helps to avoid duplicate POP3 UIDLs when pop3_uidl_format=%g. * virtual storage: Fixed saving multiple mails in a transaction (e.g. copy multiple messages). * dsync: Saved messages' save-date was set to 1970-01-01.
2010-12-07Revert last changeadam1-3/+3
2010-12-07Fix setting dovecot_fdlimitadam1-3/+3
2010-12-03Leftover.ghen1-61/+0
2010-12-03Update to Dovecot 2.0.8.ghen8-90/+22
* Services' default vsz_limits weren't being enforced correctly in earlier v2.0 releases. Now that they are enforced, you might notice that the default limits are too low and you need to increase them. This problem will show up in logs as "out of memory" errors. See default_vsz_limit and service { vsz_limit } settings. * LMTP: In earlier versions if mail was delivered to user+detail@domain address, LMTP server always attempted to deliver the mail to mailbox named "detail". This was rather unintentional and shouldn't have been the default. lmtp_save_to_detail_mailbox=yes setting now preserves this behavior (default is no). + Added systemd support (configure --with-systemdsystemunitdir). Based on patch by Christophe Fergeau. + Replaced broken mbox-snarf plugin with a new more generic snarf plugin. - dbox: Fixes to handling external mail attachments - verbose_proctitle=yes didn't work for all processes in v2.0.7 - imap, pop3: When service { client_count } was larger than 1, the log messages didn't use the correct prefix. Last logged in user's prefix was always used, regardless of what user's session actually logged it. Now the proper log prefix is always used. - MySQL: Only the first specified host was ever used
2010-11-09Argh, missed the fact that adam imported the sieve plugin as a separateghen5-59/+33
dovecot2-pigonhole package. Back out the changes related to this.
2010-11-09Update to Dovecot 2.0.7.ghen3-15/+16
* master: default_process_limit wasn't actually used anywhere, rather the default was unlimited. Now that it is enforced, you might notice that the default limit is too low and you need to increase it. Dovecot logs a warning when this happens. * mail-log plugin: Log mailbox name as virtual name rather than physical name (e.g. namespace prefix is included in the name) + doveadm dump: Added imapzlib type to uncompress IMAP's COMPRESS DEFLATE I/O traffic (e.g. from rawlog). - IMAP: Fixed LIST-STATUS when listing subscriptions with subscriptions=no namespaces. - IMAP: Fixed SELECT QRESYNC not to crash on mailbox close if a lot of changes were being sent. - quota: Don't count virtual mailboxes in quota - doveadm expunge didn't always actually do the physical expunging - Fixed some index reading optimizations introduced by v2.0.5. - LMTP proxying fixes
2010-11-09Merge ommitted stuff from mail/dovecot package, most importantly theghen7-72/+160
dovecot-sieve option (managesieve support is now included with sieve). Create additional "dovenull" user for login processes. Add MESSAGE with upgrade notes. Grab maintainership. Major changes since 1.2: * Dovecot uses two system users for internal purposes now by default: dovenull and dovecot. You need to create the dovenull user or change default_login_user setting. * Global ACLs are now looked up using namespace prefixes. For example if you previously had INBOX. namespace prefix and a global ACL for "INBOX.Sent", it's now looked up from "INBOX.Sent" file instead of "Sent" as before. * Maildir: File permissions are no longer based on dovecot-shared file, but the mailbox directory. + Redesigned master process. It's now more modular and there is less code running as root. + Configuration supports now per-local/remote ip/network settings. + dsync utility does a two-way mailbox synchronization. + LMTP server and proxying. + Added mdbox (multi-dbox) mail storage backend. + doveadm utility can be used to do all kinds of administration functions. Old dovecotpw and *view utilities now exist in its subcommands. + imap and pop3 processes can now handle multiple connections. + IMAP: COMPRESS=DEFLATE is supported by imap_zlib plugin + director service helps NFS installations to redirect users always to same server to avoid corruption
2010-11-05Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,adam17-0/+1073
written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very little memory.