Commit graph

54 commits

Author SHA1 Message Date
taca
42fc660d1b mail/dovecot2-pigeonhole: update to 0.5.7.2
Update dovecot2-pigeonhole to 0.5.7.2.

Changes
-------
* CVE-2019-11500: ManageSieve protocol parser does not properly handle
NUL byte
  when scanning data in quoted strings, leading to out of bounds heap
  memory writes. Found by Nick Roessler and Rafi Rubin.
2019-08-29 01:07:24 +00:00
nia
63e7b4c031 Use https for dovecot.org. 2019-07-24 18:14:42 +00:00
taca
bc10549db3 mail/dovecot2-pigeonhole: update to 0.5.7.1
v0.5.7.1 2019-07-23  Timo Sirainen <timo.sirainen@open-xchange.com>

	- dsync: Sieve script syncing failed if mailbox attributes weren't
	  enabled.
2019-07-23 15:12:22 +00:00
taca
6b041fa9aa mail/dovecot2-pigeonhole: update to 0.5.7
Update dovecot2-pigeonhole to 0.5.7.

Changes
-------
+ vacation: Made the subject for the automatic response message produced
  by the Sieve vacation action configurable. Both the default subject
  (if the script defines none) and the subject template (e.g. used to
  add a subject prefix) can be configured.
- dsync: dsync-replication does not synchronize Sieve scripts.
- imap_sieve_filter: Reduce FILTER=SIEVE verbosity over IMAP connection.
- testsuite: Pigeonhole testsuite segfaulted if it was compiled with
  GCC 9
2019-07-18 13:41:34 +00:00
jperkin
9f1cb8b28a dovecot2-pigeonhole: Disable hardening autodetection.
Seems to interact badly with the SunOS build.
2019-06-21 15:36:59 +00:00
taca
bbd1b63022 mail/dovecot2-pigeonhole: update to 0.5.6
Update dovecot2-pigeonhole to 0.5.6.

v0.5.6 2019-04-30  Aki Tuomi <aki.tuomi@open-xchange.com>

	+ sieve: Redirect loop prevention is sometimes ineffective. Improve
	  existing loop detection by also recognizing the
	  X-Sieve-Redirected-From header in incoming messages and dropping
	  redirect actions when it points to the sending account. This header
	  is already added by the redirect action, so this improvement only
	  adds an additional use of this header.
	- sieve: Prevent execution of implicit keep upon temporary failure
	  occurring at runtime.
2019-04-30 15:22:22 +00:00
taca
9c610024bb mail/dovecot2-pigeonhole: update to 0.5.5
Update dovecot2-pigeonhole to 0.5.5 for dovecot 2.3.5.

v0.5.5 2019-03-05  Stephan Bosch <stephan@rename-it.nl>

	+ IMAPSieve: Add new plugin/imapsieve_expunge_discarded setting which
	  causes messages discarded by an IMAPSieve script to be expunged
	  immediately, rather than only being marked as "\Deleted" (which is
	  still the default behavior).
	- IMAPSieve: Fix panic crash occurring when a COPY command copies
	  messages from a virtual mailbox where the source messages originate
	  from more than a single real mailbox.
	- imap4flags extension: Fix deleting all keywords. When the action
	  resulted in all keywords being removed, no changes were actually
	  applied.
	- variables extension: Fix truncation of UTF-8 variable content. The
	  maximum size of Sieve variables was enforced by truncating the
	  variable string content bluntly at the limit, but this does not
	  consider UTF-8 code point boundaries. This resulted in broken UTF-8
	  strings. This problem also surfaced for variable modifiers, such as
	  the ":encodeurl" modifier provided by the Sieve "enotify" extension.
	  In that case, the resulting URI escaping could also be truncated
	  inappropriately.
	- IMAPSieve, IMAP FILTER=SIEVE: Fix replacing a modified message. Sieve
	  scripts running in IMAPSIEVE or IMAP FILTER=SIEVE context that
	  modify the message, stored the message a second time, rather than
	  replacing the originally stored unmodified message.
	- Fix segmentation fault occurring when both the sieve_extprograms
	  plugin (for the Sieve interpreter) and the imap_filter_sieve plugin
	  (for IMAP) are loaded at the same time. A symbol was defined by both
	  plugins, causing a clash when both were loaded.
2019-03-12 04:32:25 +00:00
adam
be7ea823e1 dovecot2-pigeonhole: updated to 0.5.4
v0.5.4:
* Adjustments to several changes in Dovecot v2.3.4 make this Pigeonhole
  release dependent on that Dovecot release; it will not compile against
  older Dovecot versions. And, conversely, you need to upgrade
  Pigeonhole when upgrading Dovecot to v2.3.4.
* The changes regarding the default postmaster_address in Dovecot v2.3.4
  mainly apply to Pigeonhole. The new default should work for all
  existing installations, thereby fixing several reported v2.3/v0.5
  migration problems.
- IMAP FILTER=SIEVE capability: Fix assert crash occurring when running
  UID FILTER on a Sieve script with errors.
2018-11-30 18:44:11 +00:00
adam
adcfbcbc67 dovecot2-pigeonhole: updated to 0.5.3
Changelog v0.5.3:
- Fix assertion panic occurring when managesieve service fails to open
  INBOX while saving a Sieve script. This was caused by a lack of
  cleanup after failure.
- Fix specific messages causing an assert panic with actions that
  compose a reply (e.g. vacation). With some rather weird input from the
  original message, the header folding algorithm (as used for composing
  the References header for the reply) got confused, causing the panic.
- IMAP FILTER=SIEVE capability: Fix FILTER SIEVE SCRIPT command parsing.
  After finishing reading the Sieve script, the command parsing
  sometimes didn't continue with the search arguments. This is a time-
  critical bug that likely only occurs when the Sieve script is sent in
  the next TCP frame.
2018-10-23 16:30:03 +00:00
adam
794f0e97ba dovecot2-pigeonhole: updated to 0.5.2
v0.5.2:
+ Implement plugin for the a vendor-defined IMAP capability called
  "FILTER=SIEVE". It adds the ability to manually invoke Sieve filtering
  in IMAP. More information can be found in
  doc/plugins/imap_filter_sieve.txt.
- The Sieve addess test caused an assertion panic for invalid addresses
  with UTF-8 codepoints in the localpart. Fixed by properly detecting
  invalid addresses with UTF-8 codepoints in the localpart and skipping
  these like other invalid addresses while iterating addresses for the
  address test.
- Make the length of the subject header for the vacation response
  configurable and enforce the limit in UTF-8 codepoints rather than
  bytes. The subject header for a vacation response was statically
  truncated to 256 bytes, which is too limited for multi-byte UTF-8
  characters.
- Sieve editheader extension: Fix assertion panic occurring when it is
  used to manipulate a message header with a very large header field.
- Properly abort execution of the sieve_discard script upon error.
  Before, the LDA Sieve plugin attempted to execute the sieve_discard
  script when an error occurs. This can lead to the message being lost.
- Fix the interaction between quota and the sieve_discard script. When
  quota was used together with a sieve_discard script, the message
  delivery did not bounce when the quota was exceeded.
2018-07-14 20:16:25 +00:00
triaxx
0a49489e59 dovecot2-pigeonhole: update to 0.5.1
Changes:
v0.5.1 28-03-2018  Stephan Bosch <stephan@rename-it.nl>

  - Explicitly disallow UTF-8 in localpart in addresses parsed from Sieve
    script.
  - editheader extension: Corrected the stream position calculations
    performed while making the modified message available as a stream.
    Pigeonhole Sieve crashed in LMTP with an assertion panic when the
    Sieve editheader extension was used before the message was redirected.
    Experiments indicate that the problem occurred only with LMTP and that
    LDA is not affected.
  - fileinto extension: Fix assert panic occurring when fileinto is used
    without being listed in the require line, while the copy extension is
    listed there. This is a very old bug.
  - imapsieve plugin: Do not assert crash or log an error for messages
    that disappear concurrently while applying Sieve scripts. This event
    is now logged as a debug message.
  - Sieve extprograms plugin: Large output from "execute" command crashed
    delivery. Fixed buffering issue in code that handles output from the
    external program.
2018-05-22 20:51:59 +00:00
wiz
e5209a786e Add p11-kit to gnutls/bl3.mk and bump dependencies. 2018-04-17 22:29:31 +00:00
taca
899426ac9f mail/dovecot2-pigeonhole: update to 0.5.0.1
Changelog v0.5.0.1:

- imap4flags extension: Fix binary corruption occurring when
  setflag/addflag/removeflag flag-list is a variable.
- sieve-extprograms plugin: Fix segfault occurring when used in
  IMAPSieve context.
2018-01-08 14:30:04 +00:00
fhajny
b9f185b3a8 mail/dovecot2-pigeonhole: Bump PKGREVISION for the dovecot2 bl3 ABI change. 2018-01-08 13:04:07 +00:00
fhajny
a05dd77e75 Update mail/dovecot2-pigeonhole to 0.5.0.
* editheader extension: The implementation of header modifications is
  heavily updated. Although the functionality has not changed, the
  underlying code was updated to address several static analysis
  warnings, runtime integer arithmetic warnings (Clang), and to match
  updates in the Dovecot stream API.
+ variables extension: Made the maximum scope and variable size
  configurable.
+ subaddress: Support multiple recipient_delimiters.
- enotify extension: mailto method: Fixed parsing of mailto URI with
  only a header part.
- enotify plugin: mailto method: Make sure the "From:" header is set to
  a usable address and not "(null)".
- Fixed writing address headers to outgoing messages. Sometimes headers
  were MIME-encoded twice, yielding invalid results.
2018-01-02 15:53:37 +00:00
adam
e4ee100c63 dovecot2-pigeonhole: update to 0.4.21
v0.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
  available.
+ 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-10-13 06:53:24 +00:00
taca
9b259e0aa1 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-09-02 14:31:23 +00:00
adam
8517a51ed8 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-07-03 13:13:58 +00:00
taca
efd75dce1c 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-04-13 02:00:44 +00:00
adam
a7a03d3745 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 rules.
  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
  mailboxes.
- doveadm sieve plugin: Fixed crash when setting Sieve script via attribute's
  string value.
2017-03-18 07:15:17 +00:00
adam
a5f0de3c9d v0.4.16:
* 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
  change).
- 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-11-12 11:22:29 +00:00
wiz
a82aa43c18 Recursive PKGREVISION bump for gnutls shlib major bump. 2016-09-19 13:04:18 +00:00
taca
baa4306877 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
  acl.
- 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.
2016-07-09 01:28:38 +00:00
taca
86fc487246 Update dovecot2-pigeonhole to 0.4.14.
v0.4.14 26-04-2016 Stephan Bosch <stephan@rename-it.nl>

* The address test now allows specifying the X-Original-To header.
+ Implemented the Sieve imapsieve extension and its IMAP counterpart
  (RFC 6785) as a set of plugins. This allows running Sieve scripts at IMAP
  activity, rather than at delivery. There are also facilities for the
  familiar sieve_before/sieve_after administrator scripts. A user script is
  defined for a mailbox using an IMAP METADATA entry, whereas administrator
  scripts are configured using mailbox matching rules defined in the plugin
  settings.
+ Adjusted the Sieve ihave extension to allow capability tests to be performed
  at runtime. This way, scripts can be written that work both at delivery and
  from IMAP.
+ Implemented support for runtime trace debugging. This means that detailed
  information about which commands, actions and tests are performed is written
  to a file. That file is created in the configured directory, but only if
  that directory exists. This way, a particular user can be easily singled out
  for debugging. This works much like the Dovecot rawlog facility. The trace
  output is identical to what is produced using sieve-test with its "-t"
  command line option.
+ Added a "sieve_user_email" setting that configures the user's primary email
  address. This is mainly useful to have a user email address available in
  IMAP, where envelope data is unavailable.
+ Implemented the dovecot-specific "vnd.dovecot.report" extension. This allows
  sending report messages in the Message Abuse Reporting Format (RFC 5965).
    - extprograms plugin: Fixed epoll() panic caused by closing the output FD
      before the output stream.
    - Made sure that the local part of a mail address is encoded properly using
      quoted string syntax when it is not a dot-atom.
2016-05-03 01:51:39 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
taca
f3ac36d968 Update dovecot-pigeonhole to 0.4.12.
It is v0.4.12 release of Pigeonhole for Dovecot v2.2.21.

v0.4.12 06-02-2016 Stephan Bosch <stephan@rename-it.nl>

	+ Implemented the Sieve extracttext extension (RFC 5703; Section 7). It is now
	  possible to extract body text from a message into a variable.
	* Increased ABI version due to changes in the Sieve interpreter's object
	  definitions.
	- multiscript: Fixed bug in handling of (implicit) keep; final keep action was
	  always executed as though there was a failure. This caused the keep action
	  to revert back to the initial message, causing editheader actions to be
	  ignored.
	- managesieve-login: Fixed proxy to allow SASL mechanisms other than PLAIN.
	  Before, the proxy would fail if the server did not support the PLAIN
	  mechanism.
	- ldap storage: Prevent segfault occurring when assigning certain (global)
	  configuration options.

v0.4.11 08-01-2016 Stephan Bosch <stephan@rename-it.nl>

	- Sieve mime extension: Fixed the header :mime :anychild test to work properly
	  outside a foreverypart loop.
	- Several fixes in message body part handling:
	  - Fixed assert failure occurring when text extraction is attempted on a
	    empty or broken text part.
	  - Fixed assert failure in handling of body parts that are converted to text.
	  - Fixed header unfolding for (mime) headers parsed from any mime part.
	  - Fixed trimming for (mime) headers parsed from any mime part.
	  - Fixed erroneous changes to the message part tree structure performed when
	    re-parsing the message.
	- LDA Sieve plugin: Fixed logging of actions; sometimes the configured log
	  format was not followed.
	- LDA Sieve plugin: Fixed bug in error handling of script storage
	  initialization.
	- Sieve Extprograms plugin: Ignored ENOTCONN error in shutdown(fd, SHUT_WR)
	  call.
	- Fixed duplication of discard actions in the script result. Each discard was
	  counted as a separate action, which means that action limit would be crossed
	  too early.
	- Made sure that quota errors never get logged as errors in syslog.
	- Fixed handling of implicit keep for a partially executed transaction that
	  yielded a temporary failure.
	- Fixed handling of global errors. If master and user error handler were
	  identical, in some cases the log message could be lost.
	- Fixed AIX compile issue in message body parser.

v0.4.10 13-12-2015 Stephan Bosch <stephan@rename-it.nl>

	+ Implemented the Sieve mime and foreverypart extensions (RFC 5703). These
	  are fully implemented. The interaction with the editheader extension needs
	  some work, but this should not influence most uses; i.e., changes by the
	  editheader extension are not always visible using foreverypart/mime.
	+ Sieve body extension: Properly implemented the `:text' body transform. It
	  now extracts text for HTML message parts.
	+ Sieve enotify extension: mailto method: Implemented the
	  sieve_notify_mailto_envelope_from setting. This allows configuring the
	  source of the notification sender address for e-mail notifications. This is
	  similar to what already can be configured for redirect.
	+ Added a sieve_enabled (defaults to 'yes') setting that allows explicitly
	  disabling Sieve processing for particular users. This used to be possible by
	  setting `sieve=', but ever since the sieve_before, sieve_after and
	  sieve_default settings were added, this method was not reliable anymore.
	- variables extension: Fixed handling of empty string by the `:length' set
	  modifier. An empty string yielded an empty string rather than "0".
	- Fixed memory leak in the Sieve script byte code dumping facility. Extension
	  contexts were never actually freed.
	- Fixed handling of implicit keep when the last Sieve script is a global one.
	  In that case the implicit keep action was executed in global context, which
	  could mean that trivial (quota) errors ended up in the system log file,
	  rather than the user log file.
	- doveadm sieve plugin: Fixed crashes caused by incorrect context allocation
	  in the sieve command implementations.
2016-02-22 12:41:01 +00:00
agc
efd9ad4549 Remove duplicate SHA512 digests that crept in. 2015-11-04 17:41:15 +00:00
agc
ddbf6ddecd Add SHA512 digests for distfiles for mail category
Problems found locating distfiles:
	Package mutt: missing distfile patch-1.5.24.rr.compressed.gz
	Package p5-Email-Valid: missing distfile Email-Valid-1.198.tar.gz
	Package pine: missing distfile fancy.patch.gz
	Package postgrey: missing distfile targrey-0.31-postgrey-1.34.patch
	Package qmail: missing distfile badrcptto.patch
	Package qmail: missing distfile outgoingip.patch
	Package qmail: missing distfile qmail-1.03-realrcptto-2006.12.10.patch
	Package qmail: missing distfile qmail-smtpd-viruscan-1.3.patch
	Package thunderbird24: missing distfile enigmail-1.7.2.tar.gz
	Package thunderbird31: missing distfile enigmail-1.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:27:00 +00:00
adam
07cd06d229 Changes 0.4.9:
* Properly implemented checking of ABI version for Sieve interpreter
  plugins, much like Dovecot itself does for plugins. This will prevent
  plugin ABI mismatches.
+ Implemented a vnd.dovecot.environment extension. This builds upon the
  standard environment extension and adds a few more environment items,
  such as username and default mailbox. It also creates a variables
  namespace so that environment items can be accessed directly. I am
  still thinking about more environment items that can be added.
+ Sieve extprograms plugin: Made line endings of the input passed to the
  external programs configurable. This can be configured separately for
  each of the three extensions.
+ ManageSieve: Implemented proxy XCLIENT support. This allows the proxy
  to pass client information to the back-end.
- ManageSieve: Fixed an assert failure occurring when a client
  disconnects during the GETSCRIPT command.
- doveadm sieve plugin: Fixed incorrect initialization of mail user.
  This caused a few memory leaks.
- sieve-filter command line tool: Fixed handling of failure-related
  implicit keep when there is an explicit default destination folder.
  This caused message duplication.
- lib-sieve: Fixed bug in RFC5322 header folding. Words longer than the
  optimal line length caused empty lines in the output, which would
  break the resulting message header. This surfaced in References:
  headers with very long message IDs.
2015-10-17 07:46:25 +00:00
wiz
1a8b91542f Bump PKGREVISION for nettle shlib major bump. 2015-08-23 14:30:35 +00:00
taca
3a7f4d13da Update dovecot2-pigeonhole to 0.4.8.
v0.4.8 15-05-2015 Stephan Bosch <stephan@rename-it.nl>

	* LDA Sieve plugin: Dovecot changed the deliver_log_format setting to include
	  %{delivery_time}. This prompted changes in Pigeonhole that make this release
	  dependent on Dovecot v2.2.17.
	+ Implemented magic to make sieve_default script visible from ManageSieve
	  under a configurable name. This way, users can see the default rules, edit
	  them and store a private adjusted version. This could also be achieved by
	  copying the default script into the user's script storage, but updates to
	  the global sieve_default script would be ignored that way.
	+ ManageSieve: Implemented support for reporting command statistics at
	  disconnect. Statistics include the number of bytes and scripts uploaded/
	  downloaded/checked and the number of scripts deleted/renamed.
	- Fixed problem in address test: erroneously decoded mime-encoded words in
	  address headers.
	- extprograms plugin: Fixed failure occurring when connecting to script
	  service without the need to read back the output from the external program.
	- Fixed bug in script storage path normalization occurring with relative
	  symbolic links below root.
	- Fixed and updated various parts of the documentation
	- ManageSieve: Used "managesieve" rather than "sieve" as login service name,
	  which means that all managesieve-specific settings where ignored.
	- Managesieve: Storage quota was not always enforced properly for scripts
	  uploaded as quoted string. Nobody uses that, but it is allowed in the
	  specification and we support it, so it should work properly.
2015-05-17 00:13:51 +00:00
taca
8dd29ee170 Update dovecot2-pigeonhole to 0.4.7, a leaf package and this update is
needed to dovecot2-pigeonhole compatible with Dovecot 2.2.16.

v0.4.7 19-03-2015 Stephan Bosch <stephan@rename-it.nl>

	* editheader extension: Made protection against addition and deletion of
	  headers configurable separately. Also, the `Received' and `Auto-Submitted'
	  headers are no longer protected against addition by default.
	* Turned message envelope address parse errors into warnings.
	* The interpreter now accepts non-standard domain names, e.g. containing '_'.
	+ Implemented the Sieve index extension (RFC 5260).
	+ Implemented support for the mboxmetadata and servermetadata extensions
	  (RFC 5490).
	+ Implemented new sieve commands for the doveadm command line utility. These
	  commands are currently limited to ManageSieve operations, but the other
	  current sieve tools will be migrated to doveadm in the near future as well.
	+ Added more debug output about binary up-to-date checking.
	+ Added script metadata to binary dump output.
	- Fixed Sieve script binary up-to-date checking by normalizing the script
	  location.
	- The Sieve interpreter now flushes the duplicate database during start phase
	  of result execution rather than commit phase. This makes sure locks on the
	  duplicate database are released as soon as possible, preventing contention.
	- Performed a few optimizations in the lexical scanner of the language.
	- Fixed bug in `:matches' match-type that made a pattern without
	  wildcards match as if there were a '*' at the beginning.
	- Fixed crash in validation of the string parameter of the comparator tag.
	- extprograms extension: Made sure supplemental group privileges are also
	  dropped. This was a problem reported by Debian lintian.
	- Fixed bug in handling of binary errors for action side-effects and message
	  overrides.
	- file script storage: Restructured storage initialization to address
	  backwards compatibility issues.
	- dict script storage: Fixed small memory allocation bug.
2015-03-20 01:25:31 +00:00
wiz
b246128a73 Bump PKGREVISION for ABI bump in dovecot2/Makefile. 2015-01-14 21:45:13 +00:00
taca
e758d62def Update dovecot2-pigeonhole to 0.4.6.
Version 0.4.5 introduced one new 'feature', but it caused build
problems. This release fixes that. If you've successfully installed
0.4.5, you do not need to upgrade.

Changelog v0.4.6:

- After make distclean, the distributed tarball would fail to recompile.
  This causes problems for some distribution builds.
2014-11-03 00:23:06 +00:00
taca
854c89b4c0 Update dovecot2-pigeonhole to 0.4.5.
Changelog v0.4.5:

+ Added a Pigeonhole version banner to doveconf output. This way, future
  bug reports will also include Pigeonhole version information.
- Fixed handling of implicit keep. Last version erroneously reported
  that implicit keep succeeded after an earlier failure, while it in
  fact had failed. Particularly occurred for mailbox quota errors.
- Fixed segfault occurring on SunOS systems when there is no active
  script.


Changelog v0.4.4:

* Added support for Japanese mail addresses with dots at non-standard
  places in localpart.
* Changed handling of ENOSPACE into a normal temporary failure and added
  handling of ENOQUOTA as a user error.
* Restructured result execution, so that all actions which involve mail
  storage are always committed before all others.
+ Implemented support for generic Sieve storages. Using alternative
  storages now also possible for sieve_before/sieve_after.
+ Implemented storage driver for retrieving Sieve scripts from LDAP.
  This currently cannot be used with ManageSieve.
+ Implemented sieve_redirect_envelope_from setting, which allows
  configuring the envelope sender of redirected messages.
- Fixed handling of mail storage errors occurring while evaluating the
  input message.
- managesieve-login:
   - Removed bogus ALERT response code returned for AUTHENTICATE
     command.
   - Fixed handling of invalid initial response argument to AUTHENTICATE
     command.
- Fixed handling of stream errors in lexical scanner.
- Fixed handling of SMTP errors. Permanent and temporary errors were
  mixed up.
- Fixed several problems reported by CLang 3.4.
- duplicate extension: Fixed erroneous compile error about conflicting
  tags when `:handle' argument was used last.
- relational extension: Fixed error handling of `:value' match.
- editheader extension: Fixed header unfolding and header iteration.
- mailbox extension: Fixed the `:create' tag, which erroneously
  subscribed an existing folder.
- extprograms plugin: Fixed handling of error codes.
- doveadm-sieve plugin: Fixed several bugs. Synchronization of symbolic
  link in the file storage should now also work properly.
2014-11-02 07:36:39 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
adam
d627d7ab86 Changes 0.4.3:
* Editheader extension: Made control characters allowed for editheader,
  except NUL. Before, this would cause a runtime error.
+ Upgraded Dovecot-specific Sieve "vnd.dovecot.duplicate" extension to
  match the new draft "duplicate" extension.
- Fixed sieve_result_global_log_error to log only as i_info in
  administrator log (syslog) if executed from multiscript context.
- Sieve redirect extension: Adjusted loop detection to show leniency to
  resent messages.
- Sieve include extension: Fixed problem with handling of duplicate
  includes with different parameters :once or :optional.
- Sieve spamtest/virustest extensions: Tests were erroneously performed
  against the original message. When used together with extprograms
  filter to add the spam headers, the changes were not being used by
  the spamtest and virustest extensions.
- Deprecated Sieve notify extension: Fixed segfault problems in message
  string substitution.
- ManageSieve: Fixed active link verification to handle redundant path
  slashes correctly.
- Sieve vacation extension:
  - Fixed interaction of sieve_vacation_dont_check_recipient with
    sieve_vacation_send_from_recipient setting.
  - Fixed log message for discarded response.
- Sieve extprograms plugin:
  - Forgot to disable the alarm() timeouts set for script execution.
  - Fixed fd leak and handling of output shutdown.
  - Fixed 'Bad filedescriptor' error occurring when disconnecting
    script client.
  - Made sure that programs are never forked with root privileges.
2014-05-14 06:10:36 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
adam
31008d4421 Changelog v0.4.2:
* Incompatible change in Sieve doveadm plugin: the root attribute for
  Sieve scripts is changed. Make sure that you update both sides of a
  dsync setup simultaneously when Sieve is involved, otherwise
  synchronization will likely fail.
+ Added support for sending Sieve vacation replies with an actual
  sender, rather than the default <> sender. Check the updated
  doc/extensions/vacation.txt for more information.
- Fixed a binary code read problem in the `set' command of the Sieve
  variables extension. Using the set command with a modifier and an
  empty string value would cause code corruption problems while running
  the script.
- Various fixes for doveadm-sieve plugin, mostly crashes. These include
  a fix for the `Invalid value for default sieve attribute' problem.
- Various fixes for compiler and static analyzer warnings, e.g. as
  reported by CLang and on 32 bit systems.
- Fixed the implementation of the new :options flag for the Sieve
  include extension.
- Fixed potential segfault bug at deinitialization of the lda-sieve
  plugin.
- Fixed messed up hex output for sieve-dump tool.
2013-10-08 13:56:02 +00:00
taca
ba83b3d5b6 Update dovecot2-pigeonhole to 0.4.1. Here is quote from release announce.
Subject: [Dovecot-news] Released Pigeonhole v0.4.1 for Dovecot v2.2.4.
Date: Wed, 03 Jul 2013 22:15:31 +0200
To: dovecot-news@dovecot.org, Dovecot Mailing List <dovecot@dovecot.org>
Reply-To: dovecot@dovecot.org
Content-Transfer-Encoding: 7bit

Hello Dovecot users,

Now that I am not preoccupied anymore, I quickly release a new version
of Pigeonhole for Dovecot v2.2. This consists mainly of bug fixes. One
new feature is that the Sieve plugin will try to pass temporary
failures (e.g. from mail storage) back to LDA/LMTP as much as
possible. However, this change turned out a little bigger than I would
have liked, so experiment with it a bit before you deploy it in
production.

Changelog v0.4.1:

 + Added support for handling temporary failures. These are passed back
   to LDA/LTMP to produce an appropriate response towards the MTA.
 - Sieve storage: Removed PATH_MAX limitation for active symlink. This
   caused problems for GNU/Hurd.
 - Fixed line endings in X-Sieve headers added by redirect command.
 - ManageSieve: Fixed '[' ']' stupidity for response codes (only
   happened before login).
 - Fixed setting name in example-config/conf.d/20-managesieve.conf.
 - Sieve extprograms plugin: Fixed interaction between pipe command and
   remote script service. The output from the script service was never
   read, causing a broken pipe error at the script service. Apparently,
   this was broken since the I/O handling for extprograms was last
   revised.
 - Fixed assertion failure due to datastack problem in message header
   composition.
2013-07-08 15:24:58 +00:00
taca
02997b1080 Update dovecot2-pigeonhole to 0.4.0.
v0.4.0 09-05-2013 Stephan Bosch <stephan@rename-it.nl>

+ Added doveadm-sieve plugin that provides the possibility to synch Sieve
  scripts using doveadm sync along with the user's mailboxes.
+ Added the Sieve extprograms plugin to the main Pigeonhole package. It is
  still a plugin, but it is now included so that a separate compile is no
  longer necessary and distributors are likely to include it. The extprograms
  plugin provides Sieve language extensions that allows executing
  (administrator-controlled) external programs for message delivery,
  message filtering and string manipulation. Refer to
  doc/plugins/sieve_extprograms.txt for more information.
+ Added debug message showing Pigeonhole version at initialization. Makes it
  very clear that the plugin is properly loaded.
+ Finished implementation of the Sieve include extension. It should now
  fully conform to RFC 6609. The main addition is the new :optional tag which
  makes the include command ignore missing included scripts without an error.
+ Finished implementation of the Sieve environment extension as much as
  possible. Environment items "location", "phase" and "domain" now also
  return a usable value.
2013-05-14 15:49:52 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
ghen
cefb092371 Handover maintainership to Adam. 2012-10-22 09:41:07 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
ghen
6d42828180 Update to Pigeonhole 0.3.3.
Changelog v0.3.2:

+ sieve-refilter tool: improved man page documentation by explicitly specifying
  the syntax used for mailbox arguments.
+ Sieve: spamtest and virustest extensions: improved trace debugging of score
  calculation.
+ Sieve: made error messages about exceeding the maximum number of actions more
  verbose.
- Sieve tools: fixed problems with running as root: sievec and sieve-dump now
  ignore mail_uid and mail_gid settings when run as root.
- Sieve: fixed bug in action accounting (for limit checking): increase action
  instance count only when an action is actually created.
- Sieve: include extension: fixed namespace separation of :global and :personal
  scripts.
- ManageSieve: fixed segfault bug triggered by CHECKSCRIPT command.
- Fixed linking with ld.gold.
- Fixed several Clang compile warnings and a few potential bugs.

Changelog v0.3.3:

- Fixed compile against installed Dovecot headers. This was broken by the
  ld.gold fix in the previous release.
2012-10-01 07:10:58 +00:00
ghen
327dd4e367 Update to Pigeonhole 0.3.1.
* Added support for retrieving Sieve scripts from dict lookup. This
  means that Sieve scripts can now be downloaded from a database.
  Compiled script binaries are still put on disk somewhere if used.
  The INSTALL documentation is updated with information on this new
  feature and the (backwards-compatible) changes to the configuration.
  Note that his feature is currently not supported for
  sieve_before/sieve_after or script management through ManageSieve.
+ Incorporated the sieve_duplicate plugin into main Pigeonhole tree as
  a normal extension (vnd.dovecot.duplicate). This Dovecot-specific
  extension adds the ability to check for duplicate deliveries based
  on message ID. Specification can be found in:
  doc/rfc/spec-bosch-sieve-duplicate.txt
+ Added support for specifying multiple sieve_before and sieve_after
  paths. This adds much more flexibility to the multiscript
  configuration. One application is to have user-specific Sieve
  scripts outside the user's normal control through ManageSieve.
+ Added a "session ID" string for managesieve connections, available in
  %{session} variable (analogous to Dovecot change).
- Fixed several small issues, including a few potential segfault bugs,
  based on static source code analysis.
- ManageSieve: changed use of EPROTO error to EIO in ManageSieve
  string stream implementation because it is apparently not known in
  BSD.
- Gave stamp.h.in (needed for autotools) some content to prevent it
  from disappearing in patch files.
- Fixed bug that caused a SunStudio CC compile failure (reported by
  Piotr Tarnowski).
2012-05-26 11:48:01 +00:00
ghen
7972a3ba37 Update to Pigeonhole 0.3.0 for Dovecot 2.1.
* Renamed sieve_global_path setting to sieve_default for clarity. Old name is
  still recognized for backwards compatibility. Support for the ancient (pre
  v1.1) name for this setting "global_script_path" is now dropped.
* Added means to prohibit use of redirect action. Setting sieve_max_redirects
  to 0 now means that redirect is disallowed in stead of unlimited. Default
  value remains four.
* Fixed interaction of Sieve include extension with ManageSieve. It is updated
  to match new requirements in the draft include specification. Missing
  included scripts are no longer an error at upload time.
* Updated RFC2822 header field body verification to exclude non-printing
  characters (RFC5322). Only Sieve actions that can create unstructured header
  values (currently enotify/mailto and editheader) are affected by this change.
+ Completed sieve-filter tool to a useful state. The sieve-filter tool provides
  a means to (re)filter messages in a mailbox through a Sieve script.
+ Implemented the Sieve editheader extension. It is now possible to add and
  remove message headers from within Sieve.
+ ManageSieve: added support for reading quoted and literal strings as a
  stream. Fixes support for handing large SASL responses (analogous to similar
  changes in Dovecot). It is now also allowed to use a quoted string for the
  PUTSCRIPT script argument.
+ Added code to cleanup tmp directory in Sieve storage directory (sieve_dir)
  every once in a while.
+ Added support for substituting the entire message during Sieve processing.
  This is used for the filter action provided by the new sieve_extprograms
  plugin (provided separately for now). The filter action allows passing the
  message through an external program.
+ Added support for restricting certain Sieve language extensions to
  (admin-controled) global scripts. Restricted extensions can be configured
  using the new sieve_global_extensions setting. This is particularly useful
  for some of the Dovecot-specific (plugin-based) Sieve extensions, that can
  be somewhat hazardous when under direct control of users (e.g.
  sieve_extprograms).
2012-02-23 09:53:19 +00:00
ghen
c2107e58cf Update to Pigeonhole 0.2.5:
+ Sieve vacation extension: made discard message for implicit
  delivery more verbose
- The sieve-test tool: mixed up original and final envelope recipient
  in implementation of command line arguments.
- Sieve vacation extension: resolved FIXME regarding the use of
  variables in the :handle argument. Variables are now handled
  correctly.
- Sieve body extension: fixed handling of :content "message/rfc822".
  This now yields the headers of the embedded message as required by
  the specification. Handling of :content "multipart" remains to be
  fixed.
- LDA Sieve plugin: fixed problem with recipient_delimiter
  configuration. Now it falls back to global recipient_delimiter
  setting if plugin/recipient_delimiter is not set.
2011-11-21 08:13:08 +00:00
ghen
91c652ce97 Update pigeonhole plugin to 0.2.4.
Changelog:

+ Vacation extension: finally added support for using the original
   recipient in vacation address check. It is also possible to disable
   the recipient address check entirely. Check doc/vacation.txt for
   configuration information.
+ Include extension: made limits on the include depth and the total
   number of included scripts configurable. Check doc/include.txt for
   configuration information.
+ Implemented ihave extension. This allows checking for the availability
   of Sieve language extensions at 'runtime'. Actually, this is checked
   at compile time. At runtime the interpreter checks whether extensions
   that were not previously available are still unavailable. If the
   situation changed, the script is re-compiled and the ihave tests are
   evaluated again.
+ Sieve: optimized compilation of tests that yield constant results
   (i.e. known at compile tme), such as 'true' and 'false'. No code is
   produced anymore for script sections that are never executed. Also,
   semantics are not verified anymore in uncompiled script sections.
+ Made vnd.dovecot.debug extension available to the LDA plugin instead
   of only the command line tools.
+ Sieve: redirect action now adds X-Sieve-Redirected-From header
   (mainly for people using SPF/SRS).
- Sieve: fixed bug in handling flags and keywords; in case of error an
   assertion was triggered.
- Script storage: improved handling of unconfigured user home directory.
   Originally this would produce an unhelpful error message.
- Imap4flags extension: prevent forcibly enabling imap4flags when
   imapflags is enabled.
- Fixed various -Wunused-but-set-variable compiler warnings.
- Include extension: forgot to check variable identifier syntax for
   'global' command.
- Sieve: fixed debug mode; no messages were logged in some situations.
- sievec tool: forgot to enable -D (debug) parameter.
2011-09-15 14:22:29 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00