Hi,

 Looks like I've run out of time and have to roll back from version 2 to 
version 1 and stick with version 1.

I have dpkgs for version 1 and my orginal configuration files and think I'll 
have to stick with Debian Squeeze and never use Wheezy because that does not 
carry Dovecot 1.

Does any debian dovecot peeps know if this is all the packages I need?

dovecot-common_1.2.15-7_amd64.deb
dovecot-dbg_1.2.15-7_amd64.deb
dovecot-dev_1.2.15-7_amd64.deb
dovecot-imapd_1.2.15-7_amd64.deb
dovecot-pop3d_1.2.15-7_amd64.deb
mysqmail-dovecot-logger_0.4.9-7_amd64.deb



--------------------------------------------
On Tue, 25/2/14, Si L <sloew...@yahoo.com> wrote:

 Subject: Re: [Dovecot] Dovecot upgrade 1 to 2 on Debian Squeeze : broken 
/var/run/dovecot
 To: dovecot@dovecot.org
 Date: Tuesday, 25 February, 2014, 17:06
 
 Scratch this because this was set in
 my dovecot.conf.....  and had not made any difference
 .... 
 Is the /etc/dovecot/dovecot.conf used anymore, because
 dovecot is not listening on any ports !
 
 
 I've looked on the wiki and only Basic Configuration is
 noted so I don't know if I should use:
 service imap-login {
   chroot = login
   inet_listener imap {
     address = 127.0.0.1
     port = 3993
 
 or some syntax.  Any body?
 
 Off topic, Debian does not include the documentation
 directory with its packages:
 # cd /usr/share/doc/dovecot/example-config
 -su: cd: /usr/share/doc/dovecot/example-config: No such file
 or directory
 
 
 Regards,
 S
 
 --------------------------------------------
 On Tue, 25/2/14, Si L <sloew...@yahoo.com>
 wrote:
 
  Subject: Re: [Dovecot] Dovecot upgrade 1 to 2 on Debian
 Squeeze : broken /var/run/dovecot
  To: dovecot@dovecot.org
  Date: Tuesday, 25 February, 2014, 16:52
  
  Hi,
  
  Just noticed 
  
  mode = 0666
  
  should be set for auth-userdb
  
  however I see its not set in my converted dovecot.conf and
  think I should set this in the conf.d/10-master.conf, but
 I
  don't know which permissions should be secure and if
 secure
  permissions, then how should postfix interact with this or
  deliver to mail stores that are owned by xxx ?
  
  --------------------------------------------
  On Tue, 25/2/14, Si L <sloew...@yahoo.com>
  wrote:
  
   Subject: [Dovecot] Dovecot upgrade 1 to 2 on Debian
 Squeeze
  : broken /var/run/dovecot
   To: dovecot@dovecot.org
   Date: Tuesday, 25 February, 2014, 16:44
   
   Hi,
   
    I just upgraded from version 1 to version on Debian
  Squeeze
   using their backports.
   
   Like I expected my dovecot1 config had to be
 converted
  using
   doveconf and this I did.
   
   However, I see problems with files inside directory:
   drwxr-xr-x 4 dovenull root 4096 Feb 25 20:35
   /var/run/dovecot
   
   All of them were created owned by root:root rw.
   
   I tried to changed, for example :
   chown postfix:dovecot /var/run/dovecot/auth-master
   but noticed when I restarted dovecot it reset the
   permissions back to root:root rw.
   
   Here's the version:
   # dovecot --version
   2.1.7
   
   Here's my slightly redacted conf.
   # grep -v ^# dovecot.conf|grep -v ^$
   auth_mechanisms = plain login
   auth_verbose = yes
   dict {
     quotadict =
   mysql:/etc/dovecot/dovecot-dict-quota.conf
   }
   disable_plaintext_auth = no
   first_valid_uid = 106
   log_timestamp = "%Y-%m-%d %H:%M:%S "
   mail_location = maildir:/var/xx/%d/%u/
   mail_plugins = quota
   mail_privileged_group = mail
   maildir_very_dirty_syncs = yes
   passdb {
     args = /etc/dovecot/dovecot-mysql.conf
     driver = sql
   }
   plugin {
     quota_rule = *:storage=262144:messages=20000
     quota_rule2 = Trash:storage=282144:messages=23000
   }
   service auth {
     unix_listener /var/spool/postfix/private/auth {
       group = postfix
       mode = 0660
       user = postfix
     }
     unix_listener auth-master {
       mode = 0600
       user = vmail
     }
     user = root
   }
   service imap-login {
     chroot = login
     inet_listener imap {
       address = 127.0.0.1
       port = 3993
     }
     inet_listener imaps {
       address = *
       port = 993
     }
     process_limit = 256
     process_min_avail = 24
     service_count = 1
     vsz_limit = 48 M
   }
   service pop3-login {
     chroot = login
     process_limit = 256
     process_min_avail = 24
     service_count = 1
     vsz_limit = 48 M
   }
   ssl = required
   ssl_ca =
 </etc/ssl/certs/xxx.combined_for_dovecot.pem
   ssl_cert = </etc/ssl/private/xx.xx.xx.crt
   ssl_cipher_list =
  
 TLSv1+HIGH:!SSLv2:RC4+MEDIUM:!aNULL:!eNULL:!3DES:@STRENGTH
   ssl_key = </etc/ssl/private/xx.xx.xx.key
   ssl_verify_client_cert = yes
   userdb {
     args = uid=5000 gid=5000 home=/var/xx/%d/%u
   allow_all_users=yes
     driver = static
   }
   userdb {
     args = /etc/dovecot/dovecot-mysql.conf
     driver = sql
   }
   valid_chroot_dirs = /var/xx
   protocol imap {
     mail_max_userip_connections = 96
     mail_plugins = quota imap_quota
   }
   protocol pop3 {
     pop3_uidl_format = %08Xu%08Xv
   }
   protocol lda {
     auth_socket_path = /var/run/dovecot/auth-master
     log_path =
     mail_plugins = sieve quota
     postmaster_address = xxxx@xxxxx
   }
   
   
   I really don't understand how I should make this
 work, and
   the after I read the docs on dovecot.org and googled
 I
   realised I was really lost getting this back up and
 runing
   :(
   
   I should be really grateful if somebody would give me
 some
   advice.
   
   Thanks, 
   Soph'
  
 

Reply via email to