: Log in!

メインメニュー
Google


ウェブ 検索
サイト内検索
トップ  >  Linux15歩  >  2015-10-03 dovecotのupdate
20151003 dovecot-2.2.19にupdateしました


デフォルト設定の変更(2218-2219)

diff -urp dovecot2218/conf.d/10-logging.conf dovecot2219/conf.d/10-logging.conf
--- dovecot2218/conf.d/10-logging.conf	2015-05-16 05:54:54.168713708 +0900
+++ dovecot2219/conf.d/10-logging.conf	2015-10-03 07:08:44.132458244 +0900
@@ -74,7 +74,8 @@ plugin {
 # possible variables you can use.
 #mail_log_prefix = "%s(%u): "
 
-# Format to use for logging mail deliveries. You can use variables:
+# Format to use for logging mail deliveries. See doc/wiki/Variables.txt for
+# list of all variables you can use. Some of the common ones include:
 #  %$ - Delivery status message (e.g. "saved to INBOX")
 #  %m - Message-ID
 #  %s - Subject

diff -urp dovecot2218/conf.d/10-mail.conf dovecot2219/conf.d/10-mail.conf
--- dovecot2218/conf.d/10-mail.conf	2015-05-16 05:54:54.168713708 +0900
+++ dovecot2219/conf.d/10-mail.conf	2015-10-03 07:08:44.132458244 +0900
@@ -75,6 +75,8 @@ namespace inbox {
   # Namespace handles its own subscriptions. If set to "no", the parent
   # namespace handles them (empty prefix should always have this as "yes")
   #subscriptions = yes
+
+  # See 15-mailboxes.conf for definitions of special mailboxes.
 }
 
 # Example shared namespace configuration
@@ -124,10 +126,22 @@ namespace inbox {
 # or ~user/.
 #mail_full_filesystem_access = no
 
-# Dictionary for key=value mailbox attributes. Currently used by URLAUTH, but
-# soon intended to be used by METADATA as well.
+# Dictionary for key=value mailbox attributes. This is used for example by
+# URLAUTH and METADATA extensions.
 #mail_attribute_dict =
 
+# A comment or note that is associated with the server. This value is
+# accessible for authenticated users through the IMAP METADATA server
+# entry "/shared/comment". 
+#mail_server_comment = ""
+
+# Indicates a method for contacting the server administrator. According to
+# RFC 5464, this value MUST be a URI (e.g., a mailto: or tel: URL), but that
+# is currently not enforced. Use for example mailto:admin@example.com. This
+# value is accessible for authenticated users through the IMAP METADATA server
+# entry "/shared/admin".
+#mail_server_admin = 
+
 ##
 ## Mail processes
 ##
@@ -215,7 +229,7 @@ namespace inbox {
 
 # When IDLE command is running, mailbox is checked once in a while to see if
 # there are any new mails or other changes. This setting defines the minimum
-# time to wait between those checks. Dovecot can also use dnotify, inotify and
+# time to wait between those checks. Dovecot can also use inotify and
 # kqueue to find out immediately when changes occur.
 #mailbox_idle_check_interval = 30 secs
 

diff -urp dovecot2218/conf.d/15-mailboxes.conf dovecot2219/conf.d/15-mailboxes.conf
--- dovecot2218/conf.d/15-mailboxes.conf	2015-05-16 05:54:54.168713708 +0900
+++ dovecot2219/conf.d/15-mailboxes.conf	2015-10-03 07:08:44.132458244 +0900
@@ -2,19 +2,48 @@
 ## Mailbox definitions
 ##
 
+# Each mailbox is specified in a separate mailbox section. The section name
+# specifies the mailbox name. If it has spaces, you can put the name
+# "in quotes". These sections can contain the following mailbox settings:
+#
+# auto:
+#   Indicates whether the mailbox with this name is automatically created
+#   implicitly when it is first accessed. The user can also be automatically
+#   subscribed to the mailbox after creation. The following values are
+#   defined for this setting:
+# 
+#     no        - Never created automatically.
+#     create    - Automatically created, but no automatic subscription.
+#     subscribe - Automatically created and subscribed.
+#  
+# special_use:
+#   A space-separated list of SPECIAL-USE flags (RFC 6154) to use for the
+#   mailbox. There are no validity checks, so you could specify anything
+#   you want in here, but it's not a good idea to use flags other than the
+#   standard ones specified in the RFC:
+#
+#     \All      - This (virtual) mailbox presents all messages in the
+#                 user's message store. 
+#     \Archive  - This mailbox is used to archive messages.
+#     \Drafts   - This mailbox is used to hold draft messages.
+#     \Flagged  - This (virtual) mailbox presents all messages in the
+#                 user's message store marked with the IMAP \Flagged flag.
+#     \Junk     - This mailbox is where messages deemed to be junk mail
+#                 are held.
+#     \Sent     - This mailbox is used to hold copies of messages that
+#                 have been sent.
+#     \Trash    - This mailbox is used to hold messages that have been
+#                 deleted.
+#
+# comment:
+#   Defines a default comment or note associated with the mailbox. This
+#   value is accessible through the IMAP METADATA mailbox entries
+#   "/shared/comment" and "/private/comment". Users with sufficient
+#   privileges can override the default value for entries with a custom
+#   value.
+
 # NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf.
 namespace inbox {
-
-  #mailbox name {
-    # auto=create will automatically create this mailbox.
-    # auto=subscribe will both create and subscribe to the mailbox.
-    #auto = no
-
-    # Space separated list of IMAP SPECIAL-USE attributes as specified by
-    # RFC 6154: \All \Archive \Drafts \Flagged \Junk \Sent \Trash
-    #special_use =
-  #}
-
   # These mailboxes are widely used and could perhaps be created automatically:
   mailbox Drafts {
     special_use = \Drafts
@@ -38,10 +67,12 @@ namespace inbox {
   # If you have a virtual "All messages" mailbox:
   #mailbox virtual/All {
   #  special_use = \All
+  #  comment = All my messages
   #}
 
   # If you have a virtual "Flagged" mailbox:
   #mailbox virtual/Flagged {
   #  special_use = \Flagged
+  #  comment = All my flagged messages
   #}
 }

diff -urp dovecot2218/conf.d/20-imap.conf dovecot2219/conf.d/20-imap.conf
--- dovecot2218/conf.d/20-imap.conf	2015-05-16 05:54:54.168713708 +0900
+++ dovecot2219/conf.d/20-imap.conf	2015-10-03 07:08:44.132458244 +0900
@@ -2,6 +2,12 @@
 ## IMAP specific settings
 ##
 
+# If nothing happens for this long while client is IDLEing, move the connection
+# to imap-hibernate process and close the old imap process. This saves memory,
+# because connections use very little memory in imap-hibernate process. The
+# downside is that recreating the imap process back uses some resources.
+#imap_hibernate_timeout = 0
+
 # Maximum IMAP command line length. Some clients generate very long command
 # lines with huge mailboxes, so you may need to raise this if you get
 # "Too long argument" or "IMAP command line too large" errors often.
@@ -10,6 +16,14 @@
 # IMAP logout format string:
 #  %i - total number of bytes read from client
 #  %o - total number of bytes sent to client
+#  %{fetch_hdr_count} - Number of mails with mail header data sent to client
+#  %{fetch_hdr_bytes} - Number of bytes with mail header data sent to client
+#  %{fetch_body_count} - Number of mails with mail body data sent to client
+#  %{fetch_body_bytes} - Number of bytes with mail body data sent to client
+#  %{deleted} - Number of mails where client added \Deleted flag
+#  %{expunged} - Number of mails that client expunged
+#  %{trashed} - Number of mails that client copied/moved to the
+#               special_use=\Trash mailbox.
 #imap_logout_format = in=%i out=%o
 
 # Override the IMAP CAPABILITY response. If the value begins with '+',

diff -urp dovecot2218/conf.d/20-pop3.conf dovecot2219/conf.d/20-pop3.conf
--- dovecot2218/conf.d/20-pop3.conf	2015-05-16 05:54:54.168713708 +0900
+++ dovecot2219/conf.d/20-pop3.conf	2015-10-03 07:08:44.132458244 +0900
@@ -73,6 +73,7 @@
 #  %r - number of RETR commands
 #  %b - number of bytes sent to client as a result of RETR command
 #  %d - number of deleted messages
+#  %{deleted_bytes} - number of bytes in deleted messages
 #  %m - number of messages (before deletion)
 #  %s - mailbox size in bytes (before deletion)
 #  %u - old/new UIDL hash. may help finding out if UIDLs changed unexpectedly

NEWS

・ソースファイルに含まれるChangelog,NEWSを参照して下さい

投票数:21 平均点:4.29
前
2015-10-01 mysqlのupdate
カテゴリートップ
Linux15歩
次
2015-10-15 postfixのupdate