[EXIM] group membership for files run using .forward

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Rufus evison
Datum:  
To: Exim Users Mailing List
Betreff: [EXIM] group membership for files run using .forward
Hi,

I have a user (ac) who is a member of group (au) and who runs a mail reader
program mailreader to parse their mail. Until recently all has run smoothly,
as they were a member of the group of the person who needed to read their
mail (www) so what the program wrote was readable. Recently another user was
added, and it was discovered that Linux had a limit (on the version in use)
of 32 groups per person.

This meant that www couldn't be a member of everyone's group to read their
parsed mail, so the group (au) was created, and everyone was made a member
of that. Thus when the program writes a file it needs to change the group to
au. Unfortunately when the program is run by exim it has uid ac gid ac but
is not a member of the groups ac is a member of, and so cannot use chgrp to
change the group of the file.

I would really rather not make exim run as root to override this, as that
seems to me to be a security nightmare, but I need some way to let programs
run as ac have the same privileges as ac does.

Can anyone help? Do I need a later version of exim (I am currently on 1.92
on this machine)? If so how much hassle is upgrading it?

Rufus Evison
Green Cathedral Ltd
rste@???
www.greencathedral.com
phone: +44 (0) 1223 319000
fax: +44 (0) 1223 319001


--
*** Exim information can be found at http://www.exim.org/ ***