Commits


cosmetic s/ATTR_DEAD/__dead


fmt


grammar


don't fall back to getpwnam when userdata is successful


implement virtual and userdata tables for users handling The idea is to abstract over the users that kamid manages. The virtual table allows to use a custom userbase instead of the local UNIX users. The userdata tables maps (virtual) users to their home directory, which is the only directory tree exported by kamid as of now. Together, they allow a powerful and flexible management of the users and their data. The idea is somewhat stolen from smtpd(8).


remove unnecessary logging


move imsg_{event_add,compose_event} to utils


improve logging if getpwnam fails it doesn't set errno when fails to find a user (which is correct, since a missing user is not *technically* an error, but still...)


s/SIMPLEQ_/STAILQ_/g STAILQ_* macros seems to be more widespread than SIMPLEQ_*


typo


use table for auth


__dead -> ATTR_DEAD


initial commit