[Dovecot] dovecot LDA error

Hadi Salem almarzuki2001 at hotmail.com
Tue Apr 24 20:41:00 EEST 2012




Hi,

My dovecot version is ,

# 2.0.20: /usr/local/etc/dovecot/dovecot.conf

# OS: Linux 2.6.18-164.el5 x86_64 CentOS release 5.4 (Final)

auth_debug = yes

auth_debug_passwords = yes

auth_verbose = yes

auth_verbose_passwords = plain

debug_log_path = /var/log/dovecot.log

disable_plaintext_auth = no

hostname = host1.bigmama.com

info_log_path = /var/log/dovecot.log

log_path = /var/log/dovecot.log

mail_debug = yes

mail_location = maildir:~/Maildir

passdb {

  args = scheme=PLAIN
username_format=%u /etc/dovecot/users

  driver = passwd-file

}

postmaster_address = root at host1.bigmama.com

service auth {

  unix_listener
auth-userdb {

    group = mail

    mode = 0660

    user = mail

  }

}

ssl = no

userdb {

  args =
username_format=%u /etc/dovecot/users

  driver = passwd-file

}

protocol lda {

  info_log_path =
/var/log/dovecot-lda.log

  log_path =
/var/log/dovecot-lda-errors.log

}

 

Im getting error from dovecot LDA logs log_path =
/var/log/dovecot-lda-errors.log

Apr 24 20:25:46 lda(jamal at example.com): Fatal:
setgid(5000(vmail) from userdb lo                                                                      
                 okup) failed with
euid=8(mail), gid=12(mail), egid=12(mail): Operation not permi                                                                                       
tted (This binary should probably be called with process group set to 5000(vmail                                                                                       
) instead of 12(mail))

 

 

My usersdb config

jamal at example.com:{PLAIN}123:5000:5000::/var/vmail/example.com/jamal/

user 5000 system user as vmail

Permissions for the /var/vmail directory as follow 

drwxr-xr-x 3 vmail vmail 4096 Apr 24 20:18 /var/vmail/

drwx------ 3 vmail vmail 4096 Apr 24 20:18
/var/vmail/example.com/

drwx------ 3 vmail vmail 4096 Apr 24 20:18
/var/vmail/example.com/jamal/

drwx------ 5 vmail vmail 4096 Apr 24 20:20
/var/vmail/example.com/jamal/Maildir/

 

 		 	   		  


More information about the dovecot mailing list