View previous topic :: View next topic |
Author |
Message |
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Sun Oct 02, 2011 3:46 pm Post subject: dovcecot problem |
|
|
Hi!
I have problem to run dovecot & recive this error:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 35: Unknown setting: default_mail_env
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 35: Unknown setting: default_mail_env
or
Failed to save user and login options : Failed to find section auth default !
What do i have setup wrong?
I have default configuration:
Code: | auth_debug = yes
auth_verbose = yes
disable_plaintext_auth = no
first_valid_gid = 100
first_valid_uid = 100
info_log_path = /var/log/dovecot-info.log
last_valid_gid = 5002
last_valid_uid = 5002
listen = *
log_path = /var/log/dovecot.log
mail_log_prefix = %Us(%u):%i:%h
passdb {
driver = shadow
}
pop3_uidl_format = %v.%u
protocols = imap pop3
service auth {
user = root
}
service imap-login {
user = dovecot
}
service pop3-login {
user = dovecot
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
protocol lda {
postmaster_address = postmaster@sms.org
}
default_mail_env = maildir:~/Maildir
|
Please help to run dovecot [/quote] |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sun Oct 02, 2011 4:05 pm Post subject: |
|
|
replace
default_mail_env = maildir:~/Maildir
with
mail_location = maildir:~/Maildir
and add
default_login_user = dovecot
more info at
http://wiki2.dovecot.org/Upgrading/2.0
You can compare /etc/dovecot/dovecot.conf.new for changes also.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Mon Mar 05, 2012 8:03 am Post subject: |
|
|
Hi, i have again this problem / new install:
and this is config:
auth_debug = yes
auth_verbose = yes
disable_plaintext_auth = no
first_valid_gid = 100
first_valid_uid = 100
default_login_user = dovecot
info_log_path = /var/log/dovecot-info.log
last_valid_gid = 5002
last_valid_uid = 5002
listen = [::]
log_path = /var/log/dovecot.log
mail_location = maildir:~/Maildir
mail_log_prefix = %Us(%u):%i:%h
passdb {
driver = shadow
}
pop3_uidl_format = %v.%u
protocols = imap pop3
service auth {
user = root
}
service imap-login {
user = dovecot
}
service pop3-login {
user = dovecot
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
protocol lda {
postmaster_address = postmaster@mydomain.com
}
ssl_listen = [::]
What i am doing wrong? |
|
Back to top |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Mon Mar 05, 2012 8:10 am Post subject: |
|
|
From log:
Mar 05 06:46:13 master: Info: Dovecot v2.1.1 starting up (core dumps disabled)
Mar 05 06:49:52 master: Info: Dovecot v2.1.1 starting up (core dumps disabled)
Mar 05 06:49:57 master: Info: Dovecot v2.1.1 starting up (core dumps disabled)
Mar 05 06:53:59 master: Info: Dovecot v2.1.1 starting up (core dumps disabled) |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Mar 05, 2012 9:05 am Post subject: |
|
|
Have you upgraded dovecot-sieve too?
Also what's the exact error?
Look at /var/log/dovecot-info.log too.
Try replacing
listen = [::]
with
listen = *
and remove
ssl_listen = [::]
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Tue Mar 06, 2012 2:19 pm Post subject: |
|
|
Now i is ok, thanks  |
|
Back to top |
|
|