[Dovecot] setgid error

Roy Sigurd Karlsbakk roy at karlsbakk.net
Sat May 23 16:14:55 EEST 2009


Hi all

Trying to setup dovecot with mysql and postfix, I have configured it  
as given below. thecot user has the dovecot group as primary, and is  
also a member of mail and dovecot-users. Still, it can't setgid to  
dovecot-users. I tried changing the shell for the dovecot user to  
something useful and chmod'ing a file to dovecot-users, and it work  
well. Still, no mail comes through and dovecot gives me this error

deliver(roy at somedomain.com): 2009-05-23 15:02:52 Fatal: setgid(115)  
failed with euid=115, gid=114, egid=114: Operation not permitted

Any ideas?

roy


# Dovecot config
# 1.0.15: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot/dovecot.log
log_timestamp: %Y-%m-%d %H:%M:%S
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
verbose_proctitle: yes
mail_privileged_group: mail
mail_location: maildir:/var/spool/dovecot/%d/%n
auth default:
   default_realm: eventchief.com
   verbose: yes
   debug: yes
   passdb:
     driver: sql
     args: /etc/dovecot/dovecot-sql.conf
   userdb:
     driver: sql
     args: /etc/dovecot/dovecot-sql.conf
   socket:
     type: listen
     master:
       path: /var/run/dovecot/auth-master
       mode: 432
       user: dovecot
       group: mail

--
Roy Sigurd Karlsbakk
(+47) 97542685 / 98013356
roy at karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres  
intelligibelt. Det er et elementært imperativ for alle pedagoger å  
unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de  
fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.



More information about the dovecot mailing list