[Bug 361961] Re: dovecot not configured to listen to any ports after intrepid->jaunty upgrade

Steve Beattie sbeattie at ubuntu.com
Wed Apr 15 21:35:57 BST 2009


I just reproduced the dovecot question on a similar amd64 upgrade. Note
that before the upgrade, there exists /etc/dovecot/dovecot.conf and
/etc/dovecot/dovecot.conf.bak that differ like so:

ubuntu at iijj-amd64:~$ diff -u /etc/dovecot/dovecot.conf{,.bak}
--- /etc/dovecot/dovecot.conf   2009-04-15 10:36:07.102008118 -0700
+++ /etc/dovecot/dovecot.conf.bak       2009-04-15 10:36:06.894000914 -0700
@@ -21,7 +21,7 @@
 # Protocols we want to be serving: imap imaps pop3 pop3s managesieve
 # If you only want to use dovecot-auth, you can set this to "none".
 #protocols = imap imaps
-protocols = imap imaps pop3 pop3s
+protocols = imap imaps

 # A space separated list of IP or host addresses where to listen in for
 # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6

Asking debconf to diff the maintainer's version versus the installed
version gives the following diff (note that there is no /etc/dovecot
/dovecot-postfix.conf or /dev/dovecot/dovecot-postfix.conf for that
matter):

--- /etc/dovecot/dovecot.conf	2009-04-15 10:36:07.102008118 -0700
+++ /usr/share/dovecot/dovecot.conf	2009-03-31 16:27:35.000000000 -0700
@@ -2,6 +2,17 @@
 
 # If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration
 
+# ------------------------------ WARNING -------------------------------
+
+# If there's a file /dev/dovecot/dovecot-postfix.conf, which is part of
+# dovecot-postfix package, it will be used instead of dovecot.conf.
+
+# Keep in mind that, if that file exist, none of the changes in
+# /etc/dovecot/dovecot.conf will have effect on dovecot's configuration.
+# In that case you should customize /etc/dovecot/dovecot-postfix.conf.
+
+# ------------------------------ WARNING -------------------------------
+
 # "dovecot -n" command gives a clean output of the changed settings. Use it
 # instead of copy&pasting this file when posting to the Dovecot mailing list.
 
@@ -21,7 +32,7 @@
 # Protocols we want to be serving: imap imaps pop3 pop3s managesieve
 # If you only want to use dovecot-auth, you can set this to "none".
 #protocols = imap imaps
-protocols = imap imaps pop3 pop3s
+protocols = none
 
 # A space separated list of IP or host addresses where to listen in for
 # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
@@ -85,11 +96,12 @@
 ## SSL settings
 ##
 
-# IP or host address where to listen in for SSL connections. Defaults
-# to above if not specified.
+# IP or host address where to listen in for SSL connections. Remember to also
+# add imaps and/or pop3s to protocols setting. Defaults to same as "listen"
+# setting if not specified.
 #ssl_listen =
 
-# Disable SSL/TLS support.
+# Disable SSL/TLS support. <doc/wiki/SSL>
 #ssl_disable = no
 
 # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
@@ -99,7 +111,9 @@
 #ssl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
 
 # If key file is password protected, give the password here. Alternatively
-# give it when starting dovecot with -p parameter.
+# give it when starting dovecot with -p parameter. Since this file is often
+# world-readable, you may want to place this setting instead to a different
+# root owned 0600 file by using !include_try <path>.
 #ssl_key_password =
 
 # File containing trusted SSL certificate authorities. Set this only if you
@@ -168,9 +182,6 @@
 # we check only once in a second if new processes should be created - if all
 # of them are used at the time, we double their amount until the limit set by
 # this setting is reached.
-# Be warned that some clients open a lot of imap connections simultaneously
-# and that the login process also handles ssl connections 
-# (one login process per ssl connection is needed).
 #login_max_processes_count = 128
 
 # Maximum number of connections allowed per each login process. This setting
@@ -223,8 +234,6 @@
 
 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections.
-# NOTE: Namespaces currently work ONLY with IMAP! POP3 and LDA currently ignore
-# namespaces completely, they use only the mail_location setting.
 #
 # You can have private, shared and public namespaces. The only difference
 # between them is how Dovecot announces them to client via NAMESPACE
@@ -731,8 +740,12 @@
   # Binary to use for sending mails.
   #sendmail_path = /usr/lib/sendmail
 
-  # Human readable error message for rejection mails. Use can use variables:
-  #  %n = CRLF, %r = reason, %s = subject, %t = recipient
+  # Subject: header to use for rejection mails. You can use the same variables
+  # as for rejection_reason below.
+  #rejection_subject = Automatically rejected mail
+
+  # Human readable error message for rejection mails. You can use variables:
+  #  %n = CRLF, %r = reason, %s = original subject, %t = recipient
   #rejection_reason = Your message to <%t> was automatically rejected:%n%r
 
   # UNIX socket path to master authentication server to find users.
@@ -974,6 +987,14 @@
   # <doc/wiki/UserDatabase.txt>
   #
 
+  # "prefetch" user database means that the passdb already provided the
+  # needed information and there's no need to do a separate userdb lookup.
+  # This can be made to work with SQL and LDAP databases, see their example
+  # configuration files for more information how to do it.
+  # <doc/wiki/UserDatabase.Prefetch.txt>
+  #userdb prefetch {
+  #}
+
   # System users (NSS, /etc/passwd, or similiar). In many systems nowadays this
   # uses Name Service Switch, which is configured in /etc/nsswitch.conf.
   # <doc/wiki/AuthDatabase.Passwd.txt>
@@ -1026,14 +1047,6 @@
   #userdb vpopmail {
   #}
 
-  # "prefetch" user database means that the passdb already provided the
-  # needed information and there's no need to do a separate userdb lookup.
-  # This can be made to work with SQL and LDAP databases, see their example
-  # configuration files for more information how to do it.
-  # <doc/wiki/UserDatabase.Prefetch.txt>
-  #userdb prefetch {
-  #}
-
   # User to use for the process. This user needs access to only user and
   # password databases, nothing else. Only shadow and pam authentication
   # requires roots, so use something else if possible. Note that passwd
@@ -1101,7 +1114,7 @@
 # Currently this is only used by dict quota backend. The dictionary can be
 # used either directly or though a dictionary server. The following dict block
 # maps dictionary names to URIs when the server is used. These can then be
-# referenced using URIs in format "proxy:<name>".
+# referenced using URIs in format "proxy::<name>".
 
 dict {
   #quota = mysql:/etc/dovecot-dict-quota.conf

-- 
dovecot not configured to listen to any ports after intrepid->jaunty upgrade
https://bugs.launchpad.net/bugs/361961
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.



More information about the Ubuntu-server-bugs mailing list