On Thu, 15 Oct 2020, Jürgen Edner via Exim-users wrote:

My conclusion is, that although the check_local_user function is called
and the local user is found (getpwnam() succeeded uid=2001 gid=100) and the $home variable is set correctly, the access priviliges are not
changed for the following exists command which results in a condition
failure.

I've also tried to replaced the "condition" by a "require_files" statement, but this doesn't work either. So it seems that there is no way to use this condition check in combination with an unauthenticated delivery, except I would alter the directory access
rights.

Routers and transports have the options "user" and "group" (chapters 15 and 24) which allow you to change the user/group that exim runs as
for these actions. For example, the procmail example in chapter 29.6
includes the lines
        user = $local_part_data
        group = mail


--
Andrew C. Aitchison                                     Kendal, UK
                        [email protected]
--
## 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