The directory must be present beforehand 

On 2022-02-13, necktwi via Exim-users <[email protected]> wrote:
> It failed with
> 2022-02-13 12:01:02 1nJ8PW-0003xM-O7 == [email protected] R=localuser 
> T=local_delivery defer (-1): Expansion of "${lookup {$local_part} 
> dsearch,ret=full {/home}{$value/.maildir}fail}" (file or directory name for 
> local_delivery transport) failed: "lookup" failed and "fail” requested
>
>
>> On 12-Feb-2022, at 6:29 PM, Jasen Betts via Exim-users <[email protected]> 
>> wrote:
>> 
>> On 2022-02-12, necktwi via Exim-users <[email protected]> wrote:
>>> I fixed it by setting
>>> directory = ${home}/.maildir
>>> 
>>> But I want it to work with
>>> directory = /home/$local_part/.maildir
>> 
>> use something like this instead.
>> 
>> directory = ${lookup {$local_part} dsearch,ret=full 
>> {/home}{$value/.maildir}fail}
>> 
>> 
>> -- 
>>  Jasen.
>> 
>> -- 
>> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://wiki.exim.org/
>
>


-- 
  Jasen.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to