[Exim] user=something gives troubles in redirect router

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Sven Geggus
Data:  
Para: exim-users
Assunto: [Exim] user=something gives troubles in redirect router
Hi there,

I've got some troubles setting up a redirect router which changes its uid
depending on the file it has to read.

The Router looks as follows:

vforward:
driver = redirect
domains = lsearch;/etc/exim/vdomains
require_files =${extract{vdir}{${lookup{$domain}lsearch*{/etc/exim/vdomains}}}}/$local_part-forward
address_data = ${lookup{$domain}lsearch*{/etc/exim/vdomains}}
directory_transport = vusers_local
allow_filter
allow_fail
file = ${extract{vdir}{$address_data}}/$local_part-forward
user = ${extract{user}{$address_data}}
group = ${extract{group}{$address_data}}
transport_home_directory = ${extract{vdir}{$address_data}}/$local_part
transport_current_directory = ${extract{vdir}{$address_data}}/$local_part

When I call exim localy by means of /bin/mail everything is working fine.

When exim is called by some remote host or by means of "exim -bh" I get the
following message:

calling vforward router
rda_interpret (file): ${extract{vdir}{$address_data}}/$local_part-forward
expanded: /home/sven/.vmail-geggus/dummy-forward
LOG: MAIN PANIC DIE
unable to set gid=1001 or uid=1001 (euid=8): vforward router (recipient is
dummy@???)
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=1489 terminating with rc=1 >>>>>>>>>>>>>>>>>>

LOG: MAIN PANIC
internal problem in vforward router (recipient is dummy@???): failure
to transfer data from subprocess
vforward router: defer for dummy@???
message: internal problem in vforward router (recipient is dummy@???):
failure to transfer data from subprocess

Thanks for hints

Sven

--
"Those who do not understand Unix are condemned to reinvent it, poorly"
(Henry Spencer)

/me is giggls@ircnet, http://geggus.net/sven/ on the Web