Filter

Displaying 0 — 1 of 1 commits

openbsd/OpenBSD: src/usr.sbin/smtpd aliases.c expand.c

initial work at fixing aliases support:
- kill struct alias, struct expandnode is used instead
- introduce map_parse_alias() and map_parse_virtual()
- aliases and virtual code no longer assume db(3) but use the map API which
lets them become backend agnostic AND value-checked. this actually makes
the code simpler by removing all values parsing from aliases.c
- rename K_SECRETS -> K_SECRET, K_ALIASES -> K_ALIAS for consistency the
enum has singular names.
- aliases, virtual and forward now work with an expandtree and deal with
multiple levels of resolving by merging expandtree's

more coming soon ;)
File
src/usr.sbin/smtpd/aliases.c
src/usr.sbin/smtpd/expand.c
src/usr.sbin/smtpd/forward.c
src/usr.sbin/smtpd/lka.c
src/usr.sbin/smtpd/makemap.c
src/usr.sbin/smtpd/map.c
src/usr.sbin/smtpd/map_parser.c
src/usr.sbin/smtpd/smtpd.h