~ubuntu-dev/ubuntu/lucid/dovecot/lucid-201002101901

« back to all changes in this revision

Viewing changes to doc/wiki/TimeMovedBackwards.txt

  • Committer: Chuck Short
  • Date: 2010-01-21 20:21:25 UTC
  • mfrom: (4.1.11 squeeze)
  • Revision ID: zulcss@ubuntu.com-20100121202125-pme73o491kfwj5nc
* Merge from debian testing, remaining changes:
  + Add new binary pkg dovecot-postfix that integrates postfix and dovecot
    automatically: (LP: #164837)
  + debian/control:
    - add new binary with short description
    - set Architecture all for dovecot-postfix (LP: #329878)
  + 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.
    - fix certificates paths in postfix' main.cf
    - add reject_unauth_destination to postfix' recipient restrictions
    - add reject_unknown_sender_domain to postfix' sender restriction
    - rename configuration name on remove, delete on purge
    - restart dovecot after linking certificates
    - handle use case when postfix is unconfigurated
  + debian/dovecot-postfix.dirs: create backup directory for postfix's config
    configuration
  + 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 interfation with postfix.
    - enable sieve plugin.
    - 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/.
     - build architecure independent packages too
   + Use Snakeoil SSL certificates by default.
     - debian/control: Depend on ssl-cert.
     - debian/patches/ssl-cert-snakeoil.dpatch: Change default SSL cert
       paths to snakeoil.
     - debian/dovecot-common.postinst: Relax grep for SSL_* a bit.
   + Add autopkgtest to debian/tests/*.
   + Fast TearDown: Update the lsb init header to not stop in level 6.
   + Add ufw integration:
     - Created debian/dovecot-common.ufw.profile.
     - debian/rules: install profile.
     - debian/control: suggest ufw.
   + debian/{control,rules}: enable PIE hardening.
   + dovecot-imapd, dovecot-pop3: Replaces dovecot-common (<< 1:1.1). (LP: #254721)
   + debian/control: Update Vcs-* headers.
   + Add SMTP-AUTH support for Outlook (login auth mechanism)
* New upstream release.
* debian/patches/gold-fix.patch: Removed. Fixed upstream.
* Moved libexec to lib corrections in dovecot-managesieve.patch and
  dovecot-managesieve-dist.patch to dovecot-example.patch
* debian/patches/dovecot-mboxlocking.patch: Regenerated to avoid FTBFS
  when quilt isn't installed.
* debian/patches/quota-mountpoint.patch: Removed. Not needed anymore.
* debian/patches/dovecot-quota.patch: Removed. Quotas aren't properly
  enabled unless mail_plugins = quota imap_quota.
* debian/patches/gold-fix.patch: Fixed configure script to build even
  with binutils-gold or --no-add-needed linker flag (Closes: #554306)
* debian/dovecot-common.init: fixed LSB headers. Thanks to Pascal Volk.
  (Closes: #558040)
* debian/changelog: added CVE references to previous changelog entry.
* debian/rules: checked up the build system. It's not fragile anymore.
  (Closes: 493803)
* debian/dovecot-common.postinst: Now invoking dpkg-reconfigure
  on dovecot-common is enough to generate new certificates
  if the previous ones were removed. (Closes: #545582)
* debian/rules: No longer install convert-tool in /usr/bin.
  It isn't an user utility and it should stay in /usr/lib/dovecot
  like all other similar tool.
* New upstream release. (Closes: #557601)
* [SECURITY] Fixes local information disclosure and denial of service.
  (see: http://www.dovecot.org/list/dovecot-news/2009-November/000143.html
  and CVE-2009-3897)
* Added myself to uploaders.
* Switched to the new source format "3.0 (quilt)":
  - removed dpatch from build-depends
  - removed debian/README.source because now we use only standard
    dpkg features
  - regenerated all patches
* Prepared to switch to multi-origin source:
  - recreated dovecot-libsieve.patch and dovecot-managesieve-dist.patch
    starting from the upstream tarball
  - removed all autotools related build-depends and build-conflict
  - renamed dovecot-libsieve and dovecot-managesieve directories
    to libsieve and managesieve.
* debian/rules: Moved the configuration of libsieve and managesieve from
  the build phase to the configuration phase
* Added dovecot-dbg package  with debugging symbols.  Thanks Stephan Bosch.
  (Closes: #554710)
* Fixed some stray libexec'isms in the default configuration.
* New upstream release.
* debian/dovecot-common.init:
  - use $CONF when starting the daemon. (Closes: #549944)
  - always output start/stop messages. (Closes: #523810)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Dovecot isn't very forgiving if your system's time moves backwards. There are
5
5
usually two possibilities why it's moving backwards:
6
6
 
7
 
 1. You're running ntpdate periodically. This isn't a good idea.
 
7
 1. You're running 'ntpdate' periodically. This isn't a good idea.
8
8
 2. You're using some kind of a virtual server and you haven't configured it
9
9
    right (or it's buggy).
10
10
 
11
 
Moving time backwards might cause various problems (see below), so for now
12
 
Dovecot doesn't even try to handle the situation. Perhaps in some future
13
 
version.
 
11
Moving time backwards might cause various problems (see below), so Dovecot
 
12
versions older than v2.0 don't even try to handle the situation.
14
13
 
15
14
Time synchronization
16
15
--------------------
21
20
    from NTP server and slows down or speeds up the clock if necessary. Unlike
22
21
    ntpdate, it doesn't just move the time forwards or backwards (unless the
23
22
    difference is large).
24
 
 2. If the time difference is too large for ntpd and it "steps", then use "-x"
25
 
    as a command line option for ntpd or use "tinker step 0" in /etc/ntp.conf.
26
 
 3. If ntpd doesn't work well (e.g. a bad network connection), you can use
 
23
     * If the time difference is too large for ntpd and it "steps", then use
 
24
       "-x" as a command line option for ntpd or use "tinker step 0" in
 
25
       '/etc/ntp.conf'.
 
26
        * This shows up in logs as: 'ntpd[17697]: time reset -2.075483 s'
 
27
 2. If ntpd doesn't work well (e.g. a bad network connection), you can use
27
28
    clockspeed [http://cr.yp.to/clockspeed.html] or chrony
28
29
    [http://chrony.sunsite.dk/] as well.
29
30
 
33
34
 
34
35
In some systems ntpd/ntpdate is run at boot, but only after Dovecot has
35
36
started. That can cause Dovecot to die immediately. If you have this problem,
36
 
fix your init scripts to run ntpd/ntpdate first, before starting Dovecot.  And
37
 
again, strongly consider running ntp-wait before starting Dovecot.
 
37
fix your init scripts to run ntpd/ntpdate first, before starting Dovecot. 
 
38
Also, seriously consider running ntp-wait before starting Dovecot.
38
39
 
39
40
Bugs/Issues
40
41
-----------
41
42
 
42
43
 * With Xen you should run ntpd only in dom0. Other domains should synchronize
43
 
   time automatically (see this Xen FAQ [http://xen.epiuse.com/xen-faq.txt]).
 
44
   time automatically (see this Xen FAQ [http://xen.epiuse.com/xen-faq.txt] and
 
45
   this thread [http://dovecot.org/list/dovecot/2009-October/043301.html]).
44
46
 * Time moved backwards by 4398 seconds
45
47
   [http://www.dovecot.org/list/dovecot/2008-June/031548.html]? Buggy
46
48
   kernel/hardware.
84
86
While killing mail processes doesn't fully solve any of those issues, they're
85
87
at least less likely to happen then.
86
88
 
87
 
(This file was created from the wiki on 2009-07-10 04:42)
 
89
(This file was created from the wiki on 2009-10-16 04:42)