[Exim] patch for exim_setugid, igflag

Page principale
Supprimer ce message
Répondre à ce message
Auteur: fh-exim2003
Date:  
À: Exim-users
Sujet: [Exim] patch for exim_setugid, igflag
Hi Phil, folx,

to read our pop-before-smtp database

  -rw-rw----   1 popowner      popowner    49152 Aug 11 14:38 qpopper


we had to put the exim pseudo user into the group popowner and
made the following small patch in src/daemon.c to take effect:

src$ diff daemon.c.orig daemon.c
999c999,1007
< exim_setugid(exim_uid, exim_gid, FALSE, US"running as a daemon");
---
> exim_setugid(exim_uid, exim_gid, TRUE, US"running as a daemon");




What do you think about setting igflag=TRUE by default or
at least setting igflag with a #define?


regards
Frank