Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
dovcecot problem
View previous topic :: View next topic  
Author Message
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Sun Oct 02, 2011 3:46 pm    Post subject: dovcecot problem Reply with quote

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 Embarassed [/quote]
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun Oct 02, 2011 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Mon Mar 05, 2012 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Mon Mar 05, 2012 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Mar 05, 2012 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Tue Mar 06, 2012 2:19 pm    Post subject: Reply with quote

Now i is ok, thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
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
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional