2005-06-08 Sergey Poznyakoff * src/main.c (smtp_stream_wait): Take an additional argument: number of attempts. Loop until the stream is ready or the number of attempts is exhausted. All callers updated. 2005-06-07 Sergey Poznyakoff * src/main.c (method_fp,method_standard,method_strict): Changed return type. All callers updated. (check_on_host): Issue EHLO if remote party refuses HELO. 2005-06-06 Sergey Poznyakoff * src/main.c (method_standard): Check the host first, only if it does not answer, check MXs. 2005-06-06 Sergey Poznyakoff * NEWS: Updated * README: Updated * src/main.c (action_failure_default): Changed to return:reject (SMTP_MAJOR): New macro (check_on_host): Use SMTP_MAJOR * doc/.cvsignore: Updated 2005-06-05 Sergey Poznyakoff * doc/mailfromd.texi: More documentation * src/Makefile.am (install-data-local): Create MAILFROMSTATEDIR * src/cache.c (cache_expire_db): New function * src/mailfrom.h: Likewise * src/main.c (add_header): Removed. Use per-message private data to keep it. All referers updated. (--delete): New mode (--expire): New mode * doc/Makefile.am: Bugfixes * doc/mailfromd.texi: Created documentation framework * src/cache.c (cache_get): Do not update timestamps on each retrieval. * src/main.c (capa): Add license capability. * configure.ac (DEFAULT_SOCKET): Change default * src/Makefile.am (AM_CPPFLAGS): Define MAILFROMSTATEDIR instead of LOCALSTATEDIR (LDADD): Get rid of static linkage with libresolv * src/mailfrom.h (DEFAULT_PIDFILE,DEFAULT_DATABASE): Use MAILFROMSTATEDIR instead of LOCALSTATEDIR. * src/dns.c (_getmx): Rewritten using BIND-4-style interface. See comment to this function for the reasons of this regress. * src/main.c (check_mx_records): Bugfix. Provide default return value in case no MX records are found. (mailfromd_show_defaults): Show MAILFROMSTATEDIR 2005-06-04 Sergey Poznyakoff * Makefile.am (SUBDIRS): Add doc * configure.ac (AC_CONFIG_FILES): Add doc/Makefile * src/main.c (postmaster_email): New variable (check_on_host): Use postmaster_email instead of hardcoding <> address. (options): New option --postmaster-email; Fixed several bugs. (parse_opt): Handle --postmaster-email option. Minor fixes. * doc: New directory * doc/Makefile.am, doc/fdl.texi, doc/gendocs_template, doc/mailfromd.texi, doc/rendition.texi, doc/.cvsignore: New files. * Makefile.am: Updated for deep directory structure * configure.ac: Updated for deep directory structure. Detect DBM/NDBM/GDBM, define variables for caching. Raised version number to 0.2 * src: New directory * dns.c, daemon.c, obstack.c, obstack.h, snprintf.c, snprintf.h, mailfrom.h: Moved to ... * src/dns.c, src/daemon.c, obstack.c, src/obstack.h, src/snprintf.c, src/snprintf.h, src/mailfrom.h: here * src/Makefile.am: New file * main.c: Moved to src/ * src/main.c: Moved from ../. Added result caching and new operating modes. * src/mu_dbm.c, src/mu_dbm.h, src/strtok_r.c: New files. Exported from mailutils * src/cache.c: New file. Caching support. * .cvsignore: New file * src/.cvsignore: New file * dns.c (getmx): Do not skip hostname when checking. Handle both IP address and FQDN as input. * main.c: Implemented two methods: standard (the default) and strict (the one that was implemented initially). 2005-06-04 Sergey Poznyakoff * main.c: Rewritten action system. Documented the code. 2005-06-03 Sergey Poznyakoff * main.c (parse_opt): Ordered switch cases. (main): Switch to user's privileges only if started as root. 2005-06-03 Sergey Poznyakoff * Initial release. Local Variables: mode: change-log version-control: never End: