[Exim] Problem with userforward router

Top Page
Delete this message
Reply to this message
Author: Jochen Knuth
Date:  
To: exim-users
Subject: [Exim] Problem with userforward router
Hi,

(config: Exim 4.1 from FreeBSD (4.6-stable) ports, with exiscan)

i have a problem with a userforward router. On one user, who has a .forward
with an Exim filter, it doesn't work.

I get the following error:

unable to set gid=1002 or uid=1003 (euid=26): userforward router (recipient
is user@???)
internal problem in userforward router (recipient is user@???):
failure to transfer data from subprocess

My userforward router is:
userforward:
driver = redirect
allow_filter
check_ancestor
check_local_user
file = $home/.forward
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
no_expn
condition = ${if exists{$home/.forward} {yes} {no} }

If i test it with exim -d -bt user@??? i get this:

Exim version 4.10 uid=0 gid=0 pid=64827 L=834cd8 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: 0
trusted user
admin user
originator: uid=0 gid=0 login=root name=SysAdmin
sender address = root@???
Address testing: uid=0 gid=6 euid=0 egid=6
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

testing user@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering user@???
active address user@???
local_part=user domain=example.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing user@???

[...] snipping not relevant routers

--------> example_aliases router <--------
local_part=user domain=example.com
checking domains
example.com in "example.com"? yes (matched "example.com")
calling example_aliases router
rda_interpret (string):
${lookup{$local_part}lsearch*{/usr/local/etc/exim/aliases/example.com}}
search_open: lsearch "/usr/local/etc/exim/aliases/example.com"
search_find: file="/usr/local/etc/exim/aliases/example.com"
key="user" partial=1023
LRU list:
8/usr/local/etc/exim/aliases/example.com
End
internal_search_find: file="/usr/local/etc/exim/aliases/example.com"
type=lsearch key="user"
file lookup required for user
in /usr/local/etc/exim/aliases/example.com
lookup yielded: user
expanded: user
file is not a filter file
parse_forward_list: user
extract item: user
example_aliases router generated user@???
errors_to=NULL transport=NULL
uid=unset gid=unset home=NULL
routed by example_aliases router
envelope to: user@???
transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering user@???
active address user@???
local_part=user domain=example.com

[...] snipping not relevant routers

--------> example_aliases router <--------
example_aliases router skipped: previously routed user@???
--------> userforward router <--------
local_part=user domain=example.com
checking for local user
checking "condition"
calling userforward router
rda_interpret (file): $home/.forward
expanded: /home/user/.forward
changed uid/gid: userforward router (recipient is user@???)
uid=1003 gid=1002
auxiliary group list: 1002
183 bytes read from /home/user/.forward
data is a filter program
Filter: start of processing
Filter: end of processing
rda_interpret: subprocess yield=1 error=NULL
userforward router declined for user@???
--------> cyrus router <--------
local_part=user domain=example.com
checking domains
example.com in "example.com"? yes (matched "example.com")
calling cyrus router
cyrus router called for user@???
domain = example.com
set transport local_delivery_lmtp_tcp
queued for local_delivery_lmtp_tcp transport: local_part = user
domain = example.com
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by cyrus router
envelope to: user@???
transport: local_delivery_lmtp_tcp
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=64827 terminating with rc=0


What is the fault?

Thank you ,
Jochen

--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!