~ubuntu-branches/ubuntu/lucid/dovecot/lucid-security

« back to all changes in this revision

Viewing changes to doc/wiki/WhyDoesItNotWork.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug, Ante Karamatic, Mathias Gug
  • Date: 2009-02-12 21:45:09 UTC
  • mfrom: (1.10.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20090212214509-8fp69kpkzf03j5xg
Tags: 1:1.1.11-0ubuntu1
[ Ante Karamatic ]
  Add new binary pkg dovecot-postfix that integrates postfix and dovecot
  automatically: (LP: #164837)
  - debian/control:
    + add new binary with short description.
  - debian/dovecot-postfix.postinst:
    + create initial certificate symlinks to snakeoil.
    + set up postfix with postconf to:
      - use Maildir/ as the default mailbox.
      - use dovecot as the sasl authentication  server.
      - use dovecot LDA (deliver).
      - use tls for smtp{d} services.
    + restart postfix and dovecot.
  - debian/dovecot-postfix.postrm:
    + remove all dovecot related configuration from postfix.
    + restart postfix and dovecot.
  - debian/dovecot-common.init:
    + check if /etc/dovecot/dovecot-postfix.conf exists and use it
      as the configuration file if so.
  - debian/patches/warning-ubuntu-postfix.dpatch
    + add warning about dovecot-postfix.conf in dovecot default 
      configuration file.
  - debian/patches/dovecot-postfix.conf.diff:
    + Ubuntu server custom changes to the default dovecot configuration for
      better integration with postfix:
      - enable imap, pop3, imaps, pop3s and managesieve by default.
      - enable dovecot LDA (deliver).
      - enable SASL auth socket in postfix private directory.
  - debian/rules:
    + copy, patch and install dovecot-postfix.conf in /etc/dovecot/.
  
[ Mathias Gug ]
* New upstream release:
* Update dovecot-managesieve to 0.10.5. Fixes:
  - check if names of sieve scripts contain '/' (LP: #307291)
* Update dovecot-managesieve patch for 1.1.11 and 0.10.5.
* Update dovecot-sieve plugin to 1.1.6.
* Merge from debian experimental, remaining changes:
  - Use Snakeoil SSL certificates by default.
    + debian/control: Depend on ssl-cert
    + debian/paptches/ssl-cert-snakeoil.dpatch: Change default SSL cert 
      paths to snakeoil.
    + debian/dovecot-common.postinst: Relax grep for SSL_* a bit.
  - Add autopkgtest in debian/tests/*.
  - debian/dovecot-common.init: Check to see if there is an /etc/inetd.conf.
    (LP: #208411)
  - Fast TearDown: Update lsb init header to not stop in level 6.
  - Add status action to the init script:
    + debian/control: Depend on lsb >= 3.2.12ubuntu3.
    + debian/dovecot-common-init: Add the 'status' action (LP: #247096).
  - debian/rules:
    - Copy config.{guess,sub} after running libtoolize.
    - Clean dovecot-managesieve directory.
  - Add ufw integration: 
    - Created debian/dovecot-common.ufw.profile
    - debian/rules:
      + install profile
    - debian/control
      + Suggest ufw
  - debian/{control,rules}: enable PIE hardening.
  - Updated dovecot.common.README.Debian with information on what has changed 
    between 1.0 and 1.1.1. Fixes (LP: #257625) 
  - dovecot-imapd, dovecot-pop3: Replaces dovecot-common (<< 1:1.1). LP: #254721.
  - debian/control:
    + Update Vcs-* headers.
* debian/rules:
  - Create emtpy stamp.h.in files in dovecot-sieve/ and dovecot-managesieve/
    if they're not there since empty files are not included in the diff.gz 
    file.
* Dropped:
  - debian/patches/fix-message-parser.dpatch: Parsing an invalid message
    address like "From: (" caused an assert-crash. (LP: #290901).
    (CVE-2008-4907 - fixed in 1.1.6)
  - debian/patches/login-max-process-count-warning.dpatch: Tell the user 
    that they have reached the maximum number of processes count.
    (LP: #189616) - Different implementation from upstream.
  - debian/patches/fix-dovecot-sieve.dpatch: Fixes assertion error
    when a header string ends with a LF (LP: #264306). Implemented upstream.
  - Don't fail in postinst if dovecot-{sql,ldap} is missing. (LP: #153161)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
   IMAP client you can't be sure if the problem is with the client's
9
9
   configuration or Dovecot's configuration. See<TestInstallation.txt> (or
10
10
   <TestPop3Installation.txt>).
11
 
 * Are you using an older version than v1.0? RHEL 5 and Debian Etch distribute
12
 
   v1.0.rc15, and there has been a LOT of fixes since then. If you have a
13
 
   problem, see if NEWS [http://dovecot.org/doc/NEWS] file mentions anything
14
 
   related to it. There are also<binary packages> [PrebuiltBinaries.txt]
15
 
   available for newer versions.
16
 
 
17
 
It says password mismatch
18
 
-------------------------
19
 
 
20
 
If you're using PAM:
 
11
 * Are you using an older version than v1.0? RHEL 5.0 and Debian Etch
 
12
   distribute v1.0.rc15, and there have been a LOT of fixes since then. If you
 
13
   have a problem, see if NEWS [http://dovecot.org/doc/NEWS] file mentions
 
14
   anything related to it. There are also<binary packages>
 
15
   [PrebuiltBinaries.txt] available for newer versions.
 
16
 
 
17
It says "Authentication failed"
 
18
-------------------------------
 
19
 
 
20
First of all enable 'auth_debug_passwords=yes' and see if the logs show what
 
21
the problem is. For non-PAM setups it should contain all the information needed
 
22
to solve the problem. If it's trying to use a wrong password scheme, you can
 
23
change that. See<Authentication.PasswordSchemes.txt>.
 
24
 
 
25
If you're using <PAM> [PasswordDatabase.PAM.txt]:
21
26
 
22
27
 * Make sure that dovecot-auth is running as root (assuming it's using
23
28
   '/etc/shadow').
26
31
    * Unfortunately PAM's error messages aren't always all that helpful in
27
32
      figuring out what exactly the problem is.
28
33
 * Usually the problem is that you don't have a correctly named file in
29
 
   '/etc/pam.d/'. See <PasswordDatabase.PAM.txt>
30
 
 
31
 
For non-PAM set 'auth_debug_passwords=yes' and look at what it says in the
32
 
logs. If it's trying to use a wrong password scheme, you can change that.
33
 
See<Authentication.PasswordSchemes.txt>
 
34
   '/etc/pam.d/'. See <PasswordDatabase.PAM.txt>.
34
35
 
35
36
It says Can't load certificate
36
37
------------------------------
37
38
 
38
 
And the key isn't password protection and you get an error like:
 
39
If the key isn't password protected and you get an error like:
39
40
 
40
41
---%<-------------------------------------------------------------------------
41
42
Sep 29 01:33:54 mail dovecot: imap-login: Can't load certificate file
48
49
Sep 29 01:33:54 mail dovecot: child 27253 (login) returned error 89
49
50
---%<-------------------------------------------------------------------------
50
51
 
51
 
You've mixed up the ssl_cert_file and ssl_key_file directives in your config
52
 
file.
53
 
 
54
 
(This file was created from the wiki on 2008-06-20 04:42)
 
52
You may have mixed up the 'ssl_cert_file' and 'ssl_key_file' settings in the
 
53
config file. (v1.1.4+ mentions this in the error message.)
 
54
 
 
55
User's IMAP connection gets unexpectedly closed while retrieving headers of a
 
56
large folder
 
57
------------------------------------------------------------------------------------------
 
58
 
 
59
And the log looks like:
 
60
 
 
61
---%<-------------------------------------------------------------------------
 
62
Sep 12 16:10:34 hostname dovecot: IMAP(username): block_alloc(): Out of memory
 
63
Sep 12 16:10:34 hostname dovecot: child 17717 (imap) returned error 83 (Out of
 
64
memory)
 
65
---%<-------------------------------------------------------------------------
 
66
 
 
67
You may need to increase the 'mail_process_size' setting in the config file.
 
68
(v1.1.4+ mentions this setting in the latter error message.)
 
69
 
 
70
(This file was created from the wiki on 2009-01-05 04:42)