CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/04/27 03:49:23
Modified files:
usr.sbin/smtpd : aliases.c expand.c forward.c lka.c makemap.c
map.c map_parser.c smtpd.h
Log message:
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 ;)