On Wed, 10 Jul 2002, Sascha E. Pollok wrote:
> here's a problem with local delivery. Sometimes it works, sometimes
> not, as you can see.
>
> gid 12 = mail
> Exim runs as user "exim" but has +s flag set
I understand that to mean that it is NOT setuid root.
> The spool-file is 660 and is owned by the user itself with group mail.
I presume you mean "mailbox file" - not Exim's spool?
> 2002-03-07 17:44:31 16j0tT-0000h5-00 Unfrozen by forced delivery
> 2002-03-07 17:44:31 16j0tT-0000h5-00 Unable to get root to set uid 543 and
> gid 12 for local delivery to thomas.reyers: uid=550 euid=550
The Exim configuration specifies that this delivery should run with uid
543 and gid 12. However, Exim is running with euid 550; this is the
wrong uid, and as it isn't root, it can't change it.
> 2002-03-07 17:49:56 16j0tT-0000h5-00 Unfrozen by forced delivery
> 2002-03-07 17:49:56 16j0tT-0000h5-00 => joe.average
> <joe.average@???> D=localuser T=local_delivery
> 2002-03-07 17:49:56 16j0tT-0000h5-00 Completed
>
> Anyone with any idea?
What uid created the two forced deliveries? Was it root the second time?
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.