[Exim] permissions problem

Top Page
Delete this message
Reply to this message
Author: Pavel Gulchouck
Date:  
To: exim-users
Subject: [Exim] permissions problem
Hello.

I've read all answers to this quiestion in the exim FAQ, but the
problem still exists. :(

I have an error

Sep 28 14:48:28 happy exim[8108]: 1A3a2O-00026k-1f unable to set gid=205 or uid=205 (euid=90): local delivery to |/opt/drweb/drweb-exim -f $sender_address -- $recipients <|/opt/drweb/drweb-exim -f $sender_address -- $recipients> transport=filter_pipe

on background delivery and frozen messages.
Then all this messages are delivered ok by "exim -qff".
Exim is suid root. UID 90 is exim, UID/GID 205 - drweb.
It seems that system filter runs under user exim but not
root despite of spec.txt. There's no system_filter_user
token in my config. Local delivery is via procmail.

Some parts of config:

# user = exim # precompiled default
system_filter = /etc/exim/system_filter.exim
system_filter_pipe_transport = filter_pipe
system_filter_reply_transport = address_reply
[...]
begin transports
[...]
address_reply:
driver = autoreply
filter_pipe:
driver = pipe
user = drweb
group = drweb
return_fail_output

/etc/exim/system_filter.exim:

# Exim filter
## Version: 0.10
[...]
# Dr.Web Filter
pipe "/opt/drweb/drweb-exim -f $sender_address -- $recipients"
finish

Where's my fault?
Exim 4.24.

--
                                Lucky carrier,
                                                  Pavel.