[exim] $local_part_data is empty

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Leon Fellows
日付:  
To: Exim-users
題目: [exim] $local_part_data is empty
Hi,

I have a problem with this router:

userforward:
debug_print = "R: lp_data: $local_part_data d_data: $domain_data"
driver = redirect
domains = dsearch;/etc/mail/domains
local_parts = lsearch;/etc/mail/domains/$domain_data
#local_parts = leon
file = /home/mailusers/${domain_data}/${local_part_data}/.forward

The $domain_data displays the domain, as expected.
But the $local_part_data is empty.

If I define local_parts as above, then it stays empty.
If I use this definition:
local_parts = leon
it works.

The file is readable and not empty. I can find the $local_part in there.
Even with this command:
su Debian-exim -p -c 'cat /etc/mail/domains/fairtragen.de'

I am using Exim version 4.94.2 #2 built 13-Jul-2021 16:04:57
on a Debian bullseye.


What am I doing wrong?


Kind Regards,
Leon