Thanks, Heiko
I would like to deprecate find usernames for special uids and take
default username(s) (if it necessary for exim). Is it possible?
18.09.2020 08:57, Heiko Schlittermann via Exim-users пишет:
Henry Pootel via Exim-users <[email protected]> (Di 15 Sep 2020 11:27:48
CEST):
I've some php scripts which start by uid without username and send
mails. (It's not a spam.)
exim panic and say "Failed to get user name for uid 2045 ..."
Yes, the uid has not a user name in /etc/passwd.
As far as I understand, Exim uses the NSS framework (libresolv (or whatever
name it has))
to resolve userids, usernames, and such. So, if you manage to setup your
NSS in a way which provides the proper username for a numerical ID, Exim
should be happy.
You can use `getent passwd 2045` for checks. I believe, you can't
configure this NSS framework on a per-process base (except using
containers so such).
The simpler approach is what Cyborg recommended.
--
=== Henry Pootel ===
--
## 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/