Re: [Dovecot] New problem with migration to 2.0
Am 26.08.2010 um 16:20 schrieb Carsten Laun-De Lellis: > No more errors ! > > But when i try to start dovecot the following message appears: > r...@s04:/usr/local/etc/dovecot# /etc/init.d/dovecot start > Starting DovecotFatal: service(imap-login) User doesn't exist: dovenull > Yes :) Have a look at http://wiki2.dovecot.org/Upgrading/2.0 You need to create the user as it will be used to run services with reduced privileges.
Re: [Dovecot] New problem with migration to 2.0
Hi Thomas Thank you very much. To wrap the lines does the trick. But as always my dovecot -n is now: r...@s04:/usr/local/etc/dovecot# dovecot -n # 2.0.0: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-24-generic i686 Ubuntu 10.04.1 LTS auth_mechanisms = plain login disable_plaintext_auth = no log_timestamp = %Y-%m-%d %H:%M:%S mail_location = maildir:/mail/%d/%n/Maildir mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date spamtest spamtestplus virustest namespace { inbox = yes location = prefix = INBOX. separator = . } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf driver = sql } protocols = imap service auth { unix_listener /var/spool/postfix/private/auth { group = vmail mode = 0666 user = vmail }o unix_listener auth-master { mode = 0666 } } ssl_cert = /keys/mail.pem ssl_key = /keys/mail.pem userdb { args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes driver = static } verbose_ssl = yes protocol lda { auth_socket_path = /var/run/dovecot/auth-master log_path = /var/log/mail.log postmaster_address = postmas...@delellis.net } No more errors ! But when i try to start dovecot the following message appears: r...@s04:/usr/local/etc/dovecot# /etc/init.d/dovecot start Starting DovecotFatal: service(imap-login) User doesn't exist: dovenull But i am never using a user like dovenull. Any ideas ?? Mit freundlichem Gruß Carsten Laun-De Lellis Dipl.-Ing. Elektrotechnik Certified Information Systems Auditor (CISA) Hauptstrasse 13 D-67705 Trippstadt Phone: +49 (6306) 992140 Mobile: +49 (151) 27530865 email: carsten.laun-delel...@delellis.net Thomas Leuxner > Am 26.08.2010 um 15:45 schrieb Carsten Laun-De Lellis: > >> verbose_ssl = yes >> doveconf: Error: userdb is missing driver >> doveconf: Fatal: Error in configuration file >> /usr/local/etc/dovecot/dovecot.conf: userdb is missing driver > > See except from ' /etc/dovecot/conf.d/auth-static.conf.ext' > > #userdb { > # driver = static > # args = uid=vmail gid=vmail home=/home/%u > #} > > Not sure why it is not applied, as 'doveconf -n' gives parsed output, so > it seems it does not understand the syntax used below: > >>> userdb { driver=static >>> args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes } > > Maybe wrap it to a new line like: > > userdb { > driver = static > args = uid=1 gid=1 home=/mail/%d/%n > allow_all_users=yes > }
Re: [Dovecot] New problem with migration to 2.0
Am 26.08.2010 um 15:45 schrieb Carsten Laun-De Lellis: > verbose_ssl = yes > doveconf: Error: userdb is missing driver > doveconf: Fatal: Error in configuration file > /usr/local/etc/dovecot/dovecot.conf: userdb is missing driver See except from ' /etc/dovecot/conf.d/auth-static.conf.ext' #userdb { # driver = static # args = uid=vmail gid=vmail home=/home/%u #} Not sure why it is not applied, as 'doveconf -n' gives parsed output, so it seems it does not understand the syntax used below: >> userdb { driver=static >> args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes } Maybe wrap it to a new line like: userdb { driver = static args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes }
Re: [Dovecot] New problem with migration to 2.0
Sorry In my first email i posted the wrong output from dovecot -n. Here it comes again: userdb { args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes } verbose_ssl = yes doveconf: Error: userdb is missing driver doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/dovecot.conf: userdb is missing driver Sorry again. Mit freundlichem Gruß Carsten Laun-De Lellis Dipl.-Ing. Elektrotechnik Certified Information Systems Auditor (CISA) Hauptstrasse 13 D-67705 Trippstadt Phone: +49 (6306) 992140 Mobile: +49 (151) 27530865 email: carsten.laun-delel...@delellis.net Carsten Laun-De Lellis > Hi guys > > After fixing my master_auth problem i have one error message left and i > don't know what to do. > > The message from dovecot -n is: > service auth { > unix_listener /var/spool/postfix/private/auth { > group = vmail > mode = 0666 > user = vmail > } > unix_listener auth-master { > mode = 0666 > } > } > > My conf file looks like > > userdb { driver=static > args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes } > > As you can see pretty simple, but for me it looks like that the > driver=static won't be accepted. > > Does anyone know which driver to use here ? > > Mit freundlichem Gruß > > Carsten Laun-De Lellis > Dipl.-Ing. Elektrotechnik > Certified Information Systems Auditor (CISA) > > Hauptstrasse 13 > D-67705 Trippstadt > > Phone: +49 (6306) 992140 > Mobile: +49 (151) 27530865 > email: carsten.laun-delel...@delellis.net > > > > >
[Dovecot] New problem with migration to 2.0
Hi guys After fixing my master_auth problem i have one error message left and i don't know what to do. The message from dovecot -n is: service auth { unix_listener /var/spool/postfix/private/auth { group = vmail mode = 0666 user = vmail } unix_listener auth-master { mode = 0666 } } My conf file looks like userdb { driver=static args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes } As you can see pretty simple, but for me it looks like that the driver=static won't be accepted. Does anyone know which driver to use here ? Mit freundlichem Gruß Carsten Laun-De Lellis Dipl.-Ing. Elektrotechnik Certified Information Systems Auditor (CISA) Hauptstrasse 13 D-67705 Trippstadt Phone: +49 (6306) 992140 Mobile: +49 (151) 27530865 email: carsten.laun-delel...@delellis.net