./mail/dovecot2-pigeonhole, Support for the Sieve language and the ManageSieve protocol

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.4.21, Package name: dovecot-pigeonhole-0.4.21, Maintainer: adam

This package is part of the Pigeonhole project (http://pigeonhole.dovecot.org).
It adds support for the Sieve language (RFC 5228) and the ManageSieve protocol
(RFC 5804) to the Dovecot Secure IMAP Server.

The Sieve language is used to specify how e-mail needs to be processed. By
writing Sieve scripts, users can customize how messages are delivered, e.g.
whether they are forwarded or stored in special folders. Unwanted messages can
be discarded or rejected, and, when the user is not available, the Sieve
interpreter can send an automated reply. Above all, the Sieve language is meant
to be simple, extensible and system independent. And, unlike most other mail
filtering script languages, it does not allow users to execute arbitrary
programs. This is particularly useful to prevent virtual users from having full
access to the mail store. The intention of the language is to make it impossible
for users to do anything more complex (and dangerous) than write simple mail

Using the ManageSieve protocol, users can upload their Sieve scripts remotely,
without needing direct filesystem access through FTP or SCP. Additionally,
aManageSieve server always makes sure that uploaded scripts are valid,
preventing compile failures at mail delivery.

This package provides Sieve support as a plugin to Dovecot's Local Delivery
Agent (LDA) and Dovecot's LMTP service. The ManageSieve protocol is provided is
an additional service, next to Dovecot's own POP3 and IMAP services.

Required to run:

Required to build:

Master sites:

SHA1: ee43f18f52988fc2a05b1dbbc248fb255996d127
RMD160: f9f67d30793918bbc126b29b897df95e781dd2c4
Filesize: 1733.288 KB

Version history: (Expand)

CVS history: (Expand)

   2017-10-13 08:53:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
dovecot2-pigeonhole: update to 0.4.21


* redirect action: Always set the X-Sieve-Redirected-From header to
  sieve_user_email if configured. Before, it would use the envelope recipient
  instead if available, which makes no sense if the primary e-mail address is
+ vacation extension: Allow ignoring the envelope sender while composing the
  "To:" header for the reply. Normally, the "To:" header is \ 
composed from
  the address found in the "Sender", "Resent-From" or \ 
"From" headers that is
  equal to the envelope sender. If none is then found, the bare envelope
  sender is used. This change adds a new setting
  "sieve_vacation_to_header_ignore_envelope". With this setting \ 
enabled, the
  "To:" header is always composed from those headers in the source message.
  The new setting thus allows ignoring the envelope, which is useful e.g.
  when SRS is used.
+ vacation extension: Compose the "To:" header from the full sender address
  found in the first "Sender:", "From:" or \ 
"Resent-From:" header. Before, it
  would create a "To:" header without a phrase part. The new behavior is
  nicer, since the reply will be addressed to the sender by name if possible.
- LDA Sieve plugin: Fixed sequential execution of LDAP-based scripts. A
  missing LDAP-based script could cause the script sequence to exit earlier.
- sieve-filter: Removed the (now) duplicate utf8 to mutf7 mailbox name
  conversion. This caused problems with mailbox names containing UTF-8
  characters. The Dovecot API was changed years ago, but apparently
  sieve-filter was never updated.
   2017-09-02 16:31:24 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update dovecot2-pigeonhole to 0.4.20.

Changelog v0.4.20:

+ Made the retention period for redirect duplicate identifiers
  configurable. For accounts that perform many redirects, the lda-dupes
  database could grow to impractical sizes. Changed the default
  retention period from 24 to 12 hours.
- sieve-filter: Fixed memory leak: forgot to clean up script binary at
  end of execution. Normally, this would merely be an inconsequential
  memory leak. However, when the script comes from an LDAP storage, this
  would cause io leak warnings.
- managesieve-login: Fixed handling of AUTHENTICATE command. A second
  authenticate command would be parsed wrong. This problem was caused by
  changes in the previous release.
- LDA Sieve plugin: Fixed minor memory leak caused by not cleaning up
  the sieve_discard script.
   2017-07-03 15:13:58 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changelog v0.4.19:

* This release adjusts Pigeonhole to several changes in the Dovecot API,
 making it depend on Dovecot v2.2.31. Previous versions of Pigeonhole
 will produce compile warnings with the recent Dovecot releases (but
 still work ok).
- Fixed bug in handling of implicit keep in some cases. Implicit
 side-effects, such as assigned flags, were not always applied
 correctly. This is in essence a very old bug, but it was exposed by
 recent changes.
- include extension: Fixed segfault that (sometimes) occurred when the
 global script location was left unconfigured.
   2017-04-13 04:00:44 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update dovecot2-pigeonhole to 0.4.18 for dovecot2 2.2.28.

v0.4.18 12-04-2017 Stephan Bosch <stephan@rename-it.nl>

+ imapsieve plugin: Implemented the copy_source_after rule action. When this
  is enabled for a mailbox rule, the specified Sieve script is executed for
  the message in the source mailbox during a "COPY" event. This \ 
happens only
  after the Sieve script that is executed for the corresponding message in the
  destination mailbox finishes running successfully.
+ imapsieve plugin: Added non-standard Sieve environment items for the source
  and destination mailbox.
- multiscript: The execution of the discard script had an implicit "keep",
  rather than an implicit "discard".
   2017-03-18 08:15:17 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 0.4.17:
- LDA Sieve plugin: Fixed handling of an early explicit keep during
  multiscript execution. Action side-effects and the message snapshot would be
  lost at the final stage where the implicit keep is evaluated. This could
  result in the IMAP flags assigned to the message to be forgotten or that
  headers modified by the "editheader" extension would revert to their
  original state.
- file script storage: Amended the up-to-date time stamp comparison for
  on-disk binaries to include nanoseconds. This will fix problems occurring
  when both binary and script are saved within the same second. This fix is
  ineffective on older systems that have no support for nanoseconds in stat()
  timestamps, which     should be pretty rare nowadays.
- file script storage: Improve saving and listing permission error to include
  more details.
- imapsieve plugin: Make sure "INBOX" is upper case in static mailbox \ 
  Otherwise, the mailbox name would never match, since matching is performed
  case-sensitively and Dovecot only returns the upper-cased "INBOX".
- imapsieve plugin: Fixed assert failure occurring when used with virtual
- doveadm sieve plugin: Fixed crash when setting Sieve script via attribute's
  string value.
   2016-11-12 12:22:29 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
* Part of the Sieve extprograms implementation was moved to Dovecot, which
  means that this release depends on Dovecot v2.2.26+.
* ManageSieve: The PUTSCRIPT command now allows uploading empty Sieve scripts.
  There was really no good reason to disallow doing that.
+ Sieve vnd.dovecot.report extension:
  + Added a Dovecot-Reporting-User field to the report body, which contains
    the e-mail address of the user sending the report.
  + Added support for configuring the "From:" address used in the report.
+ LDA sieve plugin: Implemented support for a "discard script" that is run
  when the message is going to be discarded. This allows doing something other
  than throwing the message away for good.
+ Sieve vnd.dovecot.environment extension: Added vnd.dovecot.config.*
  environment items. These environment items map to sieve_env_* settings from
  the plugin {} section in the configuration. Such values can of course also
  be returned from userdb.
+ Sieve vacation extension: Use the Microsoft X-Auto-Response-Suppress header
  to prevent unwanted responses from and to (older) Microsoft products.
+ ManageSieve: Added rawlog_dir setting to store ManageSieve traffic logs.
  This replaces at least partially the rawlog plugin (mimics similar IMAP/POP3
- doveadm sieve plugin: synchronization: Prevent setting file timestamps to
  unix epoch time. This occurred when Dovecot passed the timestamp as
  'unknown' during synchronization.
- Sieve exprograms plugin: Fixed spurious '+' sometimes returned at the end
  of socket-based program output.
- imapsieve plugin: Fixed crash occurring in specific situations.
- Performed various fixes based on static analysis and Clang warnings.
   2016-09-19 15:04:29 by Thomas Klausner | Files touched by this commit (147)
Log message:
Recursive PKGREVISION bump for gnutls shlib major bump.
   2016-07-09 03:28:39 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update dovecot2-pigeonhole to 0.4.15.

v0.4.15 07-07-2016 Stephan Bosch <stephan@rename-it.nl>

* vacation extension: The sieve_user_email setting is now used in the check
  for implicit delivery.
- imapsieve plugin: For any mail transaction, the mailbox was opened a second
  time, even if no mailbox rule matched. This was unintentional, useless and
  caused problems when the imapsieve plugin was used with other plugins like
- extprograms plugin: Significantly improved error handling. No stream errors
  were logged.
- extprograms plugin: Fixed bug in handling of result code from remote program
  (script service).
- extprograms plugin: Connection to remote program service was not retried.
- Several small fixes based on static analysis.
- Fixed handling of quoted string localparts in email addresses.