Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Config changes in dovecot 1.2.6 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Sun Nov 08, 2009 11:07 pm    Post subject: Config changes in dovecot 1.2.6 [SOLVED] Reply with quote

I am running a mail server using dovecot-1.1.7-r1. I recently updated to 1.2.6, but this does not seem to accept the old config:
Code:

* Stopping dovecot ...                                                                                                                                [ ok ]
 * Starting dovecot ...
FMultiple files for module autocreate_plugin: /usr/lib/dovecot/imap/autocreate_plugin.so, /usr/lib/dovecot/imap/lib20_autocreate_plugin.so
Error: imap dump-capability process returned 89
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf                                                                                              [ !! ]

I don't want to reconfigure dovecot from scratch because getting it right the first time was a pain in the ass, so I'm hoping I could get some help figuring out what needs to be changed to make it 1.2 compliant. I've already looked at dovecot's less-than-user-friendly docs but I'm still not sure what the problem is.

Below is my config, minus comments. Does anyone have an idea what it's complaining about?
Code:

protocols = imap imaps pop3s                                     
protocol imap {                                                   
  mail_plugins = quota imap_quota expire                         
}                                                                 
protocol pop3 {                                                   
  mail_plugins = quota expire                                     
}                                                                 
protocol lda {                                                   
  postmaster_address = postmaster@example.org                     
  mail_plugins = quota expire                                     
}                                                                 
disable_plaintext_auth = no                                       
ssl_cert_file = /etc/ssl/dovecot/server.crt                       
ssl_key_file = /etc/ssl/dovecot/server.key                       
mail_location = maildir:/home/mail/%d/%n/:INDEX=/home/mail/%d/%n/indexes
mail_uid = mail                                                         
mail_gid = mail                                                         
first_valid_uid = 207                                                   
last_valid_uid = 207                                                   
first_valid_gid = 207                                                   
last_valid_gid = 207                                                   
protocol imap {                                                         
}                                                                       
                                                                       
protocol pop3 {
}
protocol lda {
  postmaster_address = postmaster@example.com
}
auth default {
  mechanisms = plain login
  userdb passwd {
  }
  passdb sql {
    args = /etc/dovecot/dovecot-mysql.conf
  }
  userdb sql {
    args = /etc/dovecot/dovecot-mysql.conf
  }
  user = nobody
  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = mail
      group = mail
    }
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}
dict {
  quota = db:/var/lib/dovecot/expire.db
}
plugin {
  quota = maildir:INBOX
  expire = Trash 7 Junk 30
  expire_dict = proxy::expire
}


Thanks!
_________________
Vermont Free PC
http://www.vtfreepc.org


Last edited by rev138 on Wed Nov 11, 2009 12:10 am; edited 1 time in total
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Nov 10, 2009 2:17 am    Post subject: Reply with quote

Anyone?
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
FlorianSchmidt
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2008
Posts: 77
Location: Germany

PostPosted: Tue Nov 10, 2009 6:02 am    Post subject: Reply with quote

You have multiple
Code:

protocol imap {                                                         
}                                                                       
                                                                       
protocol pop3 {
}
protocol lda {
  postmaster_address = postmaster@example.com
}

entries, try to comment them out
_________________
-bash: :wq: command not found
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Nov 10, 2009 4:12 pm    Post subject: Reply with quote

Odd. That's a lot less obvious when the config file is full of comments.

I removed these, but it didn't make a difference. Version1.1.7 didn't seem to mind them, in any case.
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Nov 10, 2009 4:23 pm    Post subject: Reply with quote

One thing I noticed is that 1.1.7-r1 has the "pop3d" USE flag enabled and this seems to have been stripped from 1.2.6. Does dovecot no longer support pop3?
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Tue Nov 10, 2009 4:38 pm    Post subject: Reply with quote

No, that's not it. Even after removing all references to pop3 it gives the same error.
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Tue Nov 10, 2009 8:53 pm    Post subject: Reply with quote

autocreate plugin now comes with dovecot, remove earlier manualy compiled plugin and try again.
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed Nov 11, 2009 12:10 am    Post subject: Reply with quote

M wrote:
autocreate plugin now comes with dovecot, remove earlier manualy compiled plugin and try again.


Excellent! Thanks much!
_________________
Vermont Free PC
http://www.vtfreepc.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum