Re: [Dovecot] imap disconnects on my account only
Whups, reply-to went to the poster :-/
On 5/27/05, Chris Wakelin <c.d.wakelin@reading.ac.uk> wrote:
Just a guess, but have you changed your /etc/groups (or equivalent) file today? I'm not a Fedora expert (or dovecot-0.99), though. I think it's more likely to be a change in the user/group databases than a change in Dovecot.
I have added myself to another group (for a website directory) but have not changed my default group or anything like that.
-- Mitch
On 5/27/05, Chris Wakelin <c.d.wakelin@reading.ac.uk> wrote:
Just a guess, but have you changed your /etc/groups (or equivalent) file today? I'm not a Fedora expert (or dovecot-0.99), though. I think it's more likely to be a change in the user/group databases than a change in Dovecot.
I have added myself to another group (for a website directory) but have not changed my default group or anything like that.
I just removed myself from the extra group and I am back in business.
Does dovecot have a limit to the number of unix groups an account can be in?
-- Mitch
Looking at the getgroups manpage on Solaris 8, it seems the limit is NGROUPS_MAX which is 16 in this case. The invalid argument return looks like it might be :-
"The getgroups() function will fail if:
EINVAL
The value of gidsetsize is non-zero and less than the
number of supplementary group IDs set for the calling
process.
"
but looking at the 0.99.14 code, I can't see how this can happen. My guess is that the Fedora version will return EINVAL if the number of groups is larger than 16.
If so, this is an OS limit, not a Dovecot one.
Best Wishes, Chris
Mitch Pirtle wrote:
I just removed myself from the extra group and I am back in business.
Does dovecot have a limit to the number of unix groups an account can be in?
-- Mitch
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Sat, 2005-05-28 at 07:38, Chris Wakelin wrote:
Looking at the getgroups manpage on Solaris 8, it seems the limit is NGROUPS_MAX which is 16 in this case. The invalid argument return looks like it might be :-
"The getgroups() function will fail if:
EINVAL The value of gidsetsize is non-zero and less than the number of supplementary group IDs set for the calling process.
"
but looking at the 0.99.14 code, I can't see how this can happen. My guess is that the Fedora version will return EINVAL if the number of groups is larger than 16.
If so, this is an OS limit, not a Dovecot one.
As far as I'm aware the groups limit until recently has been 32. In RHEL 4 (and maybe FC3) the limit has been increased (to what number I don't know, but see https://www.redhat.com/archives/taroon-list/2005-May/msg00175.html)
-- Karl Latiss <karl@designit.com.au> designIT
participants (3)
-
Chris Wakelin
-
Karl Latiss
-
Mitch Pirtle