[Exim] unable to set gid or uid

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Norihisa Washitake
Date:  
À: exim-users
Sujet: [Exim] unable to set gid or uid
Hi,

I'm using FML (http://www.fml.org/) as our mailing list driver
on my linux box with Exim 4.02. In this box, Exim is running as
user "mail"(euid=8) in group "mail"(egid=12), invoked by root.

FML is a set of perl scripts, and it is installed at /usr/local/fml.
It uses its own spool directory at /var/spool/ml.
The files and directories are all owned by fml.mail (uid=505, gid=12).

I wrote in exim's configuration file (exim.conf):

> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> domains = chimons.org:
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> user = fml
> group = mail
> file_transport = address_file
> pipe_transport = address_pipe



It seems everything goes good, but it results in log like:

> 2002-04-08 01:15:59 unable to set gid=12 or uid=505 (euid=8):
>                     system_aliases router
> 2002-04-08 01:16:01 internal problem in system_aliases router:
>                     failure to transfer data from subprocess



When I uncomment 'user = fml' in system_alias router, and change
the owner of the directory and files to "mail.mail", it works
correct.


Do you have any idea to make it work correct? Or is it a bug?

Regards,
--
Norihisa Washitake <nori@???>