Re: [Exim] exim/majordomo permission denied problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Mims
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] exim/majordomo permission denied problem
* Phil Pennock <Phil.Pennock@???>:
> On 2001-05-10 at 10:22 -0700, Marc Mims gifted us with:
> >   $ echo 'test' | mail root
> >   2001-05-10 10:03:29 14xtqb-0000jT-00 majordomo_aliases director:
> >     failed to open /usr/local/majordomo/lists/lists.aliases
> >     for linear search: Permission denied (euid=8 egid=8)

> >
> > User `mail' has uid 8; group `mail' has gid 8.
> >
> > FWIW, `mail' is a member of group `majordom'; `majordom' is a
> > member of group `mail'.
>
> But is majordom the primary group of user mail? I suspect not.
>
> >   # ls -l /usr/local/majordomo/lists/lists.aliases
> >   -rw-rw----    1 majordom majordom      600 May  9 15:42

>
> So if majordom isn't the primary group, you'll need to ensure that
> secondary groups are initialised.
>
> >   majordomo_aliases:
> >     driver = aliasfile
> >     file = /usr/local/majordomo/lists/lists.aliases
> >     user = majordom
> >     group = majordom
> >     search_type = lsearch

>
> Add:
> initgroups
>
> to that.


After adding `initgrops = true', the problem still persists. No
change.

    -Marc