Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/share/doc/dovecot-2.2.23/wiki/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/dovecot-2.2.23/wiki/Pigeonhole.Sieve.Extensions.Editheader.txt
Pigeonhole Sieve: Editheader Extension
======================================

The *editheader* extension (RFC5293 [http://tools.ietf.org/html/rfc5293/])
enables Sieve scripts to delete and add message header fields, thereby allowing
interaction with other components that consume or produce header fields.

Configuration
-------------

The *editheader* extension is not available by default and needs to be enabled
explicitly by adding it to the 'sieve_extensions' setting.

The following settings can be configured for the *editheader* extension
(default values are indicated):

sieve_editheader_max_header_size = 2048 :
  The maximum size in bytes of a header field value passed to the 'addheader'
  command. The minimum value for this setting is 1024 bytes. The value is in
  bytes, unless followed by a k(ilo).

sieve_editheader_forbid_add = :
  A space-separated list of headers that cannot be added to the message header.
  Addition of the 'Subject:' header cannot be prohibited, as required by the
  RFC specification. Therefore, adding this header to this setting has no
  effect.

sieve_editheader_forbid_delete = :
  A space-separated list of headers that cannot be deleted from the message
  header. Deleting the 'Received:' and 'Auto-Submitted:' fields is always
  forbidden, while removing the 'Subject:' header cannot be prohibited, as
  required by the RFC specification. Therefore, adding one of these headers to
  this setting has no effect.

sieve_editheader_protected = :
  A space-separated list of headers that cannot be added to or deleted from the
  message header. This setting is provided for backwards compatibility. It is a
  combination of the 'sieve_editheader_forbid_add' and
  'sieve_editheader_forbid_delete' settings. The same limitations apply.

Invalid values for the settings above will make the Sieve interpreter log a
warning and revert to the default values.

Example
-------

---%<-------------------------------------------------------------------------
plugin {
  # Use editheader
  sieve_extensions = +editheader

  # Header fiels must not exceed one kilobyte
  sieve_editheader_max_header_size = 1k

  # Protected special headers
  sieve_editheader_forbid_add = X-Verified
  sieve_editheader_forbid_delete = X-Verified X-Seen
}
---%<-------------------------------------------------------------------------

(This file was created from the wiki on 2016-03-30 04:43)

haha - 2025