Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

dovecot starting error?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
shams
Posts: 144
Joined: 2006-02-17 15:37

dovecot starting error?

#1 Post by shams »

I installed the dovecot with aptitude in the debian squeeze, and want to use dovecot as imap and pop3 server with exim4 for my mail server, i configured the dovecot and exim4, but when want to start the dovecot get this error:
# /etc/init.d/dovecot start
Starting IMAP/POP3 mail server: dovecotError: mail_executable: Can't use /usr/lib/dovecot/imap: No such file or directory
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
failed
and this is the line for the which is error in the dovecot conf:
# Login executable location.
#login_executable = /usr/lib/dovecot/imap-login
this is what is in the /usr/lib/dovecot:
/usr/lib/dovecot# ls
authtest dovecot-auth listview modules
checkpassword-reply expire-tool logview rawlog
convert-tool expire-tool.sh maildirlock ssl-build-param
deliver gdbhelper managesieve threadview
dict idxview managesieve-login
any one can help please?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: dovecot starting error?

#2 Post by dilberts_left_nut »

That line is not the problem with dovecot.conf, it is currently just a comment, and is ignored.
Recheck the lines you changed.
This is mine.

Code: Select all

# dovecot -n
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-686 i686 Debian 6.0.1 
log_timestamp: %Y-%m-%d %H:%M:%S 
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_privileged_group: mail
mbox_write_locks: fcntl dotlock
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: shared
  separator: /
  prefix: shared/%%u/
  location: maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  list: yes
  subscriptions: yes
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 432
AdrianTM wrote:There's no hacker in my grandma...

shams
Posts: 144
Joined: 2006-02-17 15:37

Re: dovecot starting error?

#3 Post by shams »

Thanks for the reply , the deovecot -n is not working:
dovecot -n
# 1.2.15: /etc/dovecot/dovecot.conf
Error: mail_executable: Can't use /usr/lib/dovecot/imap: No such file or directory
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
I check out the dovecot.conf manually for the mail_executable and find tree one's and that are these:
#login_executable = /usr/lib/dovecot/imap-login
#login_executable = /usr/lib/dovecot/pop3-login
#login_executable = /usr/lib/dovecot/managesieve-login
I think this is the default path for the login_executable in the dovecot.conf.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: dovecot starting error?

#4 Post by dilberts_left_nut »

Maybe uncomment this

Code: Select all

#login_executable = /usr/lib/dovecot/imap-login
The error says

Code: Select all

Can't use /usr/lib/dovecot/[b]imap[/b]
Or purge dovecot (so configs are removed) and reinstall the defaults again.
AdrianTM wrote:There's no hacker in my grandma...

Post Reply