New Code!
Postoffice has been pushed up to version 1.2.1, which is primarily a continuation of the portability cleanup that started with 1.1.11, but which does contain proper support for the mailwrapper program which all modern versions of {Free|Open|Net|etc}BSD have.
There is one new feature in 1.2.1, which is not very visible; the dns code now silently ignores mxes that resolve to 127.0.0.1.
For people who are interested in my development process, here are the changelog entries for the last week:
- Makefile.in:
Add a `tools' rule to make the little test programs for mx and b64
- mx.c:
Use inet_makeaddr() to convert in_addr_t into struct in_addr
- getif.c:
inet_makeaddr() accepts things in host order, inet_addr() generates things in network order. Grumble
- mx.c:
Change address() and addresslist() so that they will not add MXes which resolve to localhost, to avoid a particularly nasty sort of spammer trick for avoiding the rage of the consumer
- INSTALL:
Put a note in saying how the scanner is supposed to work
- configure.sh:
Provide arguments to hosts_ctl() when we call it, because some versions of the tcp wrappers header files have prototypes in them, thus causing gcc (it's always gcc that breaks) to have a shrieking hissy fit about a function that doesn't have parameters
- postoffice.cf.5.in:
Say what the default hopcount is
- configure.sh:
If the --with-av argument does not begin with a |, prefix it with one. Make the checking for mailwrappers output a little terser
- Makefile.in:
Always install authexpire and ?dbm
- configure.sh:
If --use-mailwrappers is set (default), check to see if there's a valid mailwrappers installation on the system and set the makefile to install into it.
- Makefile.in:
Split up the install rules into rules for mailwrappers and rules for regular installs
- expire.c:
include config.h, check for HAVE_BASENAME and HAVE_LIBGEN_H