Dnia 2010-05-14, pią o godzinie 12:51 -0500, Scott Hughes pisze:
> Thanks Aleksander for the reply.
> 
> I am just using PLAIN - no TLS and no SSL.  This setup worked great
> under Courrier IMAP.  Just a simple IMAP port 143 setup for my
> clients.
> 
> Any help on this would be greatly appreciated!  Having no luck with
> Google searches.
> 
> Scott
> 

I described migration from Courier to Dovecot on this mailing list, in
thread ,,Dovecot howto''. Default configuration in source package from
atrpms has plain authentication mechanism. Before compilation you have
to enable vpopmail (first patch) to spec file.
About authentication: http://wiki.dovecot.org/Authentication/Mechanisms
Migration: http://wiki.dovecot.org/Migration/Courier
Source package: http://atrpms.net/dist/el5/dovecot/

Second my patch integrates dovecot with QMT.
Build package as root (access to vpopmail libs), apply config patch and
enjoy. :)
Attention, my config patch is for 64 bits architecture. For 32 bits
compilation modify path in 2 lines starting with mail_plugin_dir -
remove ,,64''!

-- 
Pozdrawiam / Regards,
Aleksander Podsiadły
mail: [email protected]
jid: [email protected]
ICQ: 201121279
gg: 9150578
--- old/dovecot.spec	2010-04-03 09:38:56.000000000 +0200
+++ dovecot.spec	2010-04-15 10:42:58.000000000 +0200
@@ -95,6 +95,7 @@
     --enable-header-install      \
     --disable-static             \
     --with-libcap                \
+    --with-vpopmail              \
     --with-pgsql                 \
     --with-mysql                 \
     --with-sqlite                \
--- dovecot.conf.rpmnew	2010-04-15 10:44:09.000000000 +0200
+++ dovecot.conf	2010-01-29 10:07:08.000000000 +0100
@@ -238,15 +238,17 @@
 # explicitly, ie. mail_location does nothing unless you have a namespace
 # without a location setting. Default namespace is simply done by having a
 # namespace with empty prefix.
-#namespace private {
+namespace private {
    # Hierarchy separator to use. You should use the same separator for all
    # namespaces or some clients get confused. '/' is usually a good one.
    # The default however depends on the underlying mail storage format.
    #separator = 
+   separator = .
 
    # Prefix required to access this namespace. This needs to be different for
    # all namespaces. For example "Public/".
    #prefix = 
+   prefix = INBOX.
 
    # Physical location of the mailbox. This is in same format as
    # mail_location, which is also the default for it.
@@ -255,6 +257,7 @@
    # There can be only one INBOX, and this setting defines which namespace
    # has it.
    #inbox = no
+   inbox = yes
 
    # If namespace is hidden, it's not advertised to clients via NAMESPACE
    # extension. You'll most likely also want to set list=no. This is mostly
@@ -271,7 +274,7 @@
    # Namespace handles its own subscriptions. If set to "no", the parent
    # namespace handles them (empty prefix should always have this as "yes")
    #subscriptions = yes
-#}
+}
 
 # Example shared namespace configuration
 #namespace shared {
@@ -298,6 +301,8 @@
 # or names. <doc/wiki/UserIds.txt>
 #mail_uid =
 #mail_gid =
+mail_uid = 89
+mail_gid = 89
 
 # Group to enable temporarily for privileged operations. Currently this is
 # used only with INBOX when either its initial creation or dotlocking fails.
@@ -377,6 +382,8 @@
 # be done even if first_valid_uid is set to 0.
 #first_valid_uid = 500
 #last_valid_uid = 0
+first_valid_uid = 89
+last_valid_uid = 89
 
 # Valid GID range for users, defaults to non-root/wheel. Users having
 # non-valid GID as primary group ID aren't allowed to log in. If user
@@ -384,6 +391,8 @@
 # not set.
 #first_valid_gid = 1
 #last_valid_gid = 0
+first_valid_gid = 89
+last_valid_gid = 89
 
 # Maximum number of running mail processes. When this limit is reached,
 # new users aren't allowed to log in.
@@ -563,8 +572,8 @@
 
   # Support for dynamically loadable plugins. mail_plugins is a space separated
   # list of plugins to load.
-  #mail_plugins = 
-  #mail_plugin_dir = /usr/lib/dovecot/imap
+  mail_plugins = quota imap_quota trash
+  mail_plugin_dir = /usr/lib64/dovecot/imap
 
   # IMAP logout format string:
   #  %i - total number of bytes read from client
@@ -681,8 +690,8 @@
 
   # Support for dynamically loadable plugins. mail_plugins is a space separated
   # list of plugins to load.
-  #mail_plugins = 
-  #mail_plugin_dir = /usr/lib/dovecot/pop3
+  mail_plugins = quota
+  mail_plugin_dir = /usr/lib64/dovecot/pop3
 
   # Workarounds for various client bugs:
   #   outlook-no-nuls:
@@ -908,7 +917,7 @@
   # database (passwd usually), you can use static userdb.
   # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
   # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
-  passdb pam {
+  #passdb pam {
     # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
     # [cache_key=<key>] [<service name>]
     #
@@ -941,7 +950,7 @@
     #   args = session=yes %Ls
     #   args = cache_key=%u dovecot
     #args = dovecot
-  }
+  #}
 
   # System users (NSS, /etc/passwd, or similiar)
   # In many systems nowadays this uses Name Service Switch, which is
@@ -995,12 +1004,13 @@
   #}
 
   # vpopmail authentication <doc/wiki/AuthDatabase.VPopMail.txt>
-  #passdb vpopmail {
+  passdb vpopmail {
     # [cache_key=<key>] - See cache_key in PAM for explanation.
     # [quota_template=<template>] - %q expands to Maildir++ quota
     #   (eg. quota_template=quota_rule=*:backend=%q)
     #args =
-  #}
+    args = webmail=127.0.0.1
+  }
 
   #
   # User database specifies where mails are located and what user/group IDs
@@ -1073,8 +1083,9 @@
   #}
 
   # vpopmail <doc/wiki/AuthDatabase.VPopMail.txt>
-  #userdb vpopmail {
-  #}
+  userdb vpopmail {
+    #args = quota_template=quota_rule=*:backend=%q
+  }
 
   # User to use for the process. This user needs access to only user and
   # password databases, nothing else. Only shadow and pam authentication
@@ -1090,7 +1101,7 @@
   #chroot = 
 
   # Number of authentication processes to create
-  #count = 1
+  count = 1
 
   # Require a valid SSL client certificate or the authentication fails.
   #ssl_require_client_cert = no
@@ -1190,7 +1201,8 @@
   # Note that % needs to be escaped as %%, otherwise "% " expands to empty.
   #   quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
   #   quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
-  #quota = maildir
+  quota = maildir:ignore=Trash
+  quota_rule = ?:storage=0
 
   # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir
   # directory. You can also optionally give a global ACL directory path where

---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]

Reply via email to