Re: [Dovecot] singe system user for all virtual users

2008-05-25 Thread Wojtek Bogusz

hi, thank you.

Timo Sirainen wrote:

On Sun, 2008-05-25 at 02:27 +0100, Wojtek Bogusz wrote:
Error: Error in configuration file /usr/local/etc/dovecot.conf line 909: 
Unknown setting: userdb

..

   auth_userdb =


What's this? Remove it.


see the bottom of http://wiki.dovecot.org/VirtualUsers the section 
static userdb that is where it comes from.


-- W


Re: [Dovecot] singe system user for all virtual users

2008-05-25 Thread Timo Sirainen
On Sun, 2008-05-25 at 13:21 +0100, Wojtek Bogusz wrote:
 hi, thank you.
 
 Timo Sirainen wrote:
  On Sun, 2008-05-25 at 02:27 +0100, Wojtek Bogusz wrote:
  Error: Error in configuration file /usr/local/etc/dovecot.conf line 909: 
  Unknown setting: userdb
  ..
 auth_userdb =
  
  What's this? Remove it.
 
 see the bottom of http://wiki.dovecot.org/VirtualUsers the section 
 static userdb that is where it comes from.

Thanks, that was an accidental mistake in there. I removed it now.



signature.asc
Description: This is a digitally signed message part


[Dovecot] singe system user for all virtual users

2008-05-24 Thread Wojtek Bogusz
hi, i would like to have all the emails stored under one system user and 
system group. i keep user passwords in LDAP. for userdb i wanted to use 
static. but i keep getting this error:


Error: Error in configuration file /usr/local/etc/dovecot.conf line 909: 
Unknown setting: userdb

Fatal: Invalid configuration in /usr/local/etc/dovecot.conf

i am using version 1.0.13 my /usr/local/etc/dovecot.conf without 
comments is:


base_dir = /var/run/dovecot/
protocols = imaps imap
listen = *
disable_plaintext_auth = no
shutdown_clients = yes
log_timestamp = %Y-%m-%d %H:%M:%S 
ssl_disable = no
ssl_cert_file = /etc/apache2/ssl/server.pem
ssl_key_file = /etc/apache2/ssl/server.key
mail_location = maildir:/home/MAIL/%n
mail_privileged_group = mail
protocol imap {
  login_greeting_capability = yes
  imap_client_workarounds = tb-extra-mailbox-sep
}

protocol lda {
  postmaster_address = [EMAIL PROTECTED]
  hostname = base
  auth_socket_path = /var/run/dovecot/auth-master
}
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
  mechanisms = plain
  passdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
  }
  userdb static {
args = uid=mail gid=mail home=/home/MAIL/%n
  }
  auth_userdb =
  user = mail
  socket listen {
 master {
   path = /var/run/dovecot/auth-master
   mode = 0600
   user = mail # User running Dovecot LDA
   group = mail # Or alternatively mode 0660 + LDA user in this group
 }
  }
}
dict {
}
plugin {
}


what do i do wrong?
best regards, Wojtek



Re: [Dovecot] singe system user for all virtual users

2008-05-24 Thread Timo Sirainen
On Sun, 2008-05-25 at 02:27 +0100, Wojtek Bogusz wrote:
 Error: Error in configuration file /usr/local/etc/dovecot.conf line 909: 
 Unknown setting: userdb
..
auth_userdb =

What's this? Remove it.



signature.asc
Description: This is a digitally signed message part