W dniu 23.12.2009 04:25, David Milholen pisze: > I just got dovecot to install on an offline qtp server ver 1.4. > The issue I have is trying to start dovecot I get this error and > cannot seem to find a fix unless my config is bad. > > #Starting Dovecot Imap: Fatal: Error in configuration file > /etc/dovecot.conf line 268: Expecting '=' > [FAILED] > > I had to load 0.9 ver of dovecot because I could not resolve deps with > os for ver 1.0 of dovecot. > > Any ideas on getting this going would be great.. > > Also, What is the url for Jakes tuts on qtp? > thanks > --Dave Search my posts in threat ,,Dovecot HOWTO'' on this list archive. I attach my config patch for version x86_64. For 32 bits architecture change line 73 from: + mail_plugin_dir = /usr/lib64/dovecot/imap to: + mail_plugin_dir = /usr/lib/dovecot/imap
-- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578
--- dovecot.conf.rpmnew 2009-12-18 15:15:55.000000000 +0100 +++ dovecot.conf 2009-11-24 16:39:16.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 = imap_quota quota trash + mail_plugin_dir = /usr/lib64/dovecot/imap # IMAP logout format string: # %i - total number of bytes read from client @@ -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: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com