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

« back to all changes in this revision

Viewing changes to doc/wiki/AuthDatabase.VPopMail.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:
7
7
If the vpopmail database contains plaintext passwords, it can be used for
8
8
non-plaintext authentication as well.
9
9
 
10
 
You can use auth_cache with VPopMail if you give 'cache_key' parameter. See
11
 
<PAM> [PasswordDatabase.PAM.txt] for more information about it.
 
10
passdb parameters:
 
11
 
 
12
 * cache_key: If set, you can use 'auth_cache' with VPopMail. See <PAM>
 
13
   [PasswordDatabase.PAM.txt] for more information about it.
 
14
 * webmail=IP: If IP address is specified, connections from it are assumed to
 
15
   come from webmail and VPopMail's webmail usage restrictions apply.
12
16
 
13
17
vpopmail + mysql
14
18
================
15
19
 
16
20
Alternatively, you can use the SQL backend with the following configuration:
17
21
 
18
 
 * ---%<----------------------------------------------------------------------
19
 
   driver = mysql
20
 
   #
21
 
   connect = host=/var/run/mysqld/mysqld.sock user=vpopmail
22
 
   password=YOURPASSWORDHERE dbname=vpopmail
23
 
   #
24
 
   default_pass_scheme = PLAIN
25
 
   #
26
 
   password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user,
27
 
   pw_clear_passwd AS password FROM vpopmail WHERE pw_name = '%n' AND pw_domain
28
 
   = '%d'
29
 
   #
30
 
   user_query = SELECT pw_dir as home, 64020 AS uid, 64020 AS gid FROM vpopmail
31
 
   WHERE pw_name = '%n' AND pw_domain = '%d'
32
 
   ---%<----------------------------------------------------------------------
33
 
 * .
 
22
---%<-------------------------------------------------------------------------
 
23
driver = mysql
 
24
#
 
25
connect = host=/var/run/mysqld/mysqld.sock user=vpopmail
 
26
password=YOURPASSWORDHERE dbname=vpopmail
 
27
#
 
28
default_pass_scheme = PLAIN
 
29
#
 
30
password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user,
 
31
pw_clear_passwd AS password FROM vpopmail WHERE pw_name = '%n' AND pw_domain =
 
32
'%d'
 
33
#
 
34
user_query = SELECT pw_dir as home, 64020 AS uid, 64020 AS gid FROM vpopmail
 
35
WHERE pw_name = '%n' AND pw_domain = '%d'
 
36
---%<-------------------------------------------------------------------------
34
37
 
35
38
Most vpopmail installations use 89 as the uid/gid, not 64020. 
36
39
 
37
 
(This file was created from the wiki on 2008-06-20 04:42)
 
40
(This file was created from the wiki on 2009-01-05 04:42)