[Dovecot] Marathon Day 6 of First Install: MySQL Connection Problem
jackfredrikson at yahoo.com
Tue Oct 25 18:01:31 EEST 2011
From: Giles Coochey <giles at coochey.net>
To: Jack Fredrikson <jackfredrikson at yahoo.com>
Cc: "simon.brereton at buongiorno.com" <simon.brereton at buongiorno.com>; Dovecot Mailing List <dovecot at dovecot.org>
Sent: Tuesday, October 25, 2011 10:02 AM
Subject: Re: [Dovecot] Marathon Day 6 of First Install: MySQL Connection Problem
I just discovered this:
[root at myserver postfix]# ls -al /usr/libexec/dovecot/
drwxr-xr-x 2 root root 4096 Oct 22 08:59 .
drwxr-xr-x 9 root root 4096 Oct 23 08:36 ..
lrwxrwxrwx 1 root root 34 Oct 22 08:59 deliver -> /usr/local/libexec/dovecot/deliver
[root at myserver postfix]# ls -al /usr/local/libexec/dovecot/deliver*
lrwxrwxrwx 1 root root 11 Oct 20 17:14 /usr/local/libexec/dovecot/deliver -> dovecot-lda
Huh? So I made a softlink directly to /usr/local/libexec/dovecot/dovecot-lda (which is where it resides)
But I'm still getting the same errors:
Oct 25 07:58:47 lda(foo at bar.com): Fatal: setgid(12(mail) from userdb lookup) failed with euid=512(vmail), gid=512(vmail), egid=512(vmail): Operation not permitted (This binary should probably be called with process group set to 12(mail) instead of 512(vmail))
I need to change the gid because it's wrong. Now, rebuilding dovecot isn't going to do that because we don't set such things in the flags to rebuild. So where in tarnation do we???
> On my Centos 5.x:
> [root at gate ~]# rpm -qf /usr/libexec/dovecot/deliver
> [root at gate ~]# rpm -qf /usr/libexec/dovecot/dovecot-lda
> What dovecot do you have?
I built mine the old way:
So how would I rebuild just this one file? From where does it get its data? I need to change the first_valid_gid.
More information about the dovecot