/ [mailfromd] / trunk
To checkout: svn checkout http://svn.gnu.org.ua/sources/mailfromd/trunk
Puszcza

Log of /trunk

View Directory Listing Directory Listing


Sticky Revision:

Revision 1780 - Directory Listing
Modified Fri Mar 13 09:46:23 2009 UTC (12 years, 1 month ago) by root
Add README.git (by ./git-svn-mirror-finish)

Revision 1779 - Directory Listing
Modified Thu Mar 12 21:55:08 2009 UTC (12 years, 1 month ago) by gray
Fix the current_message function and subprocess handling in mtasim.

* mtasim/mtasim.c (stop_mailfromd): Wait for the mailfromd child
to terminate and analyze its return status.

* mfd/bi_msg.m4 (bi_drop_current_message): New function.
* mfd/prog.c (env_capture_start): Call bi_drop_current_message if
the capture stream already exists (i.e. when starting processing
2nd or later message in a session).
* mfd/msg.h (bi_drop_current_message): New prototype.
* gacopyz/server.c (srv_connect): Retry attempts to connect
if they fail with ECONNREFUSED. Implement 5-second timeout.

* tests/testsuite.at (MAILFROMD_OPTIONS): New define.
(AT_MTA_TEST): Pass MAILFROMD_OPTIONS to mtasim invocation.
(AT_WITH_MAILFROMD_OPTIONS): New macro.
Include curmsg.at.
* tests/curmsg.at: New file
* tests/etc/Makefile.am (RCFILES): Add size.rc
* tests/etc/size.rc: New file


Revision 1778 - Directory Listing
Modified Wed Mar 11 10:28:56 2009 UTC (12 years, 1 month ago) by gray
Minor fixes.

* mfd/prog.c (env_get_macro, instr_symbol): Minor fixes
(env_capture_start): Seek to 0 after truncating the stream.
Mailutils should know better and do it automatically.



Revision 1777 - Directory Listing
Modified Tue Mar 10 09:33:39 2009 UTC (12 years, 1 month ago) by gray
Bugfixes

* mfd/prog.c (env_capture_start): Do not create the stream if it
already exists. Bug reported by Con Tassios.
* mfd/bi_sieve.m4 (sieve): Don't free unexistend Sieve machines.
* THANKS: Update
* NEWS: Update



Revision 1776 - Directory Listing
Modified Fri Feb 20 11:57:16 2009 UTC (12 years, 1 month ago) by gray
Raise version number to 5.0.90

Revision 1775 - Directory Listing
Modified Fri Feb 20 11:47:02 2009 UTC (12 years, 1 month ago) by gray
Bugfix

* mfd/bi_io.m4 (write): Fix spurious runtime exceptions, raised if
the third argument was not given.


Revision 1774 - Directory Listing
Modified Fri Feb 20 09:12:03 2009 UTC (12 years, 1 month ago) by gray
Minor changes

* mfd/engine.c (mlfi_envfrom, mlfi_envrcpt): Fix second argument,
so that it does not include $1.
* THANKS: Update.
* mflib/sa.mf (sa_format_report_header): Improve formatting.


Revision 1773 - Directory Listing
Modified Thu Feb 19 10:50:14 2009 UTC (12 years, 1 month ago) by gray
Minor changes

* mfd/engine.c (mlfi_envfrom, mlfi_envrcpt): Fix second argument,
so that it does not include $1.
* THANKS: Update.
* mflib/sa.mf (sa_format_report_header): Improve formatting.


Revision 1772 - Directory Listing
Modified Wed Feb 18 14:11:38 2009 UTC (12 years, 1 month ago) by gray
Bugfix

* mfd/gram.y (state_parms): Fix number of arguments to
envfrom and envrcpt.  Bug reported by Patrick Dalais
<patrick@depari.co.za>.

* tests/fromargs.at, tests/rcptargs.at: New tests.
* tests/testsuite.at, tests/Makefile.am: Add new tests.
* tests/etc/ack.rc: Increase stack allocation.


Revision 1771 - Directory Listing
Modified Fri Dec 26 10:18:53 2008 UTC (12 years, 3 months ago) by gray
Version 5.0

* configure.ac, NEWS: Version 5.0.
* doc/mailfromd.texi, doc/pies.texi, doc/pmult.texi: Update.
* doc/Makefile.am (check-builtins): Account for
MF_DEFUN_VARARGS_NO_PROM.


Revision 1770 - Directory Listing
Modified Tue Dec 16 11:54:14 2008 UTC (12 years, 3 months ago) by gray
Fix sprintf, accidentally broken on 2008-07-14.

* mfd/symtab.c (va_builtin_install): Initialize flags to 0.
(va_builtin_install_ex): Remove capture and varargs, replace them
with flags.
* mfd/snarf.m4 (__mf_defun,MF_DEFUN_VARARGS): Reflect changes to
va_builtin_install_ex.
(MF_DEFUN_VARARGS_NO_PROM): New defun.
* mfd/gram.y (cast_arg_list): Add 4th argument, controlling
argument type promotion.
* mfd/drivers.c (code_type_builtin): Use builtin.flags.
* mfd/mailfromd.h (MFD_BUILTIN_*): New defines.
(struct builtin): Remove capture and varargs, replace them
with flags.
* mfd/bi_sprintf.m4: Define sprintf as MF_DEFUN_VARARGS_NO_PROM.


Revision 1769 - Directory Listing
Modified Mon Dec 1 19:04:51 2008 UTC (12 years, 4 months ago) by gray
Update

Revision 1768 - Directory Listing
Modified Mon Dec 1 19:04:20 2008 UTC (12 years, 4 months ago) by gray
Update

Revision 1767 - Directory Listing
Modified Mon Dec 1 15:59:21 2008 UTC (12 years, 4 months ago) by gray
Documentation and minor fixes.

* pies/pies.c, pies/progman.c, pies/meta1gram.y, pies/pies.h,
pies/meta1lex.l: Normalize output redirection terminology, fix the
debug levels.
* pmult/pmult.c: Fix error message
* doc/pies.texi: Document the configuration.


Revision 1766 - Directory Listing
Modified Mon Dec 1 15:58:59 2008 UTC (12 years, 4 months ago) by gray
Documentation and minor fixes.

* pies/pies.c, pies/progman.c, pies/meta1gram.y, pies/pies.h,
pies/meta1lex.l: Normalize output redirection terminology, fix the
debug levels.
* pmult/pmult.c: Fix error message
* doc/pies.texi: Document the configuration.


Revision 1765 - Directory Listing
Modified Fri Nov 28 11:24:59 2008 UTC (12 years, 4 months ago) by gray
Add const qualifiers to gacopyz_getsymval, gacopyz_replace_body and
derived functions.


Revision 1764 - Directory Listing
Modified Fri Nov 28 10:47:48 2008 UTC (12 years, 4 months ago) by gray
Bugfixes/improvements.

* doc/mailfromd.texi: Document replbody. Use @WRITEME where appropriate.
* doc/rendition.texi (WRITEME): New macro.
(UNREVISED): Reword.
* doc/pies.texi, doc/smap.texi: Use @WRITEME
* doc/Makefile.am (check-writeme): New rule.
(all-check-docs): Depend on check-writeme.
* mfd/bi_body.m4 (replbody): Can be used in any handler.
* NEWS: Rearrange material.

Revision 1763 - Directory Listing
Modified Thu Nov 27 23:13:38 2008 UTC (12 years, 4 months ago) by gray
Emulate Sendmail behavior for SMFIR_REPLBODY.

* pmult/pmult.c (struct pmult_priv_data): New members hdrbuf and
body_itr. Remove body_off.
(pmult_append_body_chunk): Set bucket size to PMILTER_CHUNK_SIZE.
(pmult_clear): Free new pmult_priv_data members.
(pmult_free): Call pmult_clear first.
(pmult_eom): Initialize pmult_priv_data members for eventual body
replacement.
(pmult_msg_rplc): First send headers, then body.


Revision 1762 - Directory Listing
Modified Thu Nov 27 21:47:16 2008 UTC (12 years, 4 months ago) by gray
Minor changes.

* pmult/pmult.c: Remove obsolete comment.
* mfd/engine.c (run_msgmod): Ensure the message for gacopyz_replace_body
has \r\n endings.

Revision 1761 - Directory Listing
Modified Tue Nov 25 09:15:36 2008 UTC (12 years, 4 months ago) by gray
Initial implementation of body replacement.

* mfd/engine.c (run_msgmod): Handle body_repl
* mfd/gram.y (msgmod_opcode_str): Likewise.
* mfd/mailfromd.h (enum msgmod_opcode): New constant body_repl.
* mfd/bi_body.m4 (replbody): New function (proof-of-concept).

* pmult/pmult.c (struct pmult_priv_data): New fields body_off,
body_chunks.
(pmult_append_body_chunk): New function.
(cb_reply): Handle SMFIR_REPLBODY
(pmult_std_reply): Likewise.
(pmult_clear): Destroy body_chunks
(pmult_eom): Request body replacement if body_chunks is not NULL.
(pmult_msg_rplc,pmult_msg_rplc_stat): New functions.
(pmilter): Register pmult_msg_rplc and pmult_msg_rplc_stat.


Revision 1760 - Directory Listing
Modified Fri Nov 21 16:26:19 2008 UTC (12 years, 4 months ago) by gray
Pies: ensure all prereqs are started in right order before starting a dependency.

* pies/pies.c (component_cfg_param): New statement settle-timeout.
* pies/progman.c (recompute_alarm): New static;
(prog_start): Start the component only if all of its prerequisites
are running.
(progman_recompute_alarm): New function.
(progman_start): Reset recompute_alarm to 0.
(check_stopping): New function.
(progman_wake_sleeping): Handle also status_stopping and
status_enabled. Recompute alarm before leaving.
(prog_start_prerequisites): Return 0 or 1 depending on whether all
prerequisites have been started.
(prog_stop): Raise recompute_alarm for stopping components.
(progman_cleanup): Force status_enabled before attepmting to
start a component.
(progman_cleanup): Add a \n after debugging message.
Run progman_wake_sleeping unlsess expect_term is set.
* pies/meta1gram.y (translate_node_list): Force settle-timeout =
1.
* pies/pies.h (struct component.settle_timeout): New member.


Revision 1759 - Directory Listing
Modified Fri Nov 21 09:46:34 2008 UTC (12 years, 4 months ago) by gray
Improve pies.

* pies/pies.c (main): New options --force, --dump-prereq and
--dump-depmap.
Refuse to start if another instance is already running.
(pies_check_status): New function.
(pies_status): Rewrite using pies_check_status.
* pies/progman.c (component_fixup_depend): Bugfix: move
mu_list_append off the conditional.
(progman_dump_prereq, progman_dump_depmap): New functions.
* pies/meta1gram.y (yyerror): Return 0.
* pies/pies.h (progman_dump_prereq, progman_dump_depmap): New
protos.
(meta1_parser_set_debug, meta1lex, meta1error)
(meta1parse): Likewise.


Revision 1758 - Directory Listing
Modified Fri Nov 21 08:20:37 2008 UTC (12 years, 4 months ago) by gray
Improve pies.

* pies/progman.c (print_dep): New function.
(progman_build_depmap): Call print_dep to facilitate fixing cyclic
dependencies.
(prog_start_prerequisites): Fix debugging output.
Remove spurious second loop (was it a typo or copy-paste
leftover?)
(prog_stop_dependents): Fix debugging output.
(progman_dump_stats): Avoid race conditions between running and
querying instances.


Revision 1757 - Directory Listing
Modified Mon Nov 17 21:57:57 2008 UTC (12 years, 4 months ago) by gray
Add pies.texi and smap.texi

Revision 1756 - Directory Listing
Modified Mon Nov 17 20:23:14 2008 UTC (12 years, 4 months ago) by gray
Document and improve pmult.

* pmult/pmult.c (debug_level): Remove.
(struct pmult_priv_data): Remove debug. Use pmult_debug instead.
(macro_trans): Define Sendmail compatibility macros cn_issuer and
cn_subject.
(builtin_macros): Fix typo in "multiplexer".
(define_macros): Rewrite.  The "define-macros" statement takes
exactly two arguments, each of which can be either a string or a
list of strings.
* doc/values.texi, doc/mailfromd.texi, doc/pmult.texi: Update.

* doc/Makefile.am (check-fixmes): Scan all texinfo documents.


Revision 1755 - Directory Listing
Modified Mon Nov 17 12:16:10 2008 UTC (12 years, 4 months ago) by gray
Fix handling of retranslators.

* pies/pies.c (main): Call progman_build_depmap and
progman_create_sockets before starting up components.
* pies/progman.c (struct prog): New member `retr'.
(destroy_prog): New function.
(retr_tag): Change signature. Fix erroneous condition for
xalloc_die.
(register_retr): Return prog. Make static. Initialize idx
with -1.
(update_retr): Register retranslator, if necessary.
(progman_register_retranslators): Remove.
(register_prog0): 2nd argument: index.
(register_prog): Do not create socket at once.
(prog_start): Remove debugging fprintf.
(progman_accept): Update call to register_prog0.
(progman_create_sockets): New function.
(progman_start): Remove calls to progman_register_retranslators
and progman_build_depmap. They must be done only once.
(prog_stop_retranslators): New function.
(prog_stop_dependents): Call prog_stop_retranslators.
(progman_cleanup): Remove dangling retranslators.
* pies/pies.h (progman_create_sockets): New prototype.


Revision 1754 - Directory Listing
Modified Mon Nov 17 12:15:58 2008 UTC (12 years, 4 months ago) by gray
Fix handling of retranslators.

* pies/pies.c (main): Call progman_build_depmap and
progman_create_sockets before starting up components.
* pies/progman.c (struct prog): New member `retr'.
(destroy_prog): New function.
(retr_tag): Change signature. Fix erroneous condition for
xalloc_die.
(register_retr): Return prog. Make static. Initialize idx
with -1.
(update_retr): Register retranslator, if necessary.
(progman_register_retranslators): Remove.
(register_prog0): 2nd argument: index.
(register_prog): Do not create socket at once.
(prog_start): Remove debugging fprintf.
(progman_accept): Update call to register_prog0.
(progman_create_sockets): New function.
(progman_start): Remove calls to progman_register_retranslators
and progman_build_depmap. They must be done only once.
(prog_stop_retranslators): New function.
(prog_stop_dependents): Call prog_stop_retranslators.
(progman_cleanup): Remove dangling retranslators.
* pies/pies.h (progman_create_sockets): New prototype.


Revision 1753 - Directory Listing
Modified Sun Nov 16 21:45:38 2008 UTC (12 years, 4 months ago) by gray
Improve pies.

* pies/pies.h (create_socket): Change proto to 3 arguments.
* pies/socket.c (create_socket): Take two additional arguments.
Allow to configure ownership and mode of created UNIX sockets.
* pies/progman.c (register_prog, prog_start): Update calls to
create_socket.


Revision 1752 - Directory Listing
Modified Sun Nov 16 17:21:38 2008 UTC (12 years, 4 months ago) by gray
Implement ctype functions.

* mfd/bi_ctype.m4: New function.
* mfd/Makefile.am (inc_DATA): Add bi_ctype.m4.
* doc/Makefile.am (check-builtins): Update source sed expression.
* doc/mailfromd.texi, NEWS: Document ctype functions.


Revision 1751 - Directory Listing
Modified Sat Nov 15 18:14:31 2008 UTC (12 years, 4 months ago) by gray
Improve handling of program privileges.

* lib/libmf.h (struct mf_privs): New data type.
(get_user_groups, mf_priv_setup, mf_epriv_setup): New prototypes.
* lib/userprivs.c (get_user_groups, mf_priv_setup)
(mf_epriv_setup): New functions.

* smap/smap.c: If user is specified, switch to effective uid/gid,
in order for msrv to create files with right privileges, on one
hand, and to be able to create pidfile in root-owned directories
(e.g. /var/run), on the other hand. This requires todays snapshot
of Mailutils.

* pies/pies.h (struct pies_privs_data): Remove
(struct component): Change type of `privs' to struct mf_privs.
(priv_setup): Remove.
* pies/pies.c: Use mf_priv* stuff to manipulate privileges.
* pies/progman.c: Likewise.
* pies/meta1gram.y (list): allow for trailing comma.


Revision 1750 - Directory Listing
Modified Thu Nov 13 20:59:38 2008 UTC (12 years, 5 months ago) by gray
Bugfix.

* mfd/bi_string.m4 (index) (rindex): Third argument (start index)
can equal string length.


Revision 1749 - Directory Listing
Modified Thu Nov 13 20:29:20 2008 UTC (12 years, 5 months ago) by gray
Bugfix.

* pies/Makefile.am (LDADD): Add MF_PROCTITLE_LIBS


Revision 1748 - Directory Listing
Modified Thu Nov 13 20:26:07 2008 UTC (12 years, 5 months ago) by gray
Bugfix.

* lib/proctitle.c (mf_proctitle_format):
* pies/progman.c (progman_register_retranslators): Register
retranslators only for retr_syslog.
(open_retranslator): Do not prepend program name to the proctitle.
It is done automatically by the library.
* lib/proctitle.c: Declare environ.
Define __progname if not defined in libc.
(mf_proctitle_init): Set __progname.
(mf_proctitle_format): Prepend program name to the proctitle.


Revision 1747 - Directory Listing
Modified Thu Nov 13 19:02:54 2008 UTC (12 years, 5 months ago) by gray
Implement file output redirection.

* pies/pies.h (enum retr_type): New constants.
(struct retranslator): New type.
(struct component): Change type of retr to struct retranslator.
All uses updated.
* pies/pies.c (_cb_retr): Takes two arguments:
redirection type and file name or syslog priority.
(make_full_name): New function.
(component_verify): Check retr file names.
* pies/progman.c (redirect_to_file): New function.
(open_retranslator): Handle file redirects.
(prog_start): Open /dev/null in wronly mode.
* pies/meta1gram.y (create_retr_node): New function.
(translate_node_list): Create default "stderr" statement.


Revision 1746 - Directory Listing
Modified Thu Nov 13 16:11:09 2008 UTC (12 years, 5 months ago) by gray
Implement setproctitle functionality for pies.

* am: New directory.
* am/aggr.m4, am/debug.m4: New files (from acinclude.m4)
* am/proctitle.m4: New file.
* acinclude.m4: Removed.
* configure.ac: Call MF_PROCTITLE.
* lib/libmf.h (mf_proctitle_format): New prototype.
* lib/proctitle.c: New file.
* lib/Makefile.am (libmf_a_SOURCES): Add proctitle.c.
* Makefile.am (ACLOCAL_AMFLAGS): Add -I am

* pies/pies.c (main): Call mf_proctitle_init.
* pies/progman.c (retr_tag): Rewrite in a safer way.
(open_retranslator): Set program title in child.


Revision 1745 - Directory Listing
Modified Thu Nov 13 12:58:01 2008 UTC (12 years, 5 months ago) by gray
Allow to complement existing components (useful for MeTA1 includes).

* pies/pies.c (component_verify): New function.
(component_section_parser): Call component_verify.
(_cm_include_meta1): Reduce the tree at once.
(parse_meta1_conf): Not needed any more.
* pies/progman.c (progman_register_retranslators): New function.
(pies/progman.c): Do not register retranslators: wait until the
entire config is parsed and do that in progman_start.
(progman_start): Call progman_register_retranslators.


Revision 1744 - Directory Listing
Modified Wed Nov 12 22:38:03 2008 UTC (12 years, 5 months ago) by gray
Optonal semicolon after a simple statement

Revision 1743 - Directory Listing
Modified Wed Nov 12 18:10:09 2008 UTC (12 years, 5 months ago) by gray
Implement dependencies/prerequisites in MeTA1.

* pies/pies.c (component_cfg_param): Rename "depend" to
"prerequisites". Add new keyword "dependents".
(pies_cfg_param): New keyword "limits".
* pies/progman.c (struct prog): Rename "depend" to "prereq".
(prog_start_dependencies): Rename to prog_start_prerequisites
(register_prog0): Do not fill prereq. This will be done later,
when all dependencies are resolved.
(prog_rebuild_prerequisites): New function.
(prog_start): Per-component limitis override system-wide ones.
(component_fixup_depend, fixup_prerequisites)
(rebuild_prerequisites): New functions.
(progman_build_depmap): Call fixup_prerequisites and
rebuild_prerequisites.
(prog_stop_dependent): Rename to prog_stop_dependents.
* pies/meta1gram.y: Implement restart_dependencies.
* pies/pies.h (struct component): Rename "depend" to "prereq". Add
new member "depend".
(pies_limits): New extern.


Revision 1742 - Directory Listing
Modified Wed Nov 12 14:47:57 2008 UTC (12 years, 5 months ago) by gray
* pies/pies.rcin: Update

Revision 1741 - Directory Listing
Modified Wed Nov 12 14:46:57 2008 UTC (12 years, 5 months ago) by gray
Update

Revision 1740 - Directory Listing
Modified Wed Nov 12 14:45:00 2008 UTC (12 years, 5 months ago) by gray
Implement MeTA1 configuration file parser. 

* configure.ac: Require Mailutils 1.9.93
* doc/mailfromd.texi, NEWS: Update.
* pies/pies.c (_cb_depend): Accept list argument.
(component_cfg_param): New statement: program.
(pies_cfg_param): New statements: include-meta1 and
meta1-queue-dir.
(parse_meta1_conf, pies_cfg_verifier): New functions.
(main): Set mu_app_cfg_verifier. Call parse_meta1_conf.
* pies/progman.c (progman_lookup_component): New function.
(prog_start): Pass program name (eventually differing from
argv[0]).
* pies/pies.h (struct component): New member `program'.
(progman_lookup_component): New prototype.
* pies/meta1gram.y, pies/meta1lex.h, pies/meta1lex.l: New files.
* pies/Makefile.am (pies_SOURCES): Add meta1gram.y and
pies/meta1lex.h.
(noinst_HEADERS, AM_YFLAGS, AM_LFLAGS): New variables.


Revision 1739 - Directory Listing
Modified Wed Nov 12 14:44:52 2008 UTC (12 years, 5 months ago) by gray
Implement MeTA1 configuration file parser. 

* configure.ac: Require Mailutils 1.9.93
* doc/mailfromd.texi, NEWS: Update.
* pies/pies.c (_cb_depend): Accept list argument.
(component_cfg_param): New statement: program.
(pies_cfg_param): New statements: include-meta1 and
meta1-queue-dir.
(parse_meta1_conf, pies_cfg_verifier): New functions.
(main): Set mu_app_cfg_verifier. Call parse_meta1_conf.
* pies/progman.c (progman_lookup_component): New function.
(prog_start): Pass program name (eventually differing from
argv[0]).
* pies/pies.h (struct component): New member `program'.
(progman_lookup_component): New prototype.
* pies/meta1gram.y, pies/meta1lex.h, pies/meta1lex.l: New files.
* pies/Makefile.am (pies_SOURCES): Add meta1gram.y and
pies/meta1lex.h.
(noinst_HEADERS, AM_YFLAGS, AM_LFLAGS): New variables.


Revision 1738 - Directory Listing
Modified Tue Nov 11 15:13:54 2008 UTC (12 years, 5 months ago) by gray
Bugfixes

* pies/pies.c (component_cfg_param, pies_cfg_param): New keyword:
allgroups.
(pies_add_allgroups): New function.
* pies/limits.c: Fix debug statements.
* pies/progman.c (build_depmap): Rename to
progman_build_depmap. Make extern, for future use. All callers
updated.
* pies/pies.h (progman_build_depmap): New proto.


Revision 1737 - Directory Listing
Modified Tue Nov 11 12:54:09 2008 UTC (12 years, 5 months ago) by gray
pies: rename open_socket to create_socket

Revision 1736 - Directory Listing
Modified Tue Nov 11 12:37:12 2008 UTC (12 years, 5 months ago) by gray
Bugfixes

* pies/pies.c: Fix ACTION_COMPRELOAD
* pies/progman.c (open_retranslator): (child) close all open
sockets, except p[0] (pipe input).
(prog_start): Bugfix: mark sleeping components with
status_sleeping.
(prog_start): stdout retranslation works for pies_comp_pass_fd.
Mark started processes with status_enabled.
(progman_start): Start enabled processes if pid is 0.
(progman_stop_component): Correctly handle various status types.
(progman_dump_stats): Mark processes being stopped.


Revision 1735 - Directory Listing
Modified Tue Nov 11 08:52:51 2008 UTC (12 years, 5 months ago) by gray
Bugfixes

* pies/pies.c (component_cfg_param): Bugfix.
(component_section_parser): Initialize comp->pass_fd_socket
* pies/progman.c (prog_start): Listen on the socket, if in pass_fd
mode. Avoid closing it.
(prog_stop_all): Kill programs being stopped.
* pies/socket.c (pass_fd): Check return from open_unix_socket.


Revision 1734 - Directory Listing
Modified Tue Nov 11 08:50:05 2008 UTC (12 years, 5 months ago) by gray
Bugfixes

* pies/pies.c (component_cfg_param): Bugfix.
(component_section_parser): Initialize comp->pass_fd_socket
* pies/progman.c (prog_start): Listen on the socket, if in pass_fd
mode. Avoid closing it.
(prog_stop_all): Kill programs being stopped.
* pies/socket.c (pass_fd): Check return from open_unix_socket.


Revision 1733 - Directory Listing
Modified Mon Nov 10 21:59:37 2008 UTC (12 years, 5 months ago) by gray
Rewrite pies to incorporate into it the functionality of inetd and mcp.

* pies/pies.c (pmult_debug): Rename to pies_debug.
(pies_acl): New global.
(component_cfg_param): New statements: mode, socket,
pass-fd-socket, acl, limits.
(component_section_parser): Allocate comp. Check its consistency
on mu_cfg_section_end.
(pies_cfg_param): New statement: acl.
(main): Call mu_acl_cfg_init. Use pies_pause instead of pause.
* pies/limits.c: New file.
* pies/progman.c (enum prog_status): New status: status_listener.
(struct prog): Keep a pointer to the original struct component,
instead of copying its fields (except for depend, which is copied
anyway). All uses updated.
(prog_lookup_by_socket, unlink_prog, register_prog0): New
functions.
(prog_start, progman_cleanup, progman_stop_component): Rewrite to
take into account various component modes.
(pies_check_acl): New function.
(progman_accept): New function.
* pies/pies.h (limits_record_t): New typedef.
(enum pies_comp_mode): New constants.
(struct component): New members: mode, limits, socket_url,
pass_fd_socket, acl.
(progman_accept): New proto.
(pies_pause, register_listener, pass_fd, open_socket)
(parse_limits, set_limits): New protos.
* pies/Makefile.am (pies_SOURCES): Add limits.c and socket.c
* pies/socket.c: New file.

* configure.ac: Check for msg_control and msg_accrights in struct
msghdr.
* acinclude.m4 (IU_CHECK_MEMBER, IU_CHECK_MEMBERS): New macros
(from inetutils).


Revision 1732 - Directory Listing
Modified Mon Nov 10 11:22:26 2008 UTC (12 years, 5 months ago) by gray
Minor fixes.

* pies/progman.c (prog_start): Bugfix.
* pmult/pmult.c (pmult_cfg_param): New configuration statement
pmilter-debug.
(main): Call sm_pmfi_setdbg.


Revision 1731 - Directory Listing
Modified Mon Nov 10 11:19:22 2008 UTC (12 years, 5 months ago) by gray
Minor fixes.

* pies/progman.c (prog_start): Bugfix.
* pmult/pmult.c (pmult_cfg_param): New configuration statement
pmilter-debug.
(main): Call sm_pmfi_setdbg.


Revision 1730 - Directory Listing
Modified Sun Nov 9 17:29:47 2008 UTC (12 years, 5 months ago) by gray
Update

Revision 1729 - Directory Listing
Modified Sun Nov 9 17:20:09 2008 UTC (12 years, 5 months ago) by gray
Add built-in functions for accessing Sendmail macros.

* mfd/mailfromd.h (env_get_macro): New proto.
* mfd/prog.c (env_get_macro): New function.
* mfd/bi_macro.m4: New file.
* mfd/Makefile.am (M4_FILES): Add bi_macro.m4.
* NEWS: Update.
* doc/mailfromd.texi (Macro access): New subsubsection.


Revision 1728 - Directory Listing
Modified Fri Nov 7 12:01:02 2008 UTC (12 years, 5 months ago) by gray
* mfd/bi_mbox.m4 (mailbox_open): Take 2nd optional argument,
specifying the permissions of the mailbox, if it is to be created.
* doc/mailfromd.texi, NEWS: Update.


Revision 1727 - Directory Listing
Modified Thu Nov 6 21:49:42 2008 UTC (12 years, 5 months ago) by gray
Bugfix & minor improvement.

* pmult/pmult.c (collect_headers): Rewrite state machine to ensure
each state either advances off or switches to the new state.
(builtin_macros): New variable.
(translate_macros0): Add builtin macros.
(pmult_connect): Do not free priv_data even if some milters
returned rejects.


Revision 1726 - Directory Listing
Modified Thu Nov 6 07:48:37 2008 UTC (12 years, 5 months ago) by gray
Bugfix

* pmult/pmult.c (collect_headers): Rewrite state machine to ensure
each state either advances off or switches to the new state.


Revision 1725 - Directory Listing
Modified Thu Nov 6 07:48:29 2008 UTC (12 years, 5 months ago) by gray
Bugfix

* pmult/pmult.c (collect_headers): Rewrite state machine to ensure
each state either advances off or switches to the new state.


Revision 1724 - Directory Listing
Modified Wed Nov 5 12:50:58 2008 UTC (12 years, 5 months ago) by gray
Bugfix.

* mfd/lex.l: Fix default condition for ML state, introduced on
2008-11-02.


Revision 1723 - Directory Listing
Modified Mon Nov 3 22:00:36 2008 UTC (12 years, 5 months ago) by gray
Improvements.

* mflib/verp.mf (verp_extract_user): Pass email as the first
argument.
* doc/mailfromd.texi: Update.
* doc/Makefile.am: Add pmult.texi
* doc/pmult.texi: New file.
* mfd/lex.l: %% and $$ in quoted strings are replaced by single %
and $, correspondingly.
* NEWS: Update.


Revision 1722 - Directory Listing
Modified Mon Nov 3 14:11:14 2008 UTC (12 years, 5 months ago) by gray
Improve docs.

* doc/mailfromd.texi, NEWS: Document `getopt' and run (script)
mode. 
* mfd/lex.l: Octal characters can contain 1 to 3 octal characters.
* mfd/bi_getopt.m4: Allow to specify long options (without short
option equivalents) that take arguments.
* mfd/main.c (options): Document optional argument to the `--run'
option.


Revision 1721 - Directory Listing
Modified Sun Nov 2 20:55:34 2008 UTC (12 years, 5 months ago) by gray
Minor improvement in the lexer.

* mfd/lex.l (start_locus): New variable.
(BEGIN_X): New macro.
Add a rule to ignore any characters at EOF in ML state.
(yywrap): Report an error if the file is left not in the INITIAL
state, i.e. EOFs in comments or strings.


Revision 1720 - Directory Listing
Modified Sun Nov 2 16:55:24 2008 UTC (12 years, 5 months ago) by gray
Improve the docs.

* doc/mailfromd.texi, NEWS: Update.



Revision 1719 - Directory Listing
Modified Sun Nov 2 12:46:40 2008 UTC (12 years, 5 months ago) by gray
Minor fix.
	
* mfd/drivers.c (mark_type_asgn): Mark variable as referenced if
it is assigned a value.


Revision 1718 - Directory Listing
Modified Sun Nov 2 09:20:59 2008 UTC (12 years, 5 months ago) by gray
Get rid of ml_header.  Gacopyz takes care about the header formatting.

* gacopyz/gacopyz.h (gacopyz_safe_header_value): New proto.
* gacopyz/gacopyz.c (gacopyz_safe_header_value): New function.
(gacopyz_header_command): Use gacopyz_safe_header_value to format
header value.
* mfd/bi_sa.m4 (sa): Remove unused variable.
* mfd/bi_string.m4: Remove ml_header.
* doc/mailfromd.texi: Remove ml_header.


Revision 1717 - Directory Listing
Modified Sun Nov 2 00:05:01 2008 UTC (12 years, 5 months ago) by gray
New functions: replstr, ml_header, sa_format_score, sa_format_report_header

* mflib/sa.mf: New file.
* mflib/Makefile.am (inc_DATA): Add sa.mf
* mfd/bi_string.m4 (replstr): New function.

* doc/mailfromd.texi: Document new functions.
* NEWS: Update.


Revision 1716 - Directory Listing
Modified Sun Nov 2 00:04:55 2008 UTC (12 years, 5 months ago) by gray
New functions: replstr, ml_header, sa_format_score, sa_format_report_header

* mflib/sa.mf: New file.
* mflib/Makefile.am (inc_DATA): Add sa.mf
* mfd/bi_string.m4 (replstr): New function.

* doc/mailfromd.texi: Document new functions.
* NEWS: Update.


Revision 1715 - Directory Listing
Modified Sat Nov 1 21:00:43 2008 UTC (12 years, 5 months ago) by gray
mfd/bi_string.m4 (rindex): Fix bug introduced on 2008-10-29.

Revision 1714 - Directory Listing
Modified Sat Nov 1 20:34:08 2008 UTC (12 years, 5 months ago) by gray
Implement spamd REPORT in sa.

* mfd/snarf.m4 (MF_OBSTACK_FINISH): New macro.
* mfd/bi_string.m4 (ml_header): New function.
* mfd/bi_sa.m4 (spamd_read_line0): New function.
(spamd_read_line): Remove last argument. Use spamd_read_line0.
(sa): Take a 3rd optional argument, specirying whether to
return spam report in sa_keywords.


Revision 1713 - Directory Listing
Modified Sat Nov 1 20:29:45 2008 UTC (12 years, 5 months ago) by gray
Bugfix.
	
* mfd/gram.y (ADD,REPLACE): Cast 2nd argument to string.
* mfd/bi_system.m4 (strftime): Add missing MF_OPTVAL.


Revision 1712 - Directory Listing
Modified Sat Nov 1 20:29:38 2008 UTC (12 years, 5 months ago) by gray
Bugfix.
	
* mfd/gram.y (ADD,REPLACE): Cast 2nd argument to string.
* mfd/bi_system.m4 (strftime): Add missing MF_OPTVAL.


Revision 1711 - Directory Listing
Modified Fri Oct 31 15:50:19 2008 UTC (12 years, 5 months ago) by gray
Update

Revision 1710 - Directory Listing
Modified Fri Oct 31 15:44:52 2008 UTC (12 years, 5 months ago) by gray
Update.

* pmult/pmult.c (pmult_eom): Get macros from PM_SMST_DOT list.


Revision 1709 - Directory Listing
Modified Fri Oct 31 15:39:01 2008 UTC (12 years, 5 months ago) by gray
Allow to configure which macros to pass to the filter.

* gnulib.modules: Add inttostr
* smap/smap.c, pies/progman.c, pies/pies.h: Use umaxtostr, instead
of mu_umaxtostr.

* pmult/pmult.c (struct pmult_priv_data): New members: argc,
argv.
(macro_trans, meta_stage_trans, macrotab, macronames): New
globals.
(translate_macros0, translate_macros): New functions.
(define_macros, define_macros_iter): New functions.
(_cb_define, request_auth_macros): New functions.
(pmult_cfg_param): New keyword `define-macro'.
(pmult_free): Free argv.
(pmult_negotiate): Use sm_pmfi_setmacs, if available.
(pmult_connect, pmult_helo, pmult_mail, pmult_rcpt)
(pmult_data, process_headers, pmult_eom): Use translate_macros.
(main): Handle want_auth_macros.

* configure.ac: Check for sm_pmfi_setmacs. This function should
appear in meta1-1.0.PreAlpha28.0.



Revision 1708 - Directory Listing
Modified Wed Oct 29 22:09:43 2008 UTC (12 years, 5 months ago) by gray
Bugfix

* pmult/pmult.c (collect_headers): Bugfix, following changes
dated 2008-10-14.


Revision 1707 - Directory Listing
Modified Tue Oct 28 23:17:03 2008 UTC (12 years, 5 months ago) by gray
Improve string functions.

* mfd/bi_string.m4 (index, rindex): Take an optional third
argument, indicating where to start searching.
* NEWS, doc/mailfromd.texi: Document changes to index and rindex.


Revision 1706 - Directory Listing
Modified Mon Oct 27 20:10:14 2008 UTC (12 years, 5 months ago) by gray
Bugfixes

* pmult/pmult.c (pmult_std_reply): Handle SMFIR_ACCEPT.
* configure.ac, NEWS: Raise version patchlevel to 96
* mfd/drivers.c (mark_type_asgn): Add a comment.
* mfd/main.c (main): Do not try to start up if script_dump_xref
was given.


Revision 1705 - Directory Listing
Modified Fri Oct 24 09:51:55 2008 UTC (12 years, 5 months ago) by gray
* mflib/verp.mf: New file.
* mflib/Makefile.am: Add verp.mf.


Revision 1704 - Directory Listing
Modified Wed Oct 22 20:44:05 2008 UTC (12 years, 5 months ago) by gray
* gacopyz/server.c (gacopyz_srv_send_command): Fix arguments to gacopyz_io_log


Revision 1703 - Directory Listing
Modified Wed Oct 22 20:35:38 2008 UTC (12 years, 5 months ago) by gray
Fixes in Gacopyz server.

* gacopyz/server.c (gacopyz_srv_abort): Reset state to srv_ready.
(gacopyz_srv_helo): If called in srv_msgproc, reset the milter
state by calling gacopyz_srv_abort before sending the command.
(gacopyz_srv_envfrom): Likewise.


Revision 1702 - Directory Listing
Modified Tue Oct 21 15:28:17 2008 UTC (12 years, 5 months ago) by gray
Pass auth macros to milter.

* pmult/pmult.c: New configuration statement auth-macros.
(pmult_negotiate): Request auth macros for PM_SMST_MAIL if
auth-macros was requested.
(pmult_mail): Translate auth macros if present.

* gacopyz/server.c (gacopyz_srv_negotiate): Additional
diagnostics.
(gacopyz_srv_send_macros): Send macros only for those commands
that do require them.
(gacopyz_srv_send_command): Additional diagnostics.
* gacopyz/gacopyz.c (gacopyz_context_loop): Additional diagnostics.


Revision 1701 - Directory Listing
Modified Thu Oct 16 08:19:07 2008 UTC (12 years, 5 months ago) by gray
* pmult/pmult.c (_cb_log_level): Handle > level specifier (all
levels from the given one up).
* gacopyz/gacopyz.h (SMI_LOG_FROM): Handle n==0.


Revision 1700 - Directory Listing
Modified Wed Oct 15 18:22:39 2008 UTC (12 years, 6 months ago) by gray
* pies/progman.c (env_setup): Port new implementation from Rush.

* gnulib.modules: Add c-ctype
* mtasim/mtasim.c, pies/pies.h, pmult/pmult.c, lib/parsetime.c,
mfd/lex.l, mfd/gram.y, mfd/mailfromd.h, mfd/spf.c,
mfd/bi_sprintf.m4, mfd/bi_io.m4, mfd/pp.c, mfd/main.c: Use c-ctype,
instead of ctype. 


Revision 1699 - Directory Listing
Modified Mon Oct 13 21:13:56 2008 UTC (12 years, 6 months ago) by gray
Minor improvement.

* pmult/pmult.c (enum pmult_msg_state): Add more states.
(collect_headers): Correctly handle end-of-message marker,
even though it should never appear here.
(pmult_msg_handler): Make sure the handler always processes first
handlers, then body, even if some of these two is missing.


Revision 1698 - Directory Listing
Modified Sun Oct 12 23:13:08 2008 UTC (12 years, 6 months ago) by gray
Bugfixes.

* gacopyz/server.c (gacopyz_srv_eom): Reset state to srv_ready.


Revision 1697 - Directory Listing
Modified Sun Oct 12 22:22:48 2008 UTC (12 years, 6 months ago) by gray
Bugfixes.
  
* mfd/engine.c (mlfi_eom): Destroy md->hdr.
* pmult/pmult.c: Fix comment.
* NEWS: Update.


Revision 1696 - Directory Listing
Modified Mon Oct 6 13:07:00 2008 UTC (12 years, 6 months ago) by gray
Bugfix.
  
* mfd/main.c (read_domain_file): Select first word from each
line.  This allows to use meta1/mt.


Revision 1694 - Directory Listing
Modified Sat Oct 4 19:30:45 2008 UTC (12 years, 6 months ago) by gray
Introduce "precious" components.

* pies/pies.c (component_cfg_param): New configuration statement
`precious'.
* pies/progman.c (struct prog): New member `precious'.
(register_prog): Set precious.
(prog_start_dependencies): Do not mark disabled precious
dependencies of a disabled component.
* pies/pies.h (pies/pies.h): New member `precious'.
* pies/pies.rcin (mcp): Mark as precious.


Revision 1693 - Directory Listing
Modified Sat Oct 4 18:46:44 2008 UTC (12 years, 6 months ago) by gray
Bugfix.

* pies/pies.c (return_code_section_parser): Fix to work with tag
of any type.
* pies/pies.rcin: Minor change.


Revision 1692 - Directory Listing
Modified Sat Oct 4 16:45:01 2008 UTC (12 years, 6 months ago) by gray
Raise version number to 4.9.95.

Revision 1691 - Directory Listing
Modified Sat Oct 4 15:44:19 2008 UTC (12 years, 6 months ago) by gray
Terminate components in reverse order.

* pies/pies.c (main): Do cleanup after main action processing and
only if action == ACTION_CONT.
* pies/progman.c (struct prog): New member `prev'.
(link_prog): Maintain doubly-linked list.
(prog_stop_dependent): Avoid printing diagnostics if there are
no dependencies to be stopped.
(prog_stop): Do nothing if prog->pid is zero.
Do not call prog_stop_dependent, it will be done by
progman_cleanup. 
(prog_stop_all): Terminate components from last to first.
* pies/pies.rcin: Improve example, by adding mcp component.


Revision 1690 - Directory Listing
Modified Sat Oct 4 10:05:01 2008 UTC (12 years, 6 months ago) by gray
Improvements in pies.

* pies/pies.c (_cb_depend): Handle single string value.
(_cb_retr): Fix diagnostic message.
(_cb_facility): New function.
(component_cfg_param): New statement `facility'.
(component_section_parser): Initialize comp.facility to the
default value.
* pies/progman.c (struct prog): New member `facility'.
(register_prog): Initialize facility.
(open_retranslator): Use master->facility.
* pies/pies.h (struct component): New member `facility'.


Revision 1689 - Directory Listing
Modified Sat Oct 4 10:04:55 2008 UTC (12 years, 6 months ago) by gray
Improvements in pies.

* pies/pies.c (_cb_depend): Handle single string value.
(_cb_retr): Fix diagnostic message.
(_cb_facility): New function.
(component_cfg_param): New statement `facility'.
(component_section_parser): Initialize comp.facility to the
default value.
* pies/progman.c (struct prog): New member `facility'.
(register_prog): Initialize facility.
(open_retranslator): Use master->facility.
* pies/pies.h (struct component): New member `facility'.


Revision 1687 - Directory Listing
Modified Fri Oct 3 20:46:09 2008 UTC (12 years, 6 months ago) by gray
Bugfix.

* pies/progman.c (register_prog): Remove stray semicolon.
(retr_exit): Use _exit.
(prog_stop_dependent): Bugfix: stop retranlators as well as
components.


Revision 1683 - Directory Listing
Modified Mon Sep 29 19:17:05 2008 UTC (12 years, 6 months ago) by gray
Remove unused vars

Revision 1682 - Directory Listing
Modified Mon Sep 29 19:12:58 2008 UTC (12 years, 6 months ago) by gray
Set patchlevel 94

Revision 1680 - Directory Listing
Modified Mon Sep 29 19:04:21 2008 UTC (12 years, 6 months ago) by gray
Fix MU configuration file support.

* lib/libmf.h (config_array_to_argv)
(config_array_to_string, config_cb_timeout): new prototypes.
* lib/utils.c: New
* lib/Makefile.am (libmf_a_SOURCES): Add utils.c
* mfd/gram.y (defer_initialize_variable): Both args are const.
* mfd/mailfromd.h (defer_initialize_variable)
(add_include_dir): Change signatures.
* mfd/pp.c (add_include_dir): Arg is const.
* pies/pies.c, pmult/pmult.c, mfd/main.c: Rewrite configuration
file support to match changes in Mailutils.


Revision 1678 - Directory Listing
Modified Sat Sep 20 16:39:01 2008 UTC (12 years, 6 months ago) by gray
Improve stack memory management.

* mfd/gram.y (strtosize, get_stack_max, get_stack_incr)
(get_stack_size): New functions.
(pragma_stacksize): Rewrite. Take maximum stack size as an optional third
argument.
* mfd/mailfromd.h (stack_max_size): New declaration.
(stack_max_size): New function.
(expand_dataseg): Signal exception if new memory size would be greater than
the stack size limit.
* NEWS, doc/mailfromd.texi: Update.




Revision 1677 - Directory Listing
Modified Sat Sep 20 16:38:03 2008 UTC (12 years, 6 months ago) by gray
Improve stack memory management.

* mfd/gram.y (strtosize, get_stack_max, get_stack_incr)
(get_stack_size): New functions.
(pragma_stacksize): Rewrite. Take maximum stack size as an optional third
argument.
* mfd/mailfromd.h (stack_max_size): New declaration.
(stack_max_size): New function.
(expand_dataseg): Signal exception if new memory size would be greater than
the stack size limit.
* NEWS, doc/mailfromd.texi: Update.




Revision 1676 - Directory Listing
Modified Fri Sep 19 09:59:03 2008 UTC (12 years, 6 months ago) by gray
Implement two stack growth policies.

* mfd/gram.y (pragma_stacksize): Implement two stack growth
policies.
* mfd/mailfromd.h (enum stack_expand_policy): New enum.
(stack_expand_incr, stack_expand_policy): New global variables.
* mfd/prog.c (stack_expand_incr)
(stack_expand_policy): New global variables.

* NEWS: Update.
* doc/mailfromd.texi (stacksize): Document changes to pragma
stacksize. 
* doc/values.texi (STACK-INCR): New value.


Revision 1675 - Directory Listing
Modified Thu Sep 18 12:12:06 2008 UTC (12 years, 6 months ago) by gray
Fix typo

Revision 1674 - Directory Listing
Modified Thu Sep 18 10:35:49 2008 UTC (12 years, 6 months ago) by gray
Implement new last_poll_ variables.

* doc/mailfromd.texi: Document new variables.
* mfd/engine.c (check_on_host, method_strict, method_standard):
Implement last_poll_helo and last_poll_greeting variables,
proposed by Jan Rafaj.


Revision 1673 - Directory Listing
Modified Thu Sep 18 08:58:17 2008 UTC (12 years, 6 months ago) by gray
* Makefile.am: Implement a dist-hook, preventing distributing
an unfinished NEWS file.
* doc/mailfromd.texi: Document new mfl-mode customization
variables.
Add missing index entries.
* NEWS: Update.
* elisp/mfl-mode.el: Improve auto-indentation support.


Revision 1672 - Directory Listing
Modified Wed Sep 17 13:02:26 2008 UTC (12 years, 6 months ago) by gray
Minor fix.

* Makefile.am (dist-hook): New rule. Test for leftover FIXMEs in NEWS.


Revision 1671 - Directory Listing
Modified Tue Sep 16 22:16:54 2008 UTC (12 years, 6 months ago) by gray
Minor improvement.

* mfd/bi_getopt.m4 (opterr, optopt): New globals.
(getopt): Handle opterr and optopt.
(MF_INIT): Initialize opterr to 1.


Revision 1670 - Directory Listing
Modified Tue Sep 16 22:03:03 2008 UTC (12 years, 6 months ago) by gray
* mfd/bi_getopt.m4 (getopt): Use | as a short/long option
separator.
Make sure optind/optarg are set before returning EOF.
* mfd/gram.y (mailfromd_run): Remove superfluous call to
env_leave_frame.
* mfd/drivers.c (mark_type_argx, mark_type_vaptr): New functions.
* mfd/prog.c (env_vaptr): Cast the result.
* mfd/main.c (argpflag): Understand abbreviated forms of the --run
option.

* mfd/bi_db.m4 (dbfirst, dbnext, dbkey, dbvalue): New functions
(proof of concept).



Revision 1669 - Directory Listing
Modified Tue Sep 16 12:10:02 2008 UTC (12 years, 6 months ago) by gray
Implement functions with variable number of arguments and 'run' mode.

* mfd/symtab.c (function_install): Take additional argument.
* mfd/lex.l: New tokens `vaptr', `...' and ARGX.
* mfd/snarf.m4 (MF_VASTRING): New define.
* mfd/gram.y: Handle functions with variable number of arguments,
$(expr), and vaptr() expressions.  This raises shift/reduce
expectation to 29 conflicts. 
(parmtype_function): Return dtype_string for
arguments from vararg list.
(FUNC_HIDDEN_ARGS): Return 1 if f->varargs is set.
(type_to_string): Handle pointer argument.
(function_call): Handle function->varargs.
(node_type): Handle node_type_argx, and node_type_vaptr.
(cast_arg_list): Handle variable number of arguments.
(cast_to): Handle dtype_pointer as dtype_number.
* mfd/drivers.c (argx, vaptr): New node types.
(code_type_call): Handle variable number of arguments.
(code_cast): Handle dtype_pointer as dtype_number.
* mfd/mailfromd.h (MAILFROMD_RUN): New define.
(struct argx_node): New type.
(struct node): Add argx_node.
(struct function): New member `varargs'.
(function_install): Add varargs.
(mailfromd_run): New prototype.
* mfd/prog.c (env_vaptr, env_get_reg): New functions.
(env_make_frame0): New function.
(instr_xmemstk): New instruction handler.
* mfd/opcodes (XMEMSTK): New opcode.
* mfd/prog.h (env_get_reg, env_vaptr): New protos.
* mfd/main.c (options): New option `--run'.
(main): Handle `run' mode.
* mfd/Makefile.am (M4_FILES): Add bi_getopt.m4.
* NEWS: Update.


Revision 1668 - Directory Listing
Modified Mon Sep 15 18:18:45 2008 UTC (12 years, 7 months ago) by gray
Add a test suite for aliases.

* tests/alias.at: New file.
* tests/Makefile.am (TESTSUITE_AT): Add alias.at 
* tests/testsuite.at: Add alias.at.



Revision 1667 - Directory Listing
Modified Mon Sep 15 00:19:36 2008 UTC (12 years, 7 months ago) by gray
* elisp/mfl-mode.el (mfl-next-line-indentation)
(mfl-find-line-indentation): Fix computations for `alias',
`returns' and for comment lines.
(mfl-returns-offset, mfl-comment-offset): New customization
variables. 


Revision 1666 - Directory Listing
Modified Sun Sep 14 21:33:47 2008 UTC (12 years, 7 months ago) by gray
Add sav.mf

Revision 1665 - Directory Listing
Modified Sun Sep 14 21:31:42 2008 UTC (12 years, 7 months ago) by gray
Minor fix

* elisp/mfl-mode.el (mfl-mode): Make compile-command buffer-local.


Revision 1664 - Directory Listing
Modified Sun Sep 14 21:21:54 2008 UTC (12 years, 7 months ago) by gray
Implement function aliases.

* mfd/symtab.c (struct alias): New data type.
(union symentry): New member `alias'.
(lookup_or_install): Remove erroneous condition, introduced in
r1627 (branches/release_4_3_patches), which caused third
argument (install) to be ignored if SYM_BITS was set in state.
(function_install, function_lookup): Account for aliases.
(install_alias): New function.
* mfd/lex.l (alias): New keyword.
* mfd/gram.y: Allow to define function aliases.
* mfd/mailfromd.h (SYM_ALIAS): New define.
(install_alias): New proto.

* doc/mailfromd.texi: Document function aliases.
* doc/NEWS: Likewise.

* elisp/mfl-mode.el (mfl-mfd-command): Change command name.
(mfl-keywords): Add alias.


Revision 1662 - Directory Listing
Modified Mon Sep 8 21:22:51 2008 UTC (12 years, 7 months ago) by gray
Version 4.9.93

* configure.ac: Version 4.9.93
* NEWS: Likewise.
* pies/pies.c: Change description.


Revision 1660 - Directory Listing
Modified Mon Sep 8 16:04:43 2008 UTC (12 years, 7 months ago) by gray
* mfd/prog.c (instr_stkalloc): Expand stack segment if needed.

Revision 1659 - Directory Listing
Modified Sat Aug 16 21:31:06 2008 UTC (12 years, 7 months ago) by gray
Bugfixes.
* mflib/pp-setup (_, N_): If used without arguments, insert
_ and N_ verbatim.
* README: Update.
* tests/Makefile.am (clean-local): Fix rule.
* configure.ac: Fix check for res_query.

* mfd/engine.c (mailfromd_daemon): Use mailfromd_umask instead of
a hardcoded value.
* mfd/mailfromd.h (mailfromd_umask): New prototype.
* mfd/main.c (mailfromd_umask): New fucntion.
* mfd/bi_system.m4 (umask): New built-in function.
* gacopyz/gacopyz.c (do_connect): Ensure umask 0117 when binding
the socket.

* doc/mailfromd.texi: Improve usage of @deffn.
(System functions): Document umask.


Revision 1658 - Directory Listing
Modified Fri Jul 4 14:08:59 2008 UTC (12 years, 9 months ago) by gray
Implement mailbox_append_message built-in function.

* NEWS, doc/mailfromd.texi: Document mailbox_append_message.  Document new
semantics of `a' and `a+' in mailbox_open.
* mfd/bi_msg.m4 (bi_message_from_descr): New function.
* mfd/bi_body.m4 (current_message): Fix return value.
* mfd/bi_mbox.m4 (mailbox_open): Discern between `a' and `a+'.
(mailbox_append_message): New function.
* mfd/msg.h (bi_message_from_descr): New prototype.

Revision 1657 - Directory Listing
Modified Thu Jun 26 16:02:14 2008 UTC (12 years, 9 months ago) by gray
* pies/pies.h: Include stdint.h
* configure.ac: Fix checking for libresolv.


Revision 1656 - Directory Listing
Modified Sun Jun 22 08:22:18 2008 UTC (12 years, 9 months ago) by gray
Minor fixes.

* doc/mailfromd.texi: Fix a typo.
* mfd/prog.c: Fix comment.
* gacopyz/server.c: Fix erroneous range checking condition.


Revision 1655 - Directory Listing
Modified Thu May 15 09:55:55 2008 UTC (12 years, 11 months ago) by gray
Fixup C variables that point to dataseg after expanding it.
Bug reported by Sergey Afonin.

* mfd/snarf.m4 (mf_c_argdcl): Produce only C declarations.
(mf_c_arginit): New macro.
(__mf_c_argdcl_list,__mf_c_arginit_list): New auxiliary macros.
(__mf_c_arglist): Rewrite using the above macros.
(mf_c_arglist,MF_VA_ARG): Reflect changes to get_.*_arg functions.
* mfd/bi_sprintf.m4: Update invocations of MF_VA_ARG.
* mfd/prog.c (struct eval_environ): New members auto_ptr and
numautos.
(env_register_auto, env_unregister_autos, env_fixup_autos): New
functions.
(expand_dataseg): Call env_fixup_autos.
(get_literal, get_string_arg): Change signature. Call
env_register_auto. All callers updated.
(get_numeric_arg): Change signature for consistency with other
get_ functions. All callers updated.
(get_pointer_arg): New function.
(eval_environment): Call env_unregister_autos after running each
instruction.
* mfd/prog.h (get_pointer_arg): New function.
(get_string_arg, get_numeric_arg): Change prototypes.
* mfd/bi_sieve.m4: Minor stylistic fix.
* NEWS: Update.

* mfd/drivers.c (code_cast): Handle dtype_pointer


Revision 1654 - Directory Listing
Modified Sun Apr 13 18:09:24 2008 UTC (13 years ago) by gray
New builtins: message_size, message_body_size and message_header_size

Revision 1653 - Directory Listing
Modified Sat Apr 5 13:43:21 2008 UTC (13 years ago) by gray
Version 4.9.92

Revision 1652 - Directory Listing
Modified Sat Apr 5 13:39:10 2008 UTC (13 years ago) by gray
svn:ignore .references

Revision 1651 - Directory Listing
Modified Sat Apr 5 13:37:54 2008 UTC (13 years ago) by gray
* mtasim/mtasim.c: New command line options --user and --group.
* doc/mailfromd.texi, doc/mtasim.texi, NEWS: Update.



Revision 1650 - Directory Listing
Modified Sat Apr 5 08:45:01 2008 UTC (13 years ago) by gray
Introduce MU interface functions.

* mfd/bi_msg.m4, mfd/bi_mbox.m4, mfd/msg.h: New files.
* mfd/Makefile.am: Add new files.
* mfd/bi_string.m4 (substring): 3rd argument can be negative.
* mfd/bi_body.m4 (current_message): New function.
* NEWS: Update.


Revision 1649 - Directory Listing
Modified Wed Apr 2 13:39:45 2008 UTC (13 years ago) by gray
* doc/mailfromd.texi: Document changes to prog body.

Revision 1648 - Directory Listing
Modified Wed Apr 2 11:03:01 2008 UTC (13 years ago) by gray
Add new MFL datatype `POINTER' and convert `body' handler to
take first argument of that type. Provide a function for
converting POINTER to STRING.

* mfd/Makefile.am (M4_FILES): Add bi_body.m4
* mfd/bi_body.m4: New file.

* mfd/engine.c (mlfi_body): Pass bodyp as a generic pointer.
* mfd/snarf.m4 (__mf_argtype, __mf_ctype, __mf_c_getarg)
(__mf_printf_type): Handle new data type POINTER.
* mfd/gram.y (state_parms): Change type of the first parameter
to body to dtype_pointer.
(cast_to): Handle dtype_pointer.
* mfd/mailfromd.h (data_type_t): New type dtype_pointer.
(env_push_pointer): New function.
* mfd/prog.c (env_push_pointer): New function.
* mfd/prog.h (get_pointer_arg): New macro.
* NEWS: Update.	

Bugfixes:

* mtasim/mtasim.c (get_input_line): Make sure the return line 
always terminates with a newline.
(smtp): Remove erroneous break.
* mfd/symtab.c (variable_replace): Maintain correct value of
newvar->owner.
* mfd/pp.c (push_source): Prevent coredump on the first call.


Revision 1645 - Directory Listing
Modified Wed Mar 12 06:54:03 2008 UTC (13 years, 1 month ago) by gray
* doc/Makefile.am (check-refs, check-fixmes): Print correct
locations for multiple input files. Return a meaningful error
code.
* TODO: Update.


Revision 1642 - Directory Listing
Modified Tue Mar 11 23:22:54 2008 UTC (13 years, 1 month ago) by gray
Rewrite the bootstrap suite.

* README-alpha: Rewritten.
* bootstrap.conf: Rewritten.
* bootstrap: Slightly modified version from gnulib.
* gnulib.modules, README-hacking: New files.
* doc/mailfromd.texi: Minor fix.


Revision 1641 - Directory Listing
Modified Tue Mar 11 21:50:47 2008 UTC (13 years, 1 month ago) by gray
Fix handling of handler/handler name clashes. 

* mfd/drivers.c (code_type_progdecl): Warn if a header is
redeclared.
* doc/mailfromd.texi: Document resolving of handler/handler name
clashes. 


Revision 1639 - Directory Listing
Modified Mon Mar 10 18:33:27 2008 UTC (13 years, 1 month ago) by gray
Added missing acknowledgments

Revision 1637 - Directory Listing
Modified Mon Mar 10 18:25:19 2008 UTC (13 years, 1 month ago) by gray
Update

Revision 1636 - Directory Listing
Modified Mon Mar 10 16:34:32 2008 UTC (13 years, 1 month ago) by gray
* mflib/strip_domain_part.mf, mflib/heloarg_test.mf,
mflib/gettext.mf, mflib/valid_domain.mf, mflib/spf.mf,
mflib/match_cidr.mf, mflib/is_ip.mf, mflib/safedb.mf4,
mflib/dns.mf4: Indent using mfl-mode.

* mflib/match_dnsbl.mf, mflib/match_rhsbl.mf: Indent using
mfl-mode. Remove m4 conditionals.


Revision 1635 - Directory Listing
Modified Mon Mar 10 16:33:36 2008 UTC (13 years, 1 month ago) by gray
* mflib/strip_domain_part.mf, mflib/heloarg_test.mf,
mflib/gettext.mf, mflib/valid_domain.mf, mflib/spf.mf,
mflib/match_cidr.mf, mflib/is_ip.mf, mflib/safedb.mf4,
mflib/dns.mf4: Indent using mfl-mode.

* mflib/match_dnsbl.mf, mflib/match_rhsbl.mf: Indent using
mfl-mode. Remove m4 conditionals.


Revision 1634 - Directory Listing
Modified Mon Mar 10 16:15:14 2008 UTC (13 years, 1 month ago) by gray
Port r1632 of branches/release_4_3_patches.

Revision 1626 - Directory Listing
Modified Wed Mar 5 15:16:25 2008 UTC (13 years, 1 month ago) by gray
Use ngettext

Revision 1623 - Directory Listing
Modified Tue Mar 4 07:13:32 2008 UTC (13 years, 1 month ago) by gray
Minor fixes in translatable strings

Revision 1620 - Directory Listing
Modified Sat Mar 1 08:01:43 2008 UTC (13 years, 1 month ago) by gray
Ported r1619 from branches/release_4_3_patches.

* src/prog.c, src/prog.h (advance_pc): Fix type of the 2nd
argument.
* configure.ac: Use AC_TRY_LINK to check for libresolve.
* THANKS: Update	
* NEWS: Update


Revision 1618 - Directory Listing
Modified Tue Feb 26 13:42:41 2008 UTC (13 years, 1 month ago) by gray
* pies/pies.c: New configuration statement "chdir".
* pies/progman.c (struct prog.v.p): New member `dir'.
(register_prog): Initialize newp->v.p.dir;
(prog_start): Change to the working directory, if required by
config.


Revision 1617 - Directory Listing
Modified Thu Feb 21 16:51:50 2008 UTC (13 years, 1 month ago) by gray
Update

Revision 1616 - Directory Listing
Modified Thu Feb 21 16:51:35 2008 UTC (13 years, 1 month ago) by gray
* mfd/main.c (mf_error_on_locus): Mark as printflike.
(cb_milter_timeout): Fix format.
(mf_cfg_param): Fix erroneous description of include-path.


Revision 1612 - Directory Listing
Modified Sun Feb 10 14:08:36 2008 UTC (13 years, 2 months ago) by gray
Merged HEAD from branches/gmach

Revision 1610 - Directory Listing
Modified Sun Feb 10 13:14:04 2008 UTC (13 years, 2 months ago) by gray
* README, configure.ac, NEWS: Update
* src/version.c: Update copyright years.
* doc/mailfromd.texi


Revision 1609 - Directory Listing
Modified Sat Feb 9 19:54:35 2008 UTC (13 years, 2 months ago) by gray
* THANKS: Add Tom Lynch. Obfuscate email addresses.


Revision 1606 - Directory Listing
Modified Wed Feb 6 19:08:31 2008 UTC (13 years, 2 months ago) by gray
* src/dnsbase.c: Define MAX, if necessary.
* src/mailfromd.h: Define INADDR_NONE.
* configure.ac: Check for librt.
Add auth to AM_GNU_MAILUTILS.
* gacopyz/gacopyz.c (do_connect): Fix typo.
* bootstrap (MODLIST): Add vasprintf.


Revision 1605 - Directory Listing
Modified Wed Feb 6 09:15:54 2008 UTC (13 years, 2 months ago) by gray
configure.ac: Check for libsocket and libnsl.

Revision 1604 - Directory Listing
Modified Wed Feb 6 08:44:34 2008 UTC (13 years, 2 months ago) by gray
* src/dnsbase.c (dns_resolve_hostname,a_lookup): Change
initialization of domainbuf.
* src/syslog_async.c: Include fcntl.h.
			

Revision 1603 - Directory Listing
Modified Mon Feb 4 21:49:35 2008 UTC (13 years, 2 months ago) by gray
* configure.ac: Check for locale.h
* src/db.c, src/bi_sprintf.m4, src/prog.c, src/bi_db.m4,
src/engine.c: Fix format arguments (ported from
branches/gmach@{2008-01-28 and 2008-01-09).
* src/main.c, src/mtasim.c: Include locale.h


Revision 1585 - Directory Listing
Modified Mon Jan 21 14:33:31 2008 UTC (13 years, 2 months ago) by gray
* src/symtab.c: Ported r1584 from branches/gmach.
* NEWS: Update.
* doc/mailfromd.texi: Updated.
* configure.ac: Version 4.3 (preparing for the release).


Revision 1569 - Directory Listing
Modified Tue Jan 15 13:44:11 2008 UTC (13 years, 3 months ago) by gray
Ported r1556 from branches/gmach.

* src/gram.y (DELETE string): Initialize hdr.value.
* src/drivers.c (code_type_header): Value can be NULL.

Fix compatibility with MU CVS:

* src/main.c: Use mu_log_facility.
* src/mtasim.c [MAILUTILS_VERSION_NUMBER > 1290]: Include
gettext.h, define _ and N_.
* configure.ac: Check for mu_log_facility.


Revision 1540 - Directory Listing
Modified Fri Dec 28 18:13:06 2007 UTC (13 years, 3 months ago) by gray
* src/Makefile.am (libmf_a_DEPENDENCIES): Add BUILD_SYSLOG_ASYNC


Revision 1539 - Directory Listing
Modified Thu Dec 13 18:22:11 2007 UTC (13 years, 4 months ago) by gray
(mf_cfg_param): Add docstrings.

Revision 1538 - Directory Listing
Modified Thu Dec 13 18:20:45 2007 UTC (13 years, 4 months ago) by gray
Ported r1536 from branches/release_4_2_patches (= r1535 from tags/release_4_2):


Revision 1534 - Directory Listing
Modified Wed Dec 12 12:22:30 2007 UTC (13 years, 4 months ago) by gray
Reflect recent changes to Mailutils.

Revision 1533 - Directory Listing
Modified Thu Nov 22 12:23:06 2007 UTC (13 years, 4 months ago) by gray
* src/main.c: Implement MU configuration statements.
* tests/atlocal.in (MFOPTS): Ignore site-wide and per-user
configuration files.
* doc/mailfromd.texi: Document sieve interface.


Revision 1532 - Directory Listing
Modified Wed Nov 21 22:55:38 2007 UTC (13 years, 4 months ago) by gray
Update

Revision 1531 - Directory Listing
Modified Wed Nov 21 18:12:08 2007 UTC (13 years, 4 months ago) by gray
* src/bi_io.m4 (write): Implement optional third argument.
* src/bi_sieve.m4: New file.
* src/mailfromd.h (vlogmsg): New proto.
* src/main.c (capa): Request "common" capability.
(main): Register all mailbox formats (needed for sieve).
* src/Makefile.am (M4_FILES): Add bi_sieve.m4
* src/mtasim.c (process_header): chop trailing newline.
* mflib/sieve.mfh: New file.
* mflib/Makefile.am (inc_DATA): Add sieve.mfh.
* configure.ac: Set patchlevel 90.
(AM_GNU_MAILUTILS): Request 'all' and 'sieve' link flags.
* doc/mailfromd.texi: Document 3rd argument of write.
* NEWS: Update.


Revision 1530 - Directory Listing
Modified Wed Nov 21 18:11:59 2007 UTC (13 years, 4 months ago) by gray
* src/bi_io.m4 (write): Implement optional third argument.
* src/bi_sieve.m4: New file.
* src/mailfromd.h (vlogmsg): New proto.
* src/main.c (capa): Request "common" capability.
(main): Register all mailbox formats (needed for sieve).
* src/Makefile.am (M4_FILES): Add bi_sieve.m4
* src/mtasim.c (process_header): chop trailing newline.
* mflib/sieve.mfh: New file.
* mflib/Makefile.am (inc_DATA): Add sieve.mfh.
* configure.ac: Set patchlevel 90.
(AM_GNU_MAILUTILS): Request 'all' and 'sieve' link flags.
* doc/mailfromd.texi: Document 3rd argument of write.
* NEWS: Update.


Revision 1529 - Directory Listing
Modified Mon Nov 19 14:55:55 2007 UTC (13 years, 4 months ago) by gray
* README-alpha: Update
* configure.ac: Use AM_GNU_MAILUTILS.
* acinclude.m4: Minor fix.


Revision 1528 - Directory Listing
Modified Mon Nov 19 13:41:07 2007 UTC (13 years, 4 months ago) by gray
* smap: New directory.
* smap/smap.c: New file. A general-purpose socket map for MeTA1
(for future use).


Revision 1527 - Directory Listing
Modified Mon Nov 19 13:38:36 2007 UTC (13 years, 4 months ago) by gray
* src/mu_dbm.c [WITH_GDBM]: do not bail out if the database does
not exist.
* src/mailfromd.h: Add argp.h
* src/bi_sa.m4: Minor fixes.
* src/main.c: Support for Mailutils CVS HEAD.
* configure.ac: Likewise.


Revision 1526 - Directory Listing
Modified Sun Nov 11 11:42:46 2007 UTC (13 years, 5 months ago) by gray
* src/engine.c (check_on_host): Wait for an answer to QUIT.
Fix courtesy of Nacho Gonzalez Lopez.
* src/bi_sa.m4: Revert the changes inadvertently pushed on
2007-10-21.
* doc/Makefile.am: Use texi2html to produce HTML version of the
manual.
* doc/gendocs_template: Likewise
* doc/gendocs.sh: Remove. Changes incorporated into the Texinfo
repository.
* doc/gendocs_template: Use conditionals, introduced in the
Texinfo CVS.


Revision 1525 - Directory Listing
Modified Mon Oct 29 23:20:45 2007 UTC (13 years, 5 months ago) by gray
(domain_name_cmp): Yet another bugfix

Revision 1524 - Directory Listing
Modified Mon Oct 29 18:27:21 2007 UTC (13 years, 5 months ago) by gray
(domain_name_cmp): Allow for trailing dot after domain.

Revision 1521 - Directory Listing
Modified Tue Oct 23 13:35:01 2007 UTC (13 years, 5 months ago) by gray
Generate html docs using texi2html

Revision 1520 - Directory Listing
Modified Tue Oct 23 13:02:08 2007 UTC (13 years, 5 months ago) by gray
Reimplement syslog-async. Thanks Simon Kelley for relicensing it under GPLv3.

Revision 1519 - Directory Listing
Modified Sun Oct 21 20:21:21 2007 UTC (13 years, 5 months ago) by gray
s/assing_locus/assign_locus/

Revision 1518 - Directory Listing
Modified Sun Oct 21 18:38:25 2007 UTC (13 years, 5 months ago) by gray
* src/dnsbase.c (cname_loop_body): Return TXT only if explicitly
required. Bug reported by Jan Rafaj.


Revision 1517 - Directory Listing
Modified Sun Oct 21 11:20:33 2007 UTC (13 years, 5 months ago) by gray
* src/engine.c: Fix timeout calculations
(struct timeout_ctl): New data type
(UPDATE_TTW,smtp_stream_wait,smtp_wait): Operate on struct timeout_ctl.
All callers updated.
(init_timeout_ctl): New function.


Revision 1516 - Directory Listing
Modified Fri Oct 12 11:17:10 2007 UTC (13 years, 6 months ago) by gray
Update

Revision 1515 - Directory Listing
Modified Fri Oct 12 11:15:54 2007 UTC (13 years, 6 months ago) by gray
* src/mtasim.c (_def_read): Return 0 if zero bytes were read
(get_input_line): Fix counting of input bytes.
(smtp): Fix checking for returns from process_data_reply.
* gacopyz/server.c (srv_format_macros): Do not add trailing zero
to the packet.


Revision 1514 - Directory Listing
Modified Wed Oct 10 10:26:44 2007 UTC (13 years, 6 months ago) by gray
* src/mailfromd.h [!ENABLE_NLS] (bindtextdomain): Fix definition.
* src/cache.c (cache_get2): Fix misplaced variable definition.


Revision 1513 - Directory Listing
Modified Wed Oct 10 08:39:33 2007 UTC (13 years, 6 months ago) by gray
* src/dnsbase.c (dns_resolve_hostname): Remove stray free, left
over after 2007-09-03.


Revision 1512 - Directory Listing
Modified Thu Sep 13 16:56:31 2007 UTC (13 years, 7 months ago) by gray
Bugfix

Revision 1511 - Directory Listing
Modified Thu Sep 13 14:53:13 2007 UTC (13 years, 7 months ago) by gray
Fix MU version detection

Revision 1510 - Directory Listing
Modified Wed Sep 12 12:43:37 2007 UTC (13 years, 7 months ago) by gray
(log_setup): Set up gacopyz_syslog_log_printer when logging to syslog.


Revision 1509 - Directory Listing
Modified Tue Sep 11 12:16:53 2007 UTC (13 years, 7 months ago) by gray
* src/mu_dbm.c [WITH_GDBM] (mu_dbm_firstkey,mu_dbm_nextkey):
Return MU_ERR_NOENT instead of MU_ERR_FAILURE.
* src/mailfromd.h (get_rate): New argument mincount
* src/rate.c: Likewise
* src/bi_other.m4 (rate): Optional argument mincnt
* src/mtasim.c: Accept MAIL FROM: and RCPT TO: without extra space
after `:'.
* doc/mailfromd.texi, NEWS: Update
	

Revision 1507 - Directory Listing
Modified Thu Sep 6 07:32:12 2007 UTC (13 years, 7 months ago) by gray
Update

Revision 1506 - Directory Listing
Modified Mon Sep 3 15:06:20 2007 UTC (13 years, 7 months ago) by gray
Update

Revision 1505 - Directory Listing
Modified Mon Sep 3 15:05:36 2007 UTC (13 years, 7 months ago) by gray
* src/dnsbase.c (dns_resolve_hostname): Make name buffer big
enough to hold eventual CNAME expansions. Reporte by Jan Rafaj.
* configure.ac: Improve to compile with the latest MU CVS.


Revision 1504 - Directory Listing
Modified Sat Aug 11 11:30:26 2007 UTC (13 years, 8 months ago) by gray
Update

Revision 1503 - Directory Listing
Modified Sat Aug 11 08:32:09 2007 UTC (13 years, 8 months ago) by gray
Update

Revision 1502 - Directory Listing
Modified Fri Aug 10 12:28:58 2007 UTC (13 years, 8 months ago) by gray
Update

Revision 1501 - Directory Listing
Modified Fri Aug 10 12:28:46 2007 UTC (13 years, 8 months ago) by gray
(a_lookup): Make name buffer big enough to hold eventual CNAME expansions.

Revision 1500 - Directory Listing
Modified Fri Aug 10 10:05:29 2007 UTC (13 years, 8 months ago) by gray
Update

Revision 1499 - Directory Listing
Modified Fri Aug 10 10:02:58 2007 UTC (13 years, 8 months ago) by gray
* src/gram.y (on_cond): Fix coredump if target address is not
specified.
(vardecl): Signal error if an auto variable is doubly defined.
* tests/testsuite.at (EX_OK--EX_CONFIG): New defines
(MF_CHECK_TEXT): New macro
Add poll04.at and ashadow.at
* tests/ashadow.at, tests/poll04.at: New files
* doc/mailfromd.texi: Minor fixes


Revision 1498 - Directory Listing
Modified Thu Aug 9 12:02:14 2007 UTC (13 years, 8 months ago) by gray
Use URL instead of FSF address in copyright statements

Revision 1497 - Directory Listing
Modified Thu Aug 9 08:17:07 2007 UTC (13 years, 8 months ago) by gray
Update

Revision 1496 - Directory Listing
Modified Thu Aug 9 08:17:00 2007 UTC (13 years, 8 months ago) by gray
Update

Revision 1495 - Directory Listing
Modified Sat Jun 30 07:12:15 2007 UTC (13 years, 9 months ago) by gray
Relicense under the GPLv3

Revision 1494 - Directory Listing
Modified Thu Jun 14 13:48:06 2007 UTC (13 years, 10 months ago) by gray
Minor fixes

Revision 1493 - Directory Listing
Modified Thu Jun 14 13:47:58 2007 UTC (13 years, 10 months ago) by gray
Bugfixes

Revision 1491 - Directory Listing
Modified Mon Jun 11 08:17:52 2007 UTC (13 years, 10 months ago) by gray
Version 4.1

Revision 1490 - Directory Listing
Modified Mon Jun 11 08:17:42 2007 UTC (13 years, 10 months ago) by gray
(next_line): Bugfix

Revision 1489 - Directory Listing
Modified Fri Jun 8 13:39:22 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1488 - Directory Listing
Modified Thu Jun 7 13:38:15 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1487 - Directory Listing
Modified Wed Jun 6 20:17:32 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1486 - Directory Listing
Modified Fri Jun 1 10:15:17 2007 UTC (13 years, 10 months ago) by gray
Fix line counting within here-documents

Revision 1483 - Directory Listing
Modified Tue May 29 12:43:46 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1482 - Directory Listing
Modified Tue May 29 12:31:42 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1481 - Directory Listing
Modified Tue May 29 05:31:54 2007 UTC (13 years, 10 months ago) by gray
Bugfixes

Revision 1480 - Directory Listing
Modified Tue May 29 04:47:52 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1479 - Directory Listing
Modified Sun May 27 20:00:10 2007 UTC (13 years, 10 months ago) by gray
Improve mfl-mode

Revision 1478 - Directory Listing
Modified Sat May 26 13:04:56 2007 UTC (13 years, 10 months ago) by gray
Initial implementation

Revision 1477 - Directory Listing
Modified Sat May 26 12:55:55 2007 UTC (13 years, 10 months ago) by gray
Add framework for Emacs MFL Major Mode

Revision 1476 - Directory Listing
Modified Fri May 25 11:30:12 2007 UTC (13 years, 10 months ago) by gray
Minor fix

Revision 1475 - Directory Listing
Modified Fri May 25 11:30:02 2007 UTC (13 years, 10 months ago) by gray
Minor fix

Revision 1474 - Directory Listing
Modified Fri May 25 09:27:29 2007 UTC (13 years, 10 months ago) by gray
Lots of critical bugfixes

Revision 1473 - Directory Listing
Modified Thu May 24 19:03:54 2007 UTC (13 years, 10 months ago) by gray
Minor rename/cleanup

Revision 1472 - Directory Listing
Modified Thu May 24 18:48:26 2007 UTC (13 years, 10 months ago) by gray
Further fixes

Revision 1471 - Directory Listing
Modified Thu May 24 14:51:36 2007 UTC (13 years, 10 months ago) by gray
Improve docs

Revision 1470 - Directory Listing
Modified Thu May 24 09:32:25 2007 UTC (13 years, 10 months ago) by gray
Implement NLS support

Revision 1469 - Directory Listing
Modified Thu May 24 08:49:33 2007 UTC (13 years, 10 months ago) by gray
Finish implementing sprintf

Revision 1468 - Directory Listing
Modified Wed May 23 22:30:13 2007 UTC (13 years, 10 months ago) by gray
Almost implemented sprintf

Revision 1467 - Directory Listing
Modified Wed May 23 15:03:56 2007 UTC (13 years, 10 months ago) by gray
Support for built-in functions with varying number of arguments.
Implement a limited version of sprintf.



Revision 1466 - Directory Listing
Modified Wed May 23 09:48:43 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1465 - Directory Listing
Modified Tue May 22 11:37:20 2007 UTC (13 years, 10 months ago) by gray
Build mflib/dns.mf and mflib/safedb.mf from M4 sources


Revision 1464 - Directory Listing
Modified Tue May 22 11:23:04 2007 UTC (13 years, 10 months ago) by gray
Discontinue supporting &code (specifying an exception code)
Implement $# and @parm, which expands to the ordinal number of a parameter:

  func foo(string x ; number y)
  do
      echo @y
  done

gives 1.



Revision 1463 - Directory Listing
Modified Mon May 21 22:26:45 2007 UTC (13 years, 10 months ago) by gray
(__mf_defined_argname): Bugfix

Revision 1462 - Directory Listing
Modified Mon May 21 22:04:19 2007 UTC (13 years, 10 months ago) by gray
Add missing comments

Revision 1461 - Directory Listing
Modified Mon May 21 22:01:29 2007 UTC (13 years, 10 months ago) by gray
Arguments are passed in the same order for both built-in and MFL-level
functions.

If a builtin takes optional arguments, the actual number of arguments is
passed in a hidden first argument.  This allows to discern between zero 
arguments (emtpy strings) and absent arguments.



Revision 1459 - Directory Listing
Modified Sun May 20 19:46:20 2007 UTC (13 years, 10 months ago) by gray
Bugfixes

Revision 1458 - Directory Listing
Modified Sun May 20 12:47:02 2007 UTC (13 years, 10 months ago) by gray
Improve external preprocessor usage

Revision 1457 - Directory Listing
Modified Sun May 20 10:12:13 2007 UTC (13 years, 10 months ago) by gray
Bugfix

Revision 1456 - Directory Listing
Modified Sun May 20 09:45:40 2007 UTC (13 years, 10 months ago) by gray
Implement built-in and external preprocessors

Revision 1454 - Directory Listing
Modified Sat May 19 22:55:24 2007 UTC (13 years, 10 months ago) by gray
Update

Revision 1453 - Directory Listing
Modified Sat May 19 22:54:57 2007 UTC (13 years, 10 months ago) by gray
(listens_on): port argument was ignored

Revision 1452 - Directory Listing
Modified Thu May 17 21:11:24 2007 UTC (13 years, 11 months ago) by gray
Fix a typo

Revision 1451 - Directory Listing
Modified Thu May 17 18:58:07 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1450 - Directory Listing
Modified Thu May 17 18:57:29 2007 UTC (13 years, 11 months ago) by gray
(listens): Bugfix

Revision 1449 - Directory Listing
Modified Thu May 17 12:26:26 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1448 - Directory Listing
Modified Thu May 17 11:59:19 2007 UTC (13 years, 11 months ago) by gray
Set exec property

Revision 1447 - Directory Listing
Modified Thu May 17 11:54:34 2007 UTC (13 years, 11 months ago) by gray
 Get translations from the TP.

Revision 1446 - Directory Listing
Modified Thu May 17 11:50:30 2007 UTC (13 years, 11 months ago) by gray
Generated automatically

Revision 1445 - Directory Listing
Modified Thu May 17 11:48:43 2007 UTC (13 years, 11 months ago) by gray
Move to po repository

Revision 1444 - Directory Listing
Modified Thu May 17 11:48:37 2007 UTC (13 years, 11 months ago) by gray
Move to po repository

Revision 1442 - Directory Listing
Modified Wed May 16 15:17:48 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1441 - Directory Listing
Modified Wed May 16 15:17:25 2007 UTC (13 years, 11 months ago) by gray
Add missing NLS markers

Revision 1440 - Directory Listing
Modified Wed May 16 15:17:11 2007 UTC (13 years, 11 months ago) by gray
Save namespace from pollution: Use m4_ prefixed keywords.

Revision 1439 - Directory Listing
Modified Wed May 16 07:13:30 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1438 - Directory Listing
Modified Wed May 16 07:08:09 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1437 - Directory Listing
Modified Wed May 16 07:08:00 2007 UTC (13 years, 11 months ago) by gray
(mailfromd_daemon): Leave the first three descriptors open before attemtping to restart

Revision 1436 - Directory Listing
Modified Wed May 16 07:07:48 2007 UTC (13 years, 11 months ago) by gray
(instr_symbol): Add missing NLS marker.

Revision 1435 - Directory Listing
Modified Wed May 16 07:07:35 2007 UTC (13 years, 11 months ago) by gray
(EXTRA_DIST): Add daemon.c

Revision 1434 - Directory Listing
Modified Tue May 15 21:30:35 2007 UTC (13 years, 11 months ago) by gray
Fix typo

Revision 1433 - Directory Listing
Modified Tue May 15 19:35:18 2007 UTC (13 years, 11 months ago) by gray
(debug_level_p): Change logic so that per-module specification takes precedence over the global one

Revision 1432 - Directory Listing
Modified Tue May 15 08:59:53 2007 UTC (13 years, 11 months ago) by gray
NLS-related fixes; Version no. 4.0.90


Revision 1431 - Directory Listing
Modified Mon May 14 14:23:42 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1430 - Directory Listing
Modified Mon May 14 10:19:08 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1429 - Directory Listing
Modified Sun May 13 15:29:08 2007 UTC (13 years, 11 months ago) by gray
Forgotten autopoint

Revision 1428 - Directory Listing
Modified Sun May 13 15:21:02 2007 UTC (13 years, 11 months ago) by gray
Mailfromd goes international

Revision 1427 - Directory Listing
Modified Sat May 12 09:02:50 2007 UTC (13 years, 11 months ago) by gray
Remove the note about the openat-die patch.  It is already in gnulib

Revision 1426 - Directory Listing
Modified Sat May 12 08:06:33 2007 UTC (13 years, 11 months ago) by gray
Add release date

Revision 1424 - Directory Listing
Modified Sat May 12 07:48:04 2007 UTC (13 years, 11 months ago) by gray
Fix typo

Revision 1423 - Directory Listing
Modified Sat May 12 07:45:34 2007 UTC (13 years, 11 months ago) by gray
Final update

Revision 1422 - Directory Listing
Modified Sat May 12 07:17:10 2007 UTC (13 years, 11 months ago) by gray
Update for the recent gnulib changes

Revision 1421 - Directory Listing
Modified Fri May 11 14:53:23 2007 UTC (13 years, 11 months ago) by gray
start cindexes with a lower case letter

Revision 1420 - Directory Listing
Modified Fri May 11 14:31:04 2007 UTC (13 years, 11 months ago) by gray
Change svn:ignore

Revision 1419 - Directory Listing
Modified Fri May 11 14:29:37 2007 UTC (13 years, 11 months ago) by gray
Use new version output format. Prepare for 4.0

Revision 1418 - Directory Listing
Modified Thu May 10 11:32:24 2007 UTC (13 years, 11 months ago) by gray
Minor fixes

Revision 1417 - Directory Listing
Modified Tue May 8 13:11:21 2007 UTC (13 years, 11 months ago) by gray
Bugfix

Revision 1416 - Directory Listing
Modified Tue May 8 12:25:38 2007 UTC (13 years, 11 months ago) by gray
[WITH_BDB] (mu_dbm_open): Locking mode depends on the open flags.

Revision 1415 - Directory Listing
Modified Sun May 6 11:05:54 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1414 - Directory Listing
Modified Sun May 6 10:23:10 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1413 - Directory Listing
Modified Sun May 6 08:28:34 2007 UTC (13 years, 11 months ago) by gray
update

Revision 1412 - Directory Listing
Modified Sat May 5 19:59:22 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1411 - Directory Listing
Modified Sat May 5 15:31:52 2007 UTC (13 years, 11 months ago) by gray
Fixup pidfile and portspec according to state directory settings

Revision 1410 - Directory Listing
Modified Sat May 5 09:18:26 2007 UTC (13 years, 11 months ago) by gray
Fix overfull boxes

Revision 1409 - Directory Listing
Modified Sat May 5 09:03:36 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1408 - Directory Listing
Modified Sat May 5 07:46:39 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1407 - Directory Listing
Modified Fri May 4 06:31:02 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1406 - Directory Listing
Modified Fri May 4 06:30:49 2007 UTC (13 years, 11 months ago) by gray
Fixes

Revision 1405 - Directory Listing
Modified Fri May 4 05:37:38 2007 UTC (13 years, 11 months ago) by gray
SIGHUP instructs `mailfromd' to restart itself.
Remove UNIX socket after closing it.

Revision 1404 - Directory Listing
Modified Wed May 2 11:27:18 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1403 - Directory Listing
Modified Wed May 2 11:27:10 2007 UTC (13 years, 11 months ago) by gray
(mu_dbm_strerror): Improve error logging

Revision 1402 - Directory Listing
Modified Tue May 1 16:39:28 2007 UTC (13 years, 11 months ago) by gray
(lock_file): fcntl can return non-null values.
Retry if F_GETLK returns F_UNLCK 
(mu_dbm_open): Always use O_RDWR if the file could need to be
locked for writing afterwards.

Revision 1400 - Directory Listing
Modified Tue May 1 06:50:12 2007 UTC (13 years, 11 months ago) by gray
Fixes

Revision 1399 - Directory Listing
Modified Tue May 1 05:35:57 2007 UTC (13 years, 11 months ago) by gray
Ensure begin blocks can set exception handlers

Revision 1398 - Directory Listing
Modified Mon Apr 30 11:45:52 2007 UTC (13 years, 11 months ago) by gray
Fix typo

Revision 1397 - Directory Listing
Modified Mon Apr 30 11:09:58 2007 UTC (13 years, 11 months ago) by gray
Use inner context to check for action usage in begin/end blocks.  This allows to define global catches.


Revision 1396 - Directory Listing
Modified Mon Apr 30 11:08:03 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1395 - Directory Listing
Modified Mon Apr 30 11:06:00 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1394 - Directory Listing
Modified Sat Apr 28 12:44:59 2007 UTC (13 years, 11 months ago) by gray
Minor wording fixes

Revision 1390 - Directory Listing
Modified Sat Apr 28 09:50:14 2007 UTC (13 years, 11 months ago) by gray
fix typo

Revision 1389 - Directory Listing
Modified Sat Apr 28 09:48:40 2007 UTC (13 years, 11 months ago) by gray
Bugfixes

Revision 1388 - Directory Listing
Modified Fri Apr 27 20:46:28 2007 UTC (13 years, 11 months ago) by gray
update

Revision 1387 - Directory Listing
Modified Fri Apr 27 20:45:53 2007 UTC (13 years, 11 months ago) by gray
Implement begin/end statements.  Allow to disable/enable caching

Revision 1386 - Directory Listing
Modified Fri Apr 27 09:11:48 2007 UTC (13 years, 11 months ago) by gray
Improve locking algorithm

Revision 1385 - Directory Listing
Modified Thu Apr 26 15:15:47 2007 UTC (13 years, 11 months ago) by gray
Fix typo

Revision 1384 - Directory Listing
Modified Thu Apr 26 15:14:28 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1383 - Directory Listing
Modified Thu Apr 26 10:07:02 2007 UTC (13 years, 11 months ago) by gray
Shut up gcc warnings and fix minor issues

Revision 1382 - Directory Listing
Modified Wed Apr 25 18:46:07 2007 UTC (13 years, 11 months ago) by gray
Fix typos

Revision 1381 - Directory Listing
Modified Wed Apr 25 08:33:18 2007 UTC (13 years, 11 months ago) by gray
	* NEWS: Update
	* src/lex.l (parse_require): Bugfix
	* mflib/heloarg_test.mf, mflib/spf.mf: Begin the names of the static
	functions with __
	* doc/Makefile.am (check-refs): Scan all texi sources
	(check-mflib): Ignore static names (__.*)
	* doc/mailfromd.texi, doc/mtasim.texi, doc/macros.texi: Update.


Revision 1380 - Directory Listing
Modified Wed Apr 25 05:53:44 2007 UTC (13 years, 11 months ago) by gray
update

Revision 1379 - Directory Listing
Modified Tue Apr 24 15:44:01 2007 UTC (13 years, 11 months ago) by gray
	* src/lex.l (parse_require): Bugfix
	* src/bi_mail.m4: Bugfix
	* src/mtasim.c: Implement help, fix directory removal at exit,
	implement readline history file.  Bugfixes in smtp()
	* tests/testsuite.at, tests/accept.at, tests/greylist.at,
	tests/arg.at, tests/reject.at, tests/numrcpt.at,
	tests/tempfail.at: Use mtasim -Xauto when necessary
	* configure.ac, NEWS: Raise patchlevel to 92
	* doc/mailfromd.texi: Update
	* doc/mtasim.texi: mtasim documentation
	* doc/Makefile.am: Add mtasim.texi
	* gacopyz/gacopyz_priv.h (struct gacopyz_conn): Keep information
	about children pids
	* gacopyz/proc.c (gacopyz_register_child)
	(gacopyz_unregister_child): New functions
	(cleanup_children): Call gacopyz_unregister_child
	(gacopyz_cleanup_conn): Terminate children individualy instead of
	sending TERM to the whole process group, because we might be not
	the group leader.
	* gacopyz/gacopyz.c (gacopyz_handle_connection): Register child
	pid after startup.
	* bootstrap: Require save-cwd.  Test if lib/daemon.c exists before
	attempting to create it.


Revision 1377 - Directory Listing
Modified Mon Apr 23 20:56:36 2007 UTC (13 years, 11 months ago) by gray
implement mtasim --port=auto

Revision 1375 - Directory Listing
Modified Mon Apr 23 13:59:43 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1374 - Directory Listing
Modified Sun Apr 22 22:02:18 2007 UTC (13 years, 11 months ago) by gray
update

Revision 1373 - Directory Listing
Modified Sun Apr 22 21:54:39 2007 UTC (13 years, 11 months ago) by gray
Introduce the module system

Revision 1372 - Directory Listing
Modified Sat Apr 21 09:54:32 2007 UTC (13 years, 11 months ago) by gray
update

Revision 1371 - Directory Listing
Modified Sat Apr 21 09:51:06 2007 UTC (13 years, 11 months ago) by gray
Reimplement debugging macros and supporting functions

Revision 1370 - Directory Listing
Modified Sat Apr 21 09:50:21 2007 UTC (13 years, 11 months ago) by gray
Provide a patch for Sendmail to honor extended codes and textual messages returned by the connect handler.

Revision 1369 - Directory Listing
Modified Sat Apr 21 09:49:41 2007 UTC (13 years, 11 months ago) by gray
Improve logging

Revision 1368 - Directory Listing
Modified Fri Apr 20 09:09:46 2007 UTC (13 years, 11 months ago) by gray
Implement asyncronous syslog

Revision 1367 - Directory Listing
Modified Wed Apr 18 16:15:55 2007 UTC (13 years, 11 months ago) by gray
Fix typo

Revision 1366 - Directory Listing
Modified Wed Apr 18 15:32:41 2007 UTC (13 years, 11 months ago) by gray
Document new macros

Revision 1365 - Directory Listing
Modified Wed Apr 18 15:23:00 2007 UTC (13 years, 11 months ago) by gray
When possible lock BDB databases directly.
For version 2.x fall back to external lock method.
Fix handling of optional variables in built-in functions.


Revision 1363 - Directory Listing
Modified Wed Apr 18 07:33:39 2007 UTC (13 years, 11 months ago) by gray
Implement stack traces

Revision 1362 - Directory Listing
Modified Wed Apr 18 06:35:31 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 1361 - Directory Listing
Modified Wed Apr 18 06:35:18 2007 UTC (13 years, 11 months ago) by gray
Use <> in #include statements

Revision 1357 - Directory Listing
Modified Tue Apr 17 16:40:39 2007 UTC (14 years ago) by gray
Bug fixes

Revision 1355 - Directory Listing
Modified Mon Apr 16 20:04:19 2007 UTC (14 years ago) by gray
Fix Milter packet length calculation & redo Berkeley DB locking

Revision 1354 - Directory Listing
Modified Mon Apr 16 10:25:57 2007 UTC (14 years ago) by gray
Update

Revision 1353 - Directory Listing
Modified Mon Apr 16 10:25:49 2007 UTC (14 years ago) by gray
(instr_restex): Fix stack addressing (broken after 2007-04-01).  Add trace output.

Revision 1352 - Directory Listing
Modified Thu Apr 12 11:50:38 2007 UTC (14 years ago) by gray
Re-implement database locking for Berkeley DB

Revision 1351 - Directory Listing
Modified Thu Apr 12 08:54:11 2007 UTC (14 years ago) by gray
        * src/mu_dbm.c, src/mu_dbm.h (mu_dbm_strerror): New function
        (mu_dbm_firstkey, mu_dbm_nextkey): Change signature
	* src/dnscache.c, src/db.c, src/cache.c, src/rate.c,
	src/bi_db.m4: Update for new mu_dbm interface.


Revision 1348 - Directory Listing
Modified Wed Apr 11 13:04:34 2007 UTC (14 years ago) by gray
Provide a special exception type for unresolved sendmail macros.

Revision 1346 - Directory Listing
Modified Wed Apr 4 14:24:28 2007 UTC (14 years ago) by gray
Document SPF functions

Revision 1345 - Directory Listing
Modified Tue Apr 3 22:43:36 2007 UTC (14 years ago) by gray
Update

Revision 1344 - Directory Listing
Modified Tue Apr 3 14:57:32 2007 UTC (14 years ago) by gray
(mlfi_connect): Fix invocation of a wrong header

Revision 1343 - Directory Listing
Modified Tue Apr 3 12:33:56 2007 UTC (14 years ago) by gray
(mlfi_abort): Do not call filter_cleanup

Revision 1342 - Directory Listing
Modified Tue Apr 3 10:53:55 2007 UTC (14 years ago) by gray
(env_final_gc): Top heap limit is inclusive

Revision 1341 - Directory Listing
Modified Tue Apr 3 09:25:57 2007 UTC (14 years ago) by gray
Bug fixes

Revision 1340 - Directory Listing
Modified Tue Apr 3 08:00:06 2007 UTC (14 years ago) by gray
Minor fix

Revision 1339 - Directory Listing
Modified Mon Apr 2 21:00:13 2007 UTC (14 years ago) by gray
Bugfixes

Revision 1338 - Directory Listing
Modified Mon Apr 2 19:54:16 2007 UTC (14 years ago) by gray
	* src/gram.y (loop_parm): Is a stmtlist
	* src/prog.c (instr_echo): Pop the argument


Revision 1337 - Directory Listing
Modified Sun Apr 1 15:02:37 2007 UTC (14 years ago) by gray
Implement loop statement

Revision 1336 - Directory Listing
Modified Sun Apr 1 04:03:41 2007 UTC (14 years ago) by gray
(s_off_cmp): Revert sorting order to match that of heap growth.

Revision 1335 - Directory Listing
Modified Sun Apr 1 01:19:49 2007 UTC (14 years ago) by gray
Minor changes

Revision 1334 - Directory Listing
Modified Sat Mar 31 23:49:32 2007 UTC (14 years ago) by gray
Update

Revision 1333 - Directory Listing
Modified Sat Mar 31 23:44:35 2007 UTC (14 years ago) by gray
Revert stack growth direction. Expand stack as the need arises.

Revision 1332 - Directory Listing
Modified Sat Mar 31 21:25:27 2007 UTC (14 years ago) by gray
(dataseg_layout): Make sure all global variables are subject to final_gc

Revision 1331 - Directory Listing
Modified Sat Mar 31 20:31:40 2007 UTC (14 years ago) by gray
Switch to flat address space model. Data space (and stack) contain
only references to objects within the data space (virtual
addresses), no actual pointers are passed.

* src/snarf.m4 (MF_ALLOC_HEAP, MF_COPY_STRING): Take two arguments
(MF_BEGIN_TEMP_SPACE): Use env_data_ref
(MF_VAR_SET_STRING): New macro
* src/bi_poll.m4, src/bi_string.m4, src/bi_dns.m4, src/bi_spf.m4, 
src/bi_sa.m4, src/bi_vars.m4, src/bi_db.m4: Use new heap
allocation macros.
* src/drivers.c (code_memref, code_type_string): Use opcode_push
(code_type_variable): Remove opcode_svalidate. This time for good
* src/mailfromd.h (env_throw_0): Change signature
* src/prog.c (struct eval_environ.stack): Remove. Use plain
addressing model. All references updated.
(env_reference,env_var_ref): Remove
(heap_reserve_words, heap_reserve): Return offset into the data
space instead of the pointer. All uses updated.
(env_data_ref): New function
* src/opcodes (MEMEXT,MEM,SVALIDATE): Remove
* src/prog.h (env_data_ref): New function
(heap_reserve_words): New function
(heap_reserve): Return size_t
* TODO: Update


Revision 1329 - Directory Listing
Modified Sat Mar 31 17:22:01 2007 UTC (14 years ago) by gray
Use different argument accessors for different argument types

Revision 1328 - Directory Listing
Modified Sat Mar 31 11:46:22 2007 UTC (14 years ago) by gray
(_fixup): Set .compile

Revision 1327 - Directory Listing
Modified Sat Mar 31 11:17:11 2007 UTC (14 years ago) by gray
Update svn:ignore

Revision 1326 - Directory Listing
Modified Sat Mar 31 11:15:08 2007 UTC (14 years ago) by gray
Reverted unintentionally applied changes


Revision 1325 - Directory Listing
Modified Sat Mar 31 11:12:40 2007 UTC (14 years ago) by gray
Update svn:ignore

Revision 1324 - Directory Listing
Modified Sat Mar 31 11:12:00 2007 UTC (14 years ago) by gray
Update svn:ignore

Revision 1323 - Directory Listing
Modified Sat Mar 31 11:04:58 2007 UTC (14 years ago) by gray
Use reserved rt_regex slots for dynamically compiled regular expressions.

Revision 1322 - Directory Listing
Modified Wed Mar 28 18:15:26 2007 UTC (14 years ago) by gray
mtasim supports standard options

Revision 1321 - Directory Listing
Modified Wed Mar 28 18:15:20 2007 UTC (14 years ago) by gray
mtasim supports standard options

Revision 1320 - Directory Listing
Modified Wed Mar 28 17:49:21 2007 UTC (14 years ago) by gray
Update

Revision 1319 - Directory Listing
Modified Wed Mar 28 17:48:38 2007 UTC (14 years ago) by gray
Prepare the instruction set for array data type: remove PUSH_LITERAL,
PUSH_IMMEDIATE, VARIABLE, AUTO, ARG; introduce instead MEM, MEMSTK,
MEMEXT, DEREF; Change semantics of ASGN


Revision 1318 - Directory Listing
Modified Wed Mar 28 13:10:23 2007 UTC (14 years ago) by gray
Update

Revision 1316 - Directory Listing
Modified Wed Mar 28 13:06:50 2007 UTC (14 years ago) by gray
Update

Revision 1315 - Directory Listing
Modified Tue Mar 27 13:22:54 2007 UTC (14 years ago) by gray
Bugfix

Revision 1314 - Directory Listing
Modified Tue Mar 27 12:48:40 2007 UTC (14 years ago) by gray
Reimplement pre-compiled regular expressions

Revision 1313 - Directory Listing
Modified Sat Mar 24 13:53:31 2007 UTC (14 years ago) by gray
Update

Revision 1312 - Directory Listing
Modified Sat Mar 24 13:53:00 2007 UTC (14 years ago) by gray
Update

Revision 1311 - Directory Listing
Modified Sat Mar 24 13:51:54 2007 UTC (14 years ago) by gray
Updat

Revision 1310 - Directory Listing
Modified Sat Mar 24 13:49:30 2007 UTC (14 years ago) by gray
Switch to Autotest based testsuite

Revision 1308 - Directory Listing
Modified Thu Mar 22 12:40:58 2007 UTC (14 years ago) by gray
Remove `next' node type

Revision 1307 - Directory Listing
Modified Thu Mar 22 12:22:01 2007 UTC (14 years ago) by gray
Rework code generation rules

Revision 1305 - Directory Listing
Modified Wed Mar 21 15:31:19 2007 UTC (14 years ago) by gray
New built-in getmx

Revision 1304 - Directory Listing
Modified Wed Mar 21 15:30:46 2007 UTC (14 years ago) by gray
Minor fix

Revision 1303 - Directory Listing
Modified Wed Mar 21 15:30:21 2007 UTC (14 years ago) by gray
(open_connection): Raise mf_url if unknown protocol is specified in the URL.

Revision 1302 - Directory Listing
Modified Wed Mar 21 15:30:06 2007 UTC (14 years ago) by gray
(mx_match): Do not raise exception if mf_not_found is returned.

Revision 1300 - Directory Listing
Modified Tue Mar 20 13:13:59 2007 UTC (14 years ago) by gray
Update

Revision 1299 - Directory Listing
Modified Tue Mar 20 06:31:44 2007 UTC (14 years ago) by gray
(state_parms.types): Fix dimensions

Revision 1298 - Directory Listing
Modified Mon Mar 19 19:22:50 2007 UTC (14 years ago) by gray
Update

Revision 1297 - Directory Listing
Modified Mon Mar 19 19:18:43 2007 UTC (14 years ago) by gray
Implement connect handler. Pass additional argument to envfrom and envrcpt

Revision 1296 - Directory Listing
Modified Mon Mar 19 17:45:49 2007 UTC (14 years ago) by gray
Testsuite uses mtasim instead of sendmail

Revision 1295 - Directory Listing
Modified Mon Mar 19 15:25:14 2007 UTC (14 years ago) by gray
Update

Revision 1294 - Directory Listing
Modified Mon Mar 19 00:13:37 2007 UTC (14 years ago) by gray
Implement db_name

Revision 1293 - Directory Listing
Modified Sun Mar 18 13:36:58 2007 UTC (14 years ago) by gray
Implement `#pragma regex push|pop'

Revision 1292 - Directory Listing
Modified Sun Mar 18 11:09:25 2007 UTC (14 years ago) by gray
	* configure.ac, Makefile.am: Add mflib
	* NEWS: Update

	* mflib: New subdirectory
	* mflib/match_dnsbl.mf, mflib/strip_domain_part.mf,
	mflib/heloarg_test.mf, mflib/is_ip.mf, mflib/safedb.mf,
	mflib/mx.mf, mflib/dns.mf, mflib/revip.mf, mflib/valid_domain.mf,
	mflib/match_rhsbl.mf, mflib/spf.mf, mflib/Makefile.am,
	mflib/match_cidr.mf: New files

	* doc/Makefile.am: Remove extract.awk
	* doc/extract.awk: Remove
	* doc/mailfromd.texi: Update

	* src/symtab.c, src/gram.y, src/mailfromd.h: Implement optional
	arguments for user functions 
	* src/lex.l: Implement #include_once
	* src/prog.c (name_destroy): Free the object
	* src/bi_ipaddr.m4 (match_cidr): Remove. The function is
	implemented in MFL (mflib/match_cidr.mf)

	* testsuite/lib/mailfromd.exp, testsuite/etc/cidr.rc,
	testsuite/etc/catch.rc, testsuite/etc/catch01.rc,
	etc/mailfromd.rc: Use includes when necessary


Revision 1291 - Directory Listing
Modified Sat Mar 17 22:04:08 2007 UTC (14 years, 1 month ago) by gray
	* src/snarf.m4, src/bi_dns.m4, src/bi_dns.m4, src/bi_sa.m4,
	src/bi_other.m4, src/bi_mail.m4, src/bi_db.m4: Use MF_THROW
	instead of MF_CATCH

	* src/gram.y, src/mailfromd.h,  src/prog.c, src/opcodes,
	src/prog.h, TODO: Provide access for outermost auto variables and
	parameters from catch blocks.
	
	* testsuite/etc/hasmx.rc, testsuite/etc/dns.rc: Use primitive_
	functions.


Revision 1290 - Directory Listing
Modified Sat Mar 17 08:11:34 2007 UTC (14 years, 1 month ago) by gray
	* src/lex.l, src/gram.y, src/mailfromd.h, src/prog.c,
	src/opcodes: Implement throw statement 
	* src/bi_dns.m4 (match_cidr): Move into bi_ipaddr.m4
	* src/bi_ipaddr.m4: New module
	* src/Makefile.am: Add bi_ipaddr.m4
	* doc/mailfromd.texi: Initial doc for IP functions
	* NEWS: Update


Revision 1289 - Directory Listing
Modified Thu Mar 15 09:49:56 2007 UTC (14 years, 1 month ago) by gray
	* src/dnsbase.c (comp_pref): Secondary ordering by MX name
	* src/main.c, testsuite/lib/mailfromd.exp, doc/mailfromd.texi:
	Discontinue support for the old semantics of options -c, -l and -L.
	* doc/Makefile.am (check-exceptions): Fix the rule 
	* NEWS: Update


Revision 1287 - Directory Listing
Modified Thu Mar 15 07:40:31 2007 UTC (14 years, 1 month ago) by gray
Minor stylistic and bug fixes

Revision 1286 - Directory Listing
Modified Mon Mar 12 10:03:43 2007 UTC (14 years, 1 month ago) by gray
Update

Revision 1284 - Directory Listing
Modified Fri Mar 9 22:48:28 2007 UTC (14 years, 1 month ago) by gray
Update

Revision 1283 - Directory Listing
Modified Fri Mar 9 10:22:18 2007 UTC (14 years, 1 month ago) by gray
* src/engine.c, src/gram.y, src/mailfromd.h: Implement prog data
* src/mtasim.c: Implement headers
* gacopyz/gacopyz_priv.h, gacopyz/gacopyz.c: Fix processing of
data and eoh
* gacopyz/server.c: Implement most of the stuff


Revision 1282 - Directory Listing
Modified Thu Mar 8 23:32:04 2007 UTC (14 years, 1 month ago) by gray
Implement mail from and rcpt to

Revision 1281 - Directory Listing
Modified Wed Mar 7 17:09:05 2007 UTC (14 years, 1 month ago) by gray
	* src/Makefile.am: Allow to specify the m4 binary.

	* src/prog.c (env_push_string): Use pushs. This makes sure that
	the handler arguments are allocated in heap, which is necessary
	for normal functioning of the gc.
	* src/engine.c (mlfi_body): Pass bodyp as number. This is a
	temporary kludge.
	* testsuite/etc/ack.rc: The above change needs extra 2 words for
	the stack allocation.

	* NEWS: Update


Revision 1274 - Directory Listing
Modified Fri Mar 2 10:39:21 2007 UTC (14 years, 1 month ago) by gray
Update

Revision 1271 - Directory Listing
Modified Fri Mar 2 10:33:51 2007 UTC (14 years, 1 month ago) by gray
Fix builtin context checks and implement the same for functions

Revision 1270 - Directory Listing
Modified Thu Mar 1 23:12:46 2007 UTC (14 years, 1 month ago) by gray
Update svn:ignore

Revision 1269 - Directory Listing
Modified Thu Mar 1 23:08:32 2007 UTC (14 years, 1 month ago) by gray
Start implementing test MTA simulator and Gacopyz server code

Revision 1267 - Directory Listing
Modified Tue Feb 27 10:03:08 2007 UTC (14 years, 1 month ago) by gray
Bugfix

Revision 1266 - Directory Listing
Modified Mon Feb 26 11:55:53 2007 UTC (14 years, 1 month ago) by gray
Update

Revision 1265 - Directory Listing
Modified Wed Feb 21 12:21:01 2007 UTC (14 years, 1 month ago) by gray
Limit include/redirect recursion

Revision 1264 - Directory Listing
Modified Wed Feb 21 10:44:34 2007 UTC (14 years, 1 month ago) by gray
* src/spf.c (spf_data): Add mech
(parse_record): Always allocate expr_space
* src/bi_spf.m4 (update_spf_vars): Bugfix
* src/prog.c (instr_backref): Allow to reference optional groups
* src/Makefile.am (noinst_HEADERS): Add spf.h


Revision 1263 - Directory Listing
Modified Wed Feb 21 08:04:49 2007 UTC (14 years, 1 month ago) by gray
* src/lex.l: New built-in macro __statedir__
* NEWS: Update
* src/mailfrom.h: Finally renamed to 
* src/mailfromd.h: this

Affected files:
	
* src/symtab.c, src/mu_dbm.c, src/engine.c, src/snarf.m4,
src/dnscache.c, src/gram.y, src/dnsbase.c, src/dns.c, src/db.c,
src/spf.c, src/spf.h, src/cache.c, src/optab.opc, src/prog.c,
src/mf-status.mfi, src/main.c, src/Makefile.am, src/rate.c


Revision 1262 - Directory Listing
Modified Tue Feb 20 09:28:00 2007 UTC (14 years, 1 month ago) by gray
src/gram.y (constdecl): Return NULL. Fixes coredump if const is used within a code block.

Revision 1260 - Directory Listing
Modified Mon Feb 19 17:51:21 2007 UTC (14 years, 1 month ago) by gray
* src/mailfrom.h (node_type_noop): New node type
* src/gram.y: Allow declarations of initialized variables.
(print_node) <node_type_return>: Fix coredump on void returns
(optimize_node): Fix coredump on `if 0 <expr>'


Revision 1259 - Directory Listing
Modified Mon Feb 19 17:50:50 2007 UTC (14 years, 1 month ago) by gray
* src/mailfrom.h (node_type_noop): New node type
* src/gram.y: Allow declarations of initialized variables.
(print_node) <node_type_return>: Fix coredump on void returns
(optimize_node): Fix coredump on `if 0 <expr>'


Revision 1258 - Directory Listing
Modified Mon Feb 19 15:12:15 2007 UTC (14 years, 1 month ago) by gray
Minor fixes

Revision 1257 - Directory Listing
Modified Mon Feb 19 12:58:04 2007 UTC (14 years, 1 month ago) by gray
Update

Revision 1256 - Directory Listing
Modified Mon Feb 19 12:57:45 2007 UTC (14 years, 1 month ago) by gray
Change handling of modifiers

Revision 1255 - Directory Listing
Modified Mon Feb 19 10:50:17 2007 UTC (14 years, 1 month ago) by gray
Change calling convention for the interface functions (spf_query_t, spf_answer_t); fix IP address comparisons; implement builtin spf variables

Revision 1254 - Directory Listing
Modified Mon Feb 19 08:12:56 2007 UTC (14 years, 1 month ago) by gray
Syntax cleanup

Revision 1253 - Directory Listing
Modified Sun Feb 18 10:00:21 2007 UTC (14 years, 1 month ago) by gray
Implement all SPF modifiers, improve debugging.

Revision 1252 - Directory Listing
Modified Sat Feb 17 19:52:19 2007 UTC (14 years, 1 month ago) by gray
Implement all SPF mechanisms

Revision 1251 - Directory Listing
Modified Sat Feb 17 14:13:02 2007 UTC (14 years, 1 month ago) by gray
Implement A. Allow mechanisms followed by /

Revision 1250 - Directory Listing
Modified Sat Feb 17 12:56:00 2007 UTC (14 years, 1 month ago) by gray
Begin implementing SPF support

Revision 1248 - Directory Listing
Modified Sun Feb 11 20:22:41 2007 UTC (14 years, 2 months ago) by gray
gacopyz/trans.awk: Always quote /dev/stderr

Revision 1245 - Directory Listing
Modified Thu Feb 8 13:35:37 2007 UTC (14 years, 2 months ago) by gray
Update

Revision 1244 - Directory Listing
Modified Thu Feb 8 13:05:08 2007 UTC (14 years, 2 months ago) by gray
Move version control under SVN. Remove .cvsignore files.

Revision 1243 - Directory Listing
Modified Wed Jan 24 04:46:34 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1242 - Directory Listing
Modified Wed Jan 24 04:46:28 2007 UTC (14 years, 2 months ago) by gray
Change deprecation warning.


Revision 1241 - Directory Listing
Modified Wed Jan 24 02:59:40 2007 UTC (14 years, 2 months ago) by gray
Update copyright statements


Revision 1240 - Directory Listing
Modified Wed Jan 24 02:36:05 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1239 - Directory Listing
Modified Wed Jan 24 02:35:55 2007 UTC (14 years, 2 months ago) by gray
(mailfromd_daemon): Improve logging


Revision 1238 - Directory Listing
Modified Wed Jan 24 02:35:42 2007 UTC (14 years, 2 months ago) by gray
(gacopyz_cleanup_conn): Print debugging message; Do not display spurious 'signal 15' messages


Revision 1237 - Directory Listing
Modified Wed Jan 24 01:59:22 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1236 - Directory Listing
Modified Wed Jan 24 01:58:59 2007 UTC (14 years, 2 months ago) by gray
Hide deprecated command line options


Revision 1235 - Directory Listing
Modified Wed Jan 24 01:32:48 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1234 - Directory Listing
Modified Wed Jan 24 01:32:38 2007 UTC (14 years, 2 months ago) by gray
Use DEFAULT_FROM_ADDRESS


Revision 1233 - Directory Listing
Modified Wed Jan 24 01:32:29 2007 UTC (14 years, 2 months ago) by gray
(DEFAULT_FROM_ADDRESS): New define


Revision 1232 - Directory Listing
Modified Wed Jan 24 01:32:18 2007 UTC (14 years, 2 months ago) by gray
(builtin_post_setup): Use string_alloc to allocate literals


Revision 1231 - Directory Listing
Modified Wed Jan 24 01:07:48 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1230 - Directory Listing
Modified Wed Jan 24 01:07:32 2007 UTC (14 years, 2 months ago) by gray
 (scan_code): Remove special handling for xlat(s)


Revision 1229 - Directory Listing
Modified Wed Jan 24 01:07:18 2007 UTC (14 years, 2 months ago) by gray
(XLAT, XLATS): instruction data has 2 words


Revision 1228 - Directory Listing
Modified Wed Jan 24 01:07:08 2007 UTC (14 years, 2 months ago) by gray
(struct switch_stmt): Additional fields to help code generation


Revision 1227 - Directory Listing
Modified Wed Jan 24 01:06:56 2007 UTC (14 years, 2 months ago) by gray
Store xlat tables in the data segment.


Revision 1226 - Directory Listing
Modified Tue Jan 23 23:00:08 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1225 - Directory Listing
Modified Tue Jan 23 22:59:36 2007 UTC (14 years, 2 months ago) by gray
(struct optab): New data type
(scan_code): New function
(prog): extern decl


Revision 1224 - Directory Listing
Modified Tue Jan 23 22:59:14 2007 UTC (14 years, 2 months ago) by gray
(prog): Remove static qualifier
(code_op): New function
(dump_*): Change number of arguments
(optab,find_op): Remove
(dump_code): Rewrite using scan_code
(fixup_code): New function
(print_code): Rewrite using dump_code


Revision 1223 - Directory Listing
Modified Tue Jan 23 22:58:52 2007 UTC (14 years, 2 months ago) by gray
Indicate c mode for emacs.


Revision 1222 - Directory Listing
Modified Tue Jan 23 22:58:34 2007 UTC (14 years, 2 months ago) by gray
(main): Call fixup code


Revision 1221 - Directory Listing
Modified Tue Jan 23 22:58:17 2007 UTC (14 years, 2 months ago) by gray
(instr_*): Remove prototypes.
 (code_op, fixup_code): New prototypes.


Revision 1220 - Directory Listing
Modified Tue Jan 23 22:57:51 2007 UTC (14 years, 2 months ago) by gray
Use code_op instead of code_instr


Revision 1219 - Directory Listing
Modified Tue Jan 23 22:57:34 2007 UTC (14 years, 2 months ago) by gray
Add optab.opc, optab.oph, opcode.awk


Revision 1218 - Directory Listing
Modified Mon Jan 22 12:57:11 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1217 - Directory Listing
Modified Mon Jan 22 12:57:04 2007 UTC (14 years, 2 months ago) by gray
Print informative warning messages where (pragma or command line option) ehlo or mailfrom is used


Revision 1216 - Directory Listing
Modified Mon Jan 22 12:56:51 2007 UTC (14 years, 2 months ago) by gray
(parse_warning,parse_warning_locus): New functions


Revision 1215 - Directory Listing
Modified Mon Jan 22 12:56:37 2007 UTC (14 years, 2 months ago) by gray
Use parse_warning where appropriate


Revision 1214 - Directory Listing
Modified Mon Jan 22 12:56:26 2007 UTC (14 years, 2 months ago) by gray
Remove pragma option mailfrom and ehlo


Revision 1213 - Directory Listing
Modified Sun Jan 21 21:30:48 2007 UTC (14 years, 2 months ago) by gray
(smtp_domain,postmaster_email): Remove
--ehlo and --mailfrom deprecated


Revision 1212 - Directory Listing
Modified Sun Jan 21 21:29:45 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1211 - Directory Listing
Modified Sun Jan 21 20:01:14 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1210 - Directory Listing
Modified Sun Jan 21 20:00:49 2007 UTC (14 years, 2 months ago) by gray
Update invocations of mailfromd


Revision 1209 - Directory Listing
Modified Sun Jan 21 20:00:38 2007 UTC (14 years, 2 months ago) by gray
(union symentry): Remove v.db
(free_symbols): New function
(db_format_install, db_format_lookup): Remove. Reimplement in db.c


Revision 1208 - Directory Listing
Modified Sun Jan 21 20:00:25 2007 UTC (14 years, 2 months ago) by gray
minor fixes


Revision 1207 - Directory Listing
Modified Sun Jan 21 20:00:07 2007 UTC (14 years, 2 months ago) by gray
(options, parse_opt): New option -v
(mailfromd_expire, mailfromd_compact)
(mailfromd_show_defaults): Use db_format_enumerate instead of
symbol_enumerate
(main): Free symbol and string space after compiling the script.


Revision 1206 - Directory Listing
Modified Sun Jan 21 19:59:44 2007 UTC (14 years, 2 months ago) by gray
(struct old_header_node.name): const
(SYM_DB_FORMAT): Remove macro
(free_symbols,defer_initialize_variable,free_string_space)
(db_format_enumerate): New functions.


Revision 1205 - Directory Listing
Modified Sun Jan 21 19:59:21 2007 UTC (14 years, 2 months ago) by gray
(free_string_space, mf_strdup): New functions


Revision 1204 - Directory Listing
Modified Sun Jan 21 19:59:12 2007 UTC (14 years, 2 months ago) by gray
Provide for deferred variable initialization (to initialize variables from the command line).


Revision 1203 - Directory Listing
Modified Sun Jan 21 19:58:51 2007 UTC (14 years, 2 months ago) by gray
(MLFIPRIV): Remove unused macro. Use gacopyz_calls instead of smfi_ ones, except for initialization functions


Revision 1202 - Directory Listing
Modified Sun Jan 21 19:58:15 2007 UTC (14 years, 2 months ago) by gray
(_resolve_ipstr): Always copy ipstr to namebuf


Revision 1201 - Directory Listing
Modified Sun Jan 21 19:58:03 2007 UTC (14 years, 2 months ago) by gray
(db_format_enumerate, db_format_install)
(db_format_lookup): New functions


Revision 1200 - Directory Listing
Modified Sun Jan 21 19:57:47 2007 UTC (14 years, 2 months ago) by gray
Minor fixes.


Revision 1199 - Directory Listing
Modified Sun Jan 21 19:57:36 2007 UTC (14 years, 2 months ago) by gray
(gacopyz_setpriv, gacopyz_getpriv): New functions.


Revision 1198 - Directory Listing
Modified Sun Jan 21 19:57:19 2007 UTC (14 years, 2 months ago) by gray
(smfi_setpriv, smfi_getpriv): Rename to gacopyz_*


Revision 1197 - Directory Listing
Modified Fri Jan 19 17:48:03 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1196 - Directory Listing
Modified Fri Jan 19 17:47:56 2007 UTC (14 years, 2 months ago) by gray
(struct optab): Fix opname for instr_asgn
(env_final_gc): Bugfix


Revision 1195 - Directory Listing
Modified Fri Jan 19 12:08:45 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1194 - Directory Listing
Modified Fri Jan 19 09:25:24 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1193 - Directory Listing
Modified Fri Jan 19 09:25:04 2007 UTC (14 years, 2 months ago) by gray
(instr_variable): Print more trace info
(instr_svalidate): Restore - synch with 3.1 branch.


Revision 1192 - Directory Listing
Modified Fri Jan 19 09:24:51 2007 UTC (14 years, 2 months ago) by gray
(main): Remove call to builtin_post_setup.


Revision 1191 - Directory Listing
Modified Fri Jan 19 09:24:28 2007 UTC (14 years, 2 months ago) by gray
Warn about legacy constant usage only once
Implement #error.


Revision 1190 - Directory Listing
Modified Fri Jan 19 09:24:11 2007 UTC (14 years, 2 months ago) by gray
(asgn:): Remove erroneous flag assignement
(branch:): Warn about legacy constant usage only once
(LOCUS_EQ): Moved to mailfrom.h
(code_node): Restore svalidate - synch with 3.1 branch.
Call MARK_LOCUS under node_type_result


Revision 1189 - Directory Listing
Modified Fri Jan 19 09:23:20 2007 UTC (14 years, 2 months ago) by gray
(check-exceptions): Fix rule


Revision 1188 - Directory Listing
Modified Thu Jan 18 10:28:14 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1187 - Directory Listing
Modified Thu Jan 18 10:28:02 2007 UTC (14 years, 2 months ago) by gray
(struct stmtlist): New data type


Revision 1186 - Directory Listing
Modified Thu Jan 18 10:27:51 2007 UTC (14 years, 2 months ago) by gray
Do not compile autogenerated functions at once.
Expand unprefixed named constants only when a value is expected


Revision 1185 - Directory Listing
Modified Wed Jan 17 15:55:25 2007 UTC (14 years, 2 months ago) by gray
Update


Revision 1184 - Directory Listing
Modified Wed Jan 17 15:55:20 2007 UTC (14 years, 2 months ago) by gray
Update include path


Revision 1183 - Directory Listing
Modified Wed Jan 17 15:55:08 2007 UTC (14 years, 2 months ago) by gray
Include <status.mfh>, do not use &const.


Revision 1182 - Directory Listing
Modified Wed Jan 17 15:54:49 2007 UTC (14 years, 2 months ago) by gray
(post_parse): Remove


Revision 1181 - Directory Listing
Modified Wed Jan 17 15:54:40 2007 UTC (14 years, 2 months ago) by gray
(string_off,string_count): Removed. Relocation table is used instead.


Revision 1180 - Directory Listing
Modified Wed Jan 17 15:54:27 2007 UTC (14 years, 2 months ago) by gray
(lex_setup): Change default include path
Issue deprecation warning if &const is used.
Allow to use constants both in the program text and in literals


Revision 1179 - Directory Listing
Modified Wed Jan 17 15:54:05 2007 UTC (14 years, 2 months ago) by gray
(string: STRING): Fix incorrect argument to parse_error
(parse_program): Remove call to post_parse
(branch: WHEN): Issue deprecation warning if &const is used.
(string_to_stat, mf_status_str): Defined in separate source


Revision 1178 - Directory Listing
Modified Wed Jan 17 15:53:45 2007 UTC (14 years, 2 months ago) by gray
(mf_resolve): Rename to mf_noresolve


Revision 1177 - Directory Listing
Modified Wed Jan 17 15:53:36 2007 UTC (14 years, 2 months ago) by gray
*** empty log message ***


Revision 1176 - Directory Listing
Modified Wed Jan 17 15:53:20 2007 UTC (14 years, 2 months ago) by gray
(status.mfh, mf-status.c): New built sources


Revision 1175 - Directory Listing
Modified Wed Jan 17 15:53:11 2007 UTC (14 years, 2 months ago) by gray
Raise patchlevel to 91


Revision 1174 - Directory Listing
Modified Mon Jan 15 11:22:46 2007 UTC (14 years, 3 months ago) by gray
Update copyright year


Revision 1173 - Directory Listing
Modified Sun Jan 14 14:14:27 2007 UTC (14 years, 3 months ago) by gray
Store  locus.file in the dataseg


Revision 1172 - Directory Listing
Modified Sun Jan 14 13:40:36 2007 UTC (14 years, 3 months ago) by gray
Update


Revision 1171 - Directory Listing
Modified Sun Jan 14 13:40:19 2007 UTC (14 years, 3 months ago) by gray
Minor change


Revision 1170 - Directory Listing
Modified Sun Jan 14 13:39:14 2007 UTC (14 years, 3 months ago) by gray
Implement const declarations


Revision 1169 - Directory Listing
Modified Sat Jan 13 13:43:58 2007 UTC (14 years, 3 months ago) by gray
Update


Revision 1168 - Directory Listing
Modified Sat Jan 13 13:43:06 2007 UTC (14 years, 3 months ago) by gray
(string_alloc,string_finish): Return literal


Revision 1167 - Directory Listing
Modified Sat Jan 13 13:42:58 2007 UTC (14 years, 3 months ago) by gray
Use literals instead of string pointers.
Each string reference in the resulting program should point
within the current stack or data space (except for the values of
Sendmail macros).


Revision 1166 - Directory Listing
Modified Sat Jan 13 13:42:12 2007 UTC (14 years, 3 months ago) by gray
(builtin_post_setup): Change initialization of ehlo_domain and mailfrom_address.


Revision 1165 - Directory Listing
Modified Sat Jan 13 13:41:56 2007 UTC (14 years, 3 months ago) by gray
Minor fixes


Revision 1164 - Directory Listing
Modified Sat Jan 13 13:41:14 2007 UTC (14 years, 3 months ago) by gray
(VBUFSIZE): Rename to GACOPYZ_VBUFSIZE
(format_vbuf): Rename to gacopyz_format_vbuf; make extern


Revision 1163 - Directory Listing
Modified Sat Jan 13 13:40:59 2007 UTC (14 years, 3 months ago) by gray
(GACOPYZ_VBUFSIZE): New define
(gacopyz_format_vbuf): New decl


Revision 1162 - Directory Listing
Modified Fri Jan 5 23:45:55 2007 UTC (14 years, 3 months ago) by gray
Update


Revision 1161 - Directory Listing
Modified Fri Jan 5 23:45:30 2007 UTC (14 years, 3 months ago) by gray
(B2STACK): New macro (moved from prog.c)
(variable_declared_p,declare_variable): Removed
(ensure_initialized_variable): New function
(dataseg,datasize,dataseg_reloc,dataseg_reloc_count): New externs


Revision 1160 - Directory Listing
Modified Fri Jan 5 23:45:12 2007 UTC (14 years, 3 months ago) by gray
Redo data segment initialization and handling.
(dataseg,datasize,dataseg_reloc,dataseg_reloc_count): New
variables.
(struct eval_environ.var): Rename to dataseg.


Revision 1159 - Directory Listing
Modified Fri Jan 5 23:44:52 2007 UTC (14 years, 3 months ago) by gray
Put string values initially assigned to the
variables into the data segment. Redo its planning.
Process only variables marked as volatile (built-in) or as
referenced.
(builtin_variable_install): Initialize flags.
(vardecl): Remove initialization of var->off
(externdecl): Change declaration.
(initialize_variable,ensure_initialized_variable)
(dataseg_layout): New functions


Revision 1158 - Directory Listing
Modified Fri Jan 5 23:44:12 2007 UTC (14 years, 3 months ago) by gray
(builtin_post_setup): Change initialization of ehlo_domain and mailfrom_address built-in variables.


Revision 1157 - Directory Listing
Modified Thu Jan 4 08:41:08 2007 UTC (14 years, 3 months ago) by gray
Update


Revision 1156 - Directory Listing
Modified Thu Jan 4 08:40:08 2007 UTC (14 years, 3 months ago) by gray
Add new testcase


Revision 1155 - Directory Listing
Modified Thu Jan 4 08:39:45 2007 UTC (14 years, 3 months ago) by gray
(init_variable): New function
(variable_install): Use init_variable
(variable_replace): New function


Revision 1154 - Directory Listing
Modified Thu Jan 4 08:39:24 2007 UTC (14 years, 3 months ago) by gray
(enum lexical_context): New data type.
(struct catch_node.context): New field
(struct progdecl, struct funcdecl): New data types.
(enum node_type): Add new types: node_type_funcdecl and
node_type_progdecl.
(struct node.v): New members progdecl and funcdecl
(VAR_REFERENCED): New macros
(struct variable): New fields next and owner
(variable_replace): New function


Revision 1153 - Directory Listing
Modified Thu Jan 4 08:38:50 2007 UTC (14 years, 3 months ago) by gray
New keyword `const'.
(parse_error,parse_error_locus): Increase buffer size to 512.


Revision 1152 - Directory Listing
Modified Thu Jan 4 08:38:33 2007 UTC (14 years, 3 months ago) by gray
First build the entire tree, than compile it at
once.
Fix varaible shadowing.
Reorganize lexical tie-ins.


Revision 1151 - Directory Listing
Modified Thu Jan 4 08:38:01 2007 UTC (14 years, 3 months ago) by gray
(smtp_last_received): Remove superfluous
conditional
(method_strict,method_standard): Set last_poll_* variables to "",
not NULL


Revision 1144 - Directory Listing
Modified Wed Dec 27 12:41:43 2006 UTC (14 years, 3 months ago) by gray
Update


Revision 1143 - Directory Listing
Modified Wed Dec 27 12:41:06 2006 UTC (14 years, 3 months ago) by gray
Fix typo


Revision 1142 - Directory Listing
Modified Mon Dec 25 21:19:18 2006 UTC (14 years, 3 months ago) by gray
Update


Revision 1141 - Directory Listing
Modified Mon Dec 25 21:15:24 2006 UTC (14 years, 3 months ago) by gray
 (option_deprecated): mark as warning


Revision 1140 - Directory Listing
Modified Mon Dec 25 21:15:15 2006 UTC (14 years, 3 months ago) by gray
(check_on_host): Issue RSET if the previous MAIL FROM returned 4xx
(mlfi_helo): Push malloced copy of helohost


Revision 1139 - Directory Listing
Modified Mon Dec 25 21:14:50 2006 UTC (14 years, 3 months ago) by gray
(unfold) new function


Revision 1138 - Directory Listing
Modified Mon Dec 25 21:14:33 2006 UTC (14 years, 3 months ago) by gray
Do not quote DEFAULT_LOG_FACILITY


Revision 1137 - Directory Listing
Modified Thu Dec 21 09:39:08 2006 UTC (14 years, 3 months ago) by gray
Update


Revision 1136 - Directory Listing
Modified Thu Dec 21 09:38:56 2006 UTC (14 years, 3 months ago) by gray
(message_header_decode, message_header_encode): New functions.


Revision 1135 - Directory Listing
Modified Fri Dec 15 14:59:09 2006 UTC (14 years, 4 months ago) by gray
(resolve_ipstr_domain): New function


Revision 1134 - Directory Listing
Modified Fri Dec 15 14:58:53 2006 UTC (14 years, 4 months ago) by gray
Allow `==' as well as `='


Revision 1133 - Directory Listing
Modified Fri Dec 15 14:58:34 2006 UTC (14 years, 4 months ago) by gray
(is_ipaddr): Stricter check
(struct loop_data.atype): New member
(cnameloop): Return the type of obtained answer in atype
(_resolve_ipstr): Additional argument: domain to look up into. If
not NULL, the ipstr is not reversed
(resolve_ipstr_domain): New function
(resolve_ipstr): Rewrite using resolve_ipstr_domain
(_resolve_hostname): Convert IP to string if gotten T_A. All
callers updated.


Revision 1132 - Directory Listing
Modified Fri Dec 15 14:58:08 2006 UTC (14 years, 4 months ago) by gray
(resolve): Take an optional second argument


Revision 1131 - Directory Listing
Modified Fri Dec 15 14:57:58 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1130 - Directory Listing
Modified Fri Dec 15 09:11:31 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1129 - Directory Listing
Modified Fri Dec 15 09:10:32 2006 UTC (14 years, 4 months ago) by gray
Capitalize diagnostics messages


Revision 1128 - Directory Listing
Modified Fri Dec 15 08:23:05 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1127 - Directory Listing
Modified Fri Dec 15 08:10:28 2006 UTC (14 years, 4 months ago) by gray
(switch_to_privs): Refuse to run as root


Revision 1126 - Directory Listing
Modified Fri Dec 15 08:00:30 2006 UTC (14 years, 4 months ago) by gray
Fix typo


Revision 1125 - Directory Listing
Modified Thu Dec 14 17:08:06 2006 UTC (14 years, 4 months ago) by gray
(main): Set log_facility


Revision 1124 - Directory Listing
Modified Thu Dec 14 17:07:58 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1123 - Directory Listing
Modified Thu Dec 14 17:07:51 2006 UTC (14 years, 4 months ago) by gray
New configuration variable DEFAULT_LOG_FACILITY


Revision 1122 - Directory Listing
Modified Thu Dec 14 12:57:58 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1121 - Directory Listing
Modified Thu Dec 14 12:57:29 2006 UTC (14 years, 4 months ago) by gray
Revert accidental commit


Revision 1120 - Directory Listing
Modified Thu Dec 14 12:57:13 2006 UTC (14 years, 4 months ago) by gray
Fix the previous patch


Revision 1119 - Directory Listing
Modified Thu Dec 14 12:18:37 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1118 - Directory Listing
Modified Thu Dec 14 08:46:15 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1117 - Directory Listing
Modified Thu Dec 14 08:46:02 2006 UTC (14 years, 4 months ago) by gray
Allow any amount of whitespace between the function name and the opening parenthesis.


Revision 1116 - Directory Listing
Modified Wed Dec 13 12:10:59 2006 UTC (14 years, 4 months ago) by gray
Synchronization with 3.1 branch


Revision 1105 - Directory Listing
Modified Sun Dec 10 10:10:39 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1104 - Directory Listing
Modified Sun Dec 10 10:10:25 2006 UTC (14 years, 4 months ago) by gray
(get_rate): Bug fix: attempt to free auto storage


Revision 1103 - Directory Listing
Modified Sun Dec 10 10:10:08 2006 UTC (14 years, 4 months ago) by gray
(install-data-local): Rename leftover MAILFROMSTATEDIR


Revision 1100 - Directory Listing
Modified Thu Dec 7 13:05:07 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1099 - Directory Listing
Modified Thu Dec 7 08:37:30 2006 UTC (14 years, 4 months ago) by gray
Version 3.1


Revision 1098 - Directory Listing
Modified Wed Dec 6 20:21:23 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1097 - Directory Listing
Modified Wed Dec 6 20:17:59 2006 UTC (14 years, 4 months ago) by gray
Finished docs for 3.1


Revision 1096 - Directory Listing
Modified Wed Dec 6 20:17:20 2006 UTC (14 years, 4 months ago) by gray
Update patchlevel


Revision 1095 - Directory Listing
Modified Wed Dec 6 14:48:06 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1094 - Directory Listing
Modified Wed Dec 6 14:47:38 2006 UTC (14 years, 4 months ago) by gray
Fix overfull hblock


Revision 1093 - Directory Listing
Modified Wed Dec 6 14:47:11 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1092 - Directory Listing
Modified Wed Dec 6 14:47:00 2006 UTC (14 years, 4 months ago) by gray
Almost finished


Revision 1091 - Directory Listing
Modified Wed Dec 6 14:46:46 2006 UTC (14 years, 4 months ago) by gray
Handle @multitable blocks.  Print a diagnostic message if some other function is required


Revision 1090 - Directory Listing
Modified Wed Dec 6 14:46:26 2006 UTC (14 years, 4 months ago) by gray
(extract): Handle include dependencies


Revision 1089 - Directory Listing
Modified Wed Dec 6 14:46:10 2006 UTC (14 years, 4 months ago) by gray
Mark comparison operators as nonassoc


Revision 1088 - Directory Listing
Modified Wed Dec 6 14:45:55 2006 UTC (14 years, 4 months ago) by gray
(resolve): Return "0" if the argument is not resolved.


Revision 1087 - Directory Listing
Modified Wed Dec 6 14:45:29 2006 UTC (14 years, 4 months ago) by gray
(MAILFROMSTATEDIR): Rename to DEFAULT_STATE_DIR


Revision 1086 - Directory Listing
Modified Tue Dec 5 21:35:11 2006 UTC (14 years, 4 months ago) by gray
Remove extra space


Revision 1085 - Directory Listing
Modified Tue Dec 5 21:35:05 2006 UTC (14 years, 4 months ago) by gray
(print_locus): Bugfix


Revision 1084 - Directory Listing
Modified Tue Dec 5 21:34:52 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1083 - Directory Listing
Modified Tue Dec 5 21:34:19 2006 UTC (14 years, 4 months ago) by gray
Minor change


Revision 1082 - Directory Listing
Modified Tue Dec 5 14:23:24 2006 UTC (14 years, 4 months ago) by gray
Minor fix


Revision 1081 - Directory Listing
Modified Tue Dec 5 14:19:07 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1080 - Directory Listing
Modified Tue Dec 5 14:18:50 2006 UTC (14 years, 4 months ago) by gray
Allow hex numbers to be prefixed with 0X as well.


Revision 1079 - Directory Listing
Modified Tue Dec 5 14:18:33 2006 UTC (14 years, 4 months ago) by gray
Remove -c option. Remove the inconsistent usage of config_ prefix.


Revision 1078 - Directory Listing
Modified Tue Dec 5 14:17:53 2006 UTC (14 years, 4 months ago) by gray
(builtin.h): Depend on M4_FILES


Revision 1077 - Directory Listing
Modified Tue Dec 5 14:17:40 2006 UTC (14 years, 4 months ago) by gray
Do not use obsolete -c option to mailfromd


Revision 1076 - Directory Listing
Modified Tue Dec 5 14:17:17 2006 UTC (14 years, 4 months ago) by gray
Consistently use `filter script' instead of
`configuration file'.  Add some missing information.


Revision 1075 - Directory Listing
Modified Tue Dec 5 14:16:41 2006 UTC (14 years, 4 months ago) by gray
(EXTRA_DIST): Add untabify.el
(check-format,untabify,final): New targets


Revision 1074 - Directory Listing
Modified Tue Dec 5 14:16:27 2006 UTC (14 years, 4 months ago) by gray
*** empty log message ***


Revision 1073 - Directory Listing
Modified Mon Dec 4 20:53:13 2006 UTC (14 years, 4 months ago) by gray
Fix changecom


Revision 1072 - Directory Listing
Modified Mon Dec 4 20:36:24 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1071 - Directory Listing
Modified Mon Dec 4 20:36:08 2006 UTC (14 years, 4 months ago) by gray
Use "mailer" capability


Revision 1070 - Directory Listing
Modified Mon Dec 4 20:35:55 2006 UTC (14 years, 4 months ago) by gray
Add bi_mail.m4


Revision 1069 - Directory Listing
Modified Mon Dec 4 15:06:04 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1068 - Directory Listing
Modified Mon Dec 4 15:01:31 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1067 - Directory Listing
Modified Mon Dec 4 15:01:22 2006 UTC (14 years, 4 months ago) by gray
Implement bitwise operations


Revision 1066 - Directory Listing
Modified Mon Dec 4 15:01:06 2006 UTC (14 years, 4 months ago) by gray
Accept C-like notations for hex and octal numbers.


Revision 1065 - Directory Listing
Modified Mon Dec 4 15:00:56 2006 UTC (14 years, 4 months ago) by gray
Implement bitwise operators: &, |, ^, ~
Implicit declarations within functions create automatic
variables.


Revision 1064 - Directory Listing
Modified Mon Dec 4 15:00:37 2006 UTC (14 years, 4 months ago) by gray
(get_mx_records): Use resolve_ipstr to resolve IP addresses.


Revision 1063 - Directory Listing
Modified Mon Dec 4 10:18:13 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1062 - Directory Listing
Modified Mon Dec 4 10:18:04 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1061 - Directory Listing
Modified Mon Dec 4 10:17:57 2006 UTC (14 years, 4 months ago) by gray
New file


Revision 1060 - Directory Listing
Modified Mon Dec 4 10:15:14 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1059 - Directory Listing
Modified Mon Dec 4 10:15:06 2006 UTC (14 years, 4 months ago) by gray
Remove conditional


Revision 1058 - Directory Listing
Modified Mon Dec 4 10:14:57 2006 UTC (14 years, 4 months ago) by gray
(start_daemon,mailfromd_exec): Add -I option


Revision 1057 - Directory Listing
Modified Mon Dec 4 10:14:46 2006 UTC (14 years, 4 months ago) by gray
Remove :RCDIR instruction


Revision 1056 - Directory Listing
Modified Mon Dec 4 10:14:36 2006 UTC (14 years, 4 months ago) by gray
Include config.rc


Revision 1055 - Directory Listing
Modified Mon Dec 4 10:14:23 2006 UTC (14 years, 4 months ago) by gray
Add config.rc, remove greylist.rc


Revision 1054 - Directory Listing
Modified Mon Dec 4 10:14:15 2006 UTC (14 years, 4 months ago) by gray
(RCFILES): Add config.in.  Replace
greylist.in with greylist.rc
(noinst_DATA, CLEANFILES): Add config.rc, remove greylist.rc


Revision 1053 - Directory Listing
Modified Mon Dec 4 10:13:59 2006 UTC (14 years, 4 months ago) by gray
Replace greylist.in with greylist.rc


Revision 1052 - Directory Listing
Modified Mon Dec 4 10:12:38 2006 UTC (14 years, 4 months ago) by gray
New option -I (--include)


Revision 1051 - Directory Listing
Modified Mon Dec 4 10:12:29 2006 UTC (14 years, 4 months ago) by gray
(add_include_dir): New proto.


Revision 1050 - Directory Listing
Modified Mon Dec 4 10:12:19 2006 UTC (14 years, 4 months ago) by gray
Implement search path for include files


Revision 1049 - Directory Listing
Modified Mon Dec 4 10:12:08 2006 UTC (14 years, 4 months ago) by gray
(dns_cache_get): Do not log error message if the
file does not exist.
Make sure rc is meaningful
(dns_cache_put): Free temporary storage


Revision 1048 - Directory Listing
Modified Mon Dec 4 10:11:50 2006 UTC (14 years, 4 months ago) by gray
(print_status): Log normal child exits at SMI_LOG_INFO priority


Revision 1047 - Directory Listing
Modified Mon Dec 4 10:11:37 2006 UTC (14 years, 4 months ago) by gray
There's no use to pass MAILFROMSTATEDIR and DEFAULT_SOCKET in config.h, revert to the prior scheme


Revision 1046 - Directory Listing
Modified Mon Dec 4 00:18:15 2006 UTC (14 years, 4 months ago) by gray
Fix changecom


Revision 1045 - Directory Listing
Modified Sun Dec 3 23:44:03 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1044 - Directory Listing
Modified Sun Dec 3 23:42:52 2006 UTC (14 years, 4 months ago) by gray
[!USE_DBM]: Remove.  DBM is now required


Revision 1043 - Directory Listing
Modified Sun Dec 3 23:42:17 2006 UTC (14 years, 4 months ago) by gray
(AM_CPPFLAGS): Remove extra defines.  These are now passed via config.h


Revision 1042 - Directory Listing
Modified Sun Dec 3 23:41:42 2006 UTC (14 years, 4 months ago) by gray
Refuse to build without DBM.
Pass all default values via config.h
Print configuration summary at the end of the run.


Revision 1041 - Directory Listing
Modified Sun Dec 3 21:56:21 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1040 - Directory Listing
Modified Sun Dec 3 21:55:35 2006 UTC (14 years, 4 months ago) by gray
Add dns.exp


Revision 1039 - Directory Listing
Modified Sun Dec 3 21:55:25 2006 UTC (14 years, 4 months ago) by gray
(db_format_enumerator): Handle special cases for `database dns'


Revision 1038 - Directory Listing
Modified Sun Dec 3 21:55:14 2006 UTC (14 years, 4 months ago) by gray
(pragma_database): Handle special cases for `database dns'


Revision 1037 - Directory Listing
Modified Sun Dec 3 21:54:44 2006 UTC (14 years, 4 months ago) by gray
(dns_cache_put): Fix calculation of the expiration date for negative records.
(dns_cache_format_struct): Use DEFAULT_DNS_NEGATIVE_EXPIRE_INTERVAL


Revision 1036 - Directory Listing
Modified Sun Dec 3 21:54:06 2006 UTC (14 years, 4 months ago) by gray
(getmx,resolve_ipstr,resolve_hostname): Enable negative caching


Revision 1035 - Directory Listing
Modified Sun Dec 3 21:53:46 2006 UTC (14 years, 4 months ago) by gray
(AM_CPPFLAGS): Define DEFAULT_DNS_NEGATIVE_EXPIRE_INTERVAL


Revision 1034 - Directory Listing
Modified Sun Dec 3 21:53:01 2006 UTC (14 years, 4 months ago) by gray
Define DEFAULT_DNS_NEGATIVE_EXPIRE_INTERVAL


Revision 1033 - Directory Listing
Modified Sun Dec 3 21:52:41 2006 UTC (14 years, 4 months ago) by gray
(alpha,alphacheck): New rules


Revision 1032 - Directory Listing
Modified Sun Dec 3 20:15:05 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1031 - Directory Listing
Modified Sun Dec 3 20:14:29 2006 UTC (14 years, 4 months ago) by gray
Document the dns database.


Revision 1030 - Directory Listing
Modified Sun Dec 3 09:31:16 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1029 - Directory Listing
Modified Sun Dec 3 09:30:50 2006 UTC (14 years, 4 months ago) by gray
*** empty log message ***


Revision 1028 - Directory Listing
Modified Sun Dec 3 09:29:12 2006 UTC (14 years, 4 months ago) by gray
(RCFILES): Add dns.rc


Revision 1027 - Directory Listing
Modified Sun Dec 3 09:28:55 2006 UTC (14 years, 4 months ago) by gray
New test case


Revision 1026 - Directory Listing
Modified Sun Dec 3 09:28:37 2006 UTC (14 years, 4 months ago) by gray
(struct eval_environ.dict): Remove. All uses updated.


Revision 1025 - Directory Listing
Modified Sun Dec 3 09:28:25 2006 UTC (14 years, 4 months ago) by gray
(host_in_relayed_domain_p): Rewrite using new
resolve_ipstr
(db_format_setup): Initialize dns_cache_format


Revision 1024 - Directory Listing
Modified Sun Dec 3 09:27:46 2006 UTC (14 years, 4 months ago) by gray
(resolve_ipstr): Change prototype
(resolve_hostname): New function
(DEFAULT_DNS_DATABASE): New define
(dns_cache_get,dns_cache_put): New functions


Revision 1023 - Directory Listing
Modified Sun Dec 3 09:27:20 2006 UTC (14 years, 4 months ago) by gray
Rewrite using global cache
 (resolve_hostname): New function
(resolve_ipstr): Change signature


Revision 1022 - Directory Listing
Modified Sun Dec 3 09:27:05 2006 UTC (14 years, 4 months ago) by gray
Rewrite using new dns functions


Revision 1021 - Directory Listing
Modified Sun Dec 3 09:26:53 2006 UTC (14 years, 4 months ago) by gray
Add dnscache.c


Revision 1020 - Directory Listing
Modified Sun Dec 3 09:26:46 2006 UTC (14 years, 4 months ago) by gray
New file


Revision 1019 - Directory Listing
Modified Sun Dec 3 09:26:25 2006 UTC (14 years, 4 months ago) by gray
(MI_TIMEOUT): Rename to GACOPYZ_TIMEOUT
(mi_uint32_t): Rename to gacopyz_uint32_t
Set gacopyz_uint32_t based on the result of a configure check
(MILTER_OPTLEN): Rename to GACOPYZ_OPTLEN


Revision 1018 - Directory Listing
Modified Sun Dec 3 09:25:58 2006 UTC (14 years, 4 months ago) by gray
(noinst_PROGRAMS): Remove


Revision 1017 - Directory Listing
Modified Sun Dec 3 09:25:37 2006 UTC (14 years, 4 months ago) by gray
Check for unsigned 32-bit integer type


Revision 1016 - Directory Listing
Modified Fri Dec 1 05:05:37 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1015 - Directory Listing
Modified Fri Dec 1 05:05:32 2006 UTC (14 years, 4 months ago) by gray
(env_final_gc): Free temporary storagee before returning.


Revision 1014 - Directory Listing
Modified Thu Nov 30 21:37:27 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1013 - Directory Listing
Modified Thu Nov 30 21:37:22 2006 UTC (14 years, 4 months ago) by gray
Raise patchlevel to 92


Revision 1012 - Directory Listing
Modified Thu Nov 30 21:36:26 2006 UTC (14 years, 4 months ago) by gray
(mlfi_envrcpt): print entire argument array in debug level 70


Revision 1011 - Directory Listing
Modified Thu Nov 30 18:24:48 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1010 - Directory Listing
Modified Thu Nov 30 18:24:31 2006 UTC (14 years, 4 months ago) by gray
(debug macros): Rewritten


Revision 1009 - Directory Listing
Modified Thu Nov 30 18:24:18 2006 UTC (14 years, 4 months ago) by gray
(mlfi_envfrom): print entire argument array in debug level 70


Revision 1008 - Directory Listing
Modified Wed Nov 29 16:08:34 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1007 - Directory Listing
Modified Wed Nov 29 16:08:27 2006 UTC (14 years, 4 months ago) by gray
(print_node): Handle nonprintable characters in strings.


Revision 1006 - Directory Listing
Modified Wed Nov 29 16:08:13 2006 UTC (14 years, 4 months ago) by gray
Minor change


Revision 1005 - Directory Listing
Modified Wed Nov 29 15:30:49 2006 UTC (14 years, 4 months ago) by gray
Add a comment


Revision 1003 - Directory Listing
Modified Wed Nov 29 14:09:01 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 1002 - Directory Listing
Modified Wed Nov 29 14:04:03 2006 UTC (14 years, 4 months ago) by gray
(post_parse): New proto


Revision 1001 - Directory Listing
Modified Wed Nov 29 14:03:54 2006 UTC (14 years, 4 months ago) by gray
Implement simple GC for compacting the heap space.


Revision 1000 - Directory Listing
Modified Wed Nov 29 14:03:46 2006 UTC (14 years, 4 months ago) by gray
New option --xref (--dump-xref)


Revision 999 - Directory Listing
Modified Wed Nov 29 14:03:36 2006 UTC (14 years, 4 months ago) by gray
(struct variable): New member xref.
(env_final_gc): New proto.


Revision 998 - Directory Listing
Modified Wed Nov 29 14:03:27 2006 UTC (14 years, 4 months ago) by gray
Implement cross-reference listing.


Revision 997 - Directory Listing
Modified Wed Nov 29 14:03:20 2006 UTC (14 years, 4 months ago) by gray
(method_standard): Fix the call to set_last_poll_result.


Revision 996 - Directory Listing
Modified Wed Nov 29 14:03:11 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 995 - Directory Listing
Modified Tue Nov 28 19:36:06 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 994 - Directory Listing
Modified Tue Nov 28 19:35:49 2006 UTC (14 years, 4 months ago) by gray
(instr_retcatch): Call env_leave_frame with nargs=1
(env_catch pushes one argument.)
(env_init): Remove initializatio of toh
(create_environment): Initialize toh here (see the comment).


Revision 993 - Directory Listing
Modified Tue Nov 28 19:35:28 2006 UTC (14 years, 4 months ago) by gray
Minor indentation fix


Revision 992 - Directory Listing
Modified Tue Nov 28 13:47:35 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 991 - Directory Listing
Modified Tue Nov 28 13:47:27 2006 UTC (14 years, 4 months ago) by gray
(optab): Add missing entry (NEG)


Revision 990 - Directory Listing
Modified Tue Nov 28 13:47:19 2006 UTC (14 years, 4 months ago) by gray
(parse_error_locus): Bugfix


Revision 989 - Directory Listing
Modified Tue Nov 28 13:47:07 2006 UTC (14 years, 4 months ago) by gray
(copy_node): New function
(print_node): Print "STRING" for node_type_string
(optimize_arith): Immediate calculations if one of the arguments
is 0 or 1. Side effect: catches all types of division by zero
errors.
(optimize_node): Optimize concatenations with an empty string
(codegen): Do not attempt to generate code if the optimization
resulted in errors.


Revision 988 - Directory Listing
Modified Tue Nov 28 13:17:16 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 987 - Directory Listing
Modified Tue Nov 28 13:17:06 2006 UTC (14 years, 4 months ago) by gray
(eval_environment): Prevent coredumps on invalid PC values.


Revision 986 - Directory Listing
Modified Tue Nov 28 13:16:23 2006 UTC (14 years, 4 months ago) by gray
Fix indentation


Revision 985 - Directory Listing
Modified Tue Nov 28 07:12:42 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 984 - Directory Listing
Modified Tue Nov 28 07:11:43 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 983 - Directory Listing
Modified Tue Nov 28 07:11:30 2006 UTC (14 years, 4 months ago) by gray
(disable_prog_trace): Rename to cancel_program_trace


Revision 982 - Directory Listing
Modified Tue Nov 28 07:09:05 2006 UTC (14 years, 4 months ago) by gray
(MF_RETURN_TEMP_SPACE): Bugfix - call
heap_fix_tempspace.
Take an optional argument specifying the size of the data stored
in the temporary memory.


Revision 981 - Directory Listing
Modified Tue Nov 28 07:08:43 2006 UTC (14 years, 4 months ago) by gray
(bi_strftime): Call MF_RETURN_TEMP_SPACE with an argument.


Revision 980 - Directory Listing
Modified Mon Nov 27 18:24:30 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 979 - Directory Listing
Modified Mon Nov 27 18:24:14 2006 UTC (14 years, 4 months ago) by gray
Assume C comments


Revision 978 - Directory Listing
Modified Mon Nov 27 18:23:27 2006 UTC (14 years, 4 months ago) by gray
Change to new tracing scheme


Revision 977 - Directory Listing
Modified Mon Nov 27 18:23:13 2006 UTC (14 years, 4 months ago) by gray
(disable_prog_trace,debug_level_p,enable_debug)
(enable_debug_list,disable_debug_list): New functions
The option --debug can take a comma-separated list of debug
specifications.
The option --trace-program takes as an optional argument a
comma-separated list of modules to trace


Revision 976 - Directory Listing
Modified Mon Nov 27 18:21:50 2006 UTC (14 years, 4 months ago) by gray
(__DBG): Change definition
(enable_module_trace,disable_module_trace,enable_prog_trace)
(disable_prog_trace,debug_level_p,enable_debug)
(enable_debug_list,disable_debug_list): New functions
(prog_trace_option): Remove declaration


Revision 975 - Directory Listing
Modified Mon Nov 27 18:21:16 2006 UTC (14 years, 4 months ago) by gray
Use MF_INIT without arguments


Revision 974 - Directory Listing
Modified Mon Nov 27 18:20:37 2006 UTC (14 years, 4 months ago) by gray
(noinst_HEADERS,EXTRA_DIST,BUILT_SOURCES): Add
builtin.h, builtin.def, init.m4
(.def.h): New rule


Revision 973 - Directory Listing
Modified Mon Nov 27 18:18:48 2006 UTC (14 years, 4 months ago) by gray
New file


Revision 972 - Directory Listing
Modified Sat Nov 25 19:08:13 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 971 - Directory Listing
Modified Sat Nov 25 19:07:58 2006 UTC (14 years, 4 months ago) by gray
(instr_symbol): Return the value using pushs, not push.


Revision 970 - Directory Listing
Modified Sat Nov 25 18:51:30 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 969 - Directory Listing
Modified Sat Nov 25 18:50:38 2006 UTC (14 years, 4 months ago) by gray
Allow constant expressions in top-level set statements.


Revision 968 - Directory Listing
Modified Sat Nov 25 18:50:23 2006 UTC (14 years, 4 months ago) by gray
(system): Return exit code of the executed
command.


Revision 967 - Directory Listing
Modified Sat Nov 25 18:50:10 2006 UTC (14 years, 4 months ago) by gray
Throw exception after closing the db
 (dbdel): New function


Revision 966 - Directory Listing
Modified Sat Nov 25 18:47:33 2006 UTC (14 years, 4 months ago) by gray
*** empty log message ***


Revision 965 - Directory Listing
Modified Fri Nov 24 16:27:36 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 964 - Directory Listing
Modified Fri Nov 24 16:27:26 2006 UTC (14 years, 4 months ago) by gray
(MF_BEGIN_TEMP_SPACE,MF_END_TEMP_SPACE,MF_RETURN_TEMP_SPACE): New macros


Revision 963 - Directory Listing
Modified Fri Nov 24 16:27:16 2006 UTC (14 years, 4 months ago) by gray
(heap_max_tempspace, heap_fix_tempspace): New functions.


Revision 962 - Directory Listing
Modified Fri Nov 24 16:27:04 2006 UTC (14 years, 4 months ago) by gray
Fix handling of escape sequences at the beginning of
a string and before the beginning of an interpreted sequence
within the string.


Revision 961 - Directory Listing
Modified Fri Nov 24 16:26:44 2006 UTC (14 years, 4 months ago) by gray
(strftime): New function


Revision 960 - Directory Listing
Modified Fri Nov 24 10:36:36 2006 UTC (14 years, 4 months ago) by gray
Various fixes


Revision 959 - Directory Listing
Modified Fri Nov 24 08:42:44 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 958 - Directory Listing
Modified Fri Nov 24 08:42:32 2006 UTC (14 years, 4 months ago) by gray
Add new tests


Revision 957 - Directory Listing
Modified Fri Nov 24 08:42:14 2006 UTC (14 years, 4 months ago) by gray
(remove_symbol): Fix assertion


Revision 956 - Directory Listing
Modified Fri Nov 24 08:42:01 2006 UTC (14 years, 4 months ago) by gray
Handle zero argument count correctly


Revision 955 - Directory Listing
Modified Fri Nov 24 08:41:26 2006 UTC (14 years, 4 months ago) by gray
(BUILTIN_P,FUNCTION_P): New tokens
(IDENT}/"("): New rule


Revision 954 - Directory Listing
Modified Fri Nov 24 08:41:10 2006 UTC (14 years, 4 months ago) by gray
(codegen): Two more arguments
(forget_autos): Take number of parameters as an argument.
Clear auto_list
(BUILTIN_P): Renamed to BUILTIN_PROC
(FUNCTION_P): Renamed to FUNCTION_PROC
(BUILTIN_P,FUNCTION_P): New tokens. Lowest precedence
Fix code generation for function arguments and the precedence of
function or built-in calls without parens


Revision 953 - Directory Listing
Modified Fri Nov 24 08:40:44 2006 UTC (14 years, 4 months ago) by gray
(time): New built-in


Revision 952 - Directory Listing
Modified Fri Nov 24 08:40:33 2006 UTC (14 years, 4 months ago) by gray
(dbmap_lookup): Defval can be NULL
Make sure returned string is null-terminated
(dbput): New built-in function


Revision 951 - Directory Listing
Modified Wed Nov 22 23:07:37 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 950 - Directory Listing
Modified Wed Nov 22 23:07:03 2006 UTC (14 years, 4 months ago) by gray
(va_builtin_install_ex): Bugfix
(variable_install, function_install): Init all members


Revision 949 - Directory Listing
Modified Wed Nov 22 23:06:37 2006 UTC (14 years, 4 months ago) by gray
(MF_DECLARE_DATA,MF_GET_DATA): New macros


Revision 948 - Directory Listing
Modified Wed Nov 22 23:06:28 2006 UTC (14 years, 4 months ago) by gray
(env_get_builtin_priv,builtin_priv_register, error_count): New declaration


Revision 947 - Directory Listing
Modified Wed Nov 22 23:06:16 2006 UTC (14 years, 4 months ago) by gray
Keep builtin-specific private data in struct
eval_environ.
(builtin_priv_register,env_get_builtin_priv): New functions
(builtin_setup): Call system_init_builtin and io_init_builtin


Revision 946 - Directory Listing
Modified Wed Nov 22 23:05:48 2006 UTC (14 years, 4 months ago) by gray
(mf_ioerr): New exception


Revision 945 - Directory Listing
Modified Wed Nov 22 23:05:32 2006 UTC (14 years, 4 months ago) by gray
New tokens FUNCTION_P and BUILTIN_P
(parse_error,parse_error_locus): Increment error_count unless fmt
begins with `warning:'.


Revision 944 - Directory Listing
Modified Wed Nov 22 23:05:13 2006 UTC (14 years, 4 months ago) by gray
Modify error handling and proccall production. Get rid of svalidate.


Revision 943 - Directory Listing
Modified Wed Nov 22 23:04:34 2006 UTC (14 years, 4 months ago) by gray
Add bi_io.m4 and bi_system.m4


Revision 942 - Directory Listing
Modified Tue Nov 21 13:21:52 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 941 - Directory Listing
Modified Tue Nov 21 13:21:43 2006 UTC (14 years, 4 months ago) by gray
svalidate is not needed any more (I hope)


Revision 940 - Directory Listing
Modified Tue Nov 21 13:21:25 2006 UTC (14 years, 4 months ago) by gray
Document pragma stacksize


Revision 939 - Directory Listing
Modified Tue Nov 21 08:52:21 2006 UTC (14 years, 4 months ago) by gray
Fix the precedence of function calls and boolean negation.


Revision 938 - Directory Listing
Modified Mon Nov 20 22:00:30 2006 UTC (14 years, 4 months ago) by gray
Add strings.exp


Revision 937 - Directory Listing
Modified Mon Nov 20 21:58:49 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 936 - Directory Listing
Modified Mon Nov 20 21:58:32 2006 UTC (14 years, 4 months ago) by gray
New file


Revision 935 - Directory Listing
Modified Mon Nov 20 21:58:16 2006 UTC (14 years, 4 months ago) by gray
(RCFILES): Add strings.rc


Revision 934 - Directory Listing
Modified Mon Nov 20 21:58:09 2006 UTC (14 years, 4 months ago) by gray
(MF_VAR): Set VAR_VOLATILE by default


Revision 933 - Directory Listing
Modified Mon Nov 20 21:57:50 2006 UTC (14 years, 4 months ago) by gray
(dump_asgn): Bugfix


Revision 932 - Directory Listing
Modified Mon Nov 20 21:57:27 2006 UTC (14 years, 4 months ago) by gray
(node_type_auto): Remove, node_type_variable does
the job
(VAR_VOLATILE,VAR_EXTERN): New defines (for future use)
(struct variable): New member flags.


Revision 931 - Directory Listing
Modified Mon Nov 20 21:57:06 2006 UTC (14 years, 4 months ago) by gray
Rewrite expression rules to properly handle
concatenations and to reduce the number of conflicts.
Compute automatic and parameter offsets locally
Rewrite optimizer.


Revision 930 - Directory Listing
Modified Mon Nov 20 21:56:36 2006 UTC (14 years, 4 months ago) by gray
(toupper, tolower): Fix return type
declarations
(substr,rindex): Fix bugs


Revision 929 - Directory Listing
Modified Mon Nov 20 21:56:22 2006 UTC (14 years, 4 months ago) by gray
(dbmap_lookup): Avoid needless memory allocation


Revision 928 - Directory Listing
Modified Mon Nov 20 21:56:10 2006 UTC (14 years, 4 months ago) by gray
Document string and db functions


Revision 927 - Directory Listing
Modified Sat Nov 18 14:32:27 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 926 - Directory Listing
Modified Sat Nov 18 14:29:33 2006 UTC (14 years, 4 months ago) by gray
New file


Revision 925 - Directory Listing
Modified Sat Nov 18 14:15:04 2006 UTC (14 years, 4 months ago) by gray
Update


Revision 924 - Directory Listing
Modified Sat Nov 18 14:14:43 2006 UTC (14 years, 4 months ago) by gray
Use xmalloc instead of emalloc
(emalloc): Remove
(find_and_remove): Fix coredump


Revision 923 - Directory Listing
Modified Sat Nov 18 14:14:30 2006 UTC (14 years, 4 months ago) by gray
Handle OPTIONAL keyword
(MF_ALLOC_HEAP_TEMP): New macro


Revision 922 - Directory Listing
Modified Sat Nov 18 14:14:17 2006 UTC (14 years, 4 months ago) by gray
(heap_tempspace): New function


Revision 921 - Directory Listing
Modified Sat Nov 18 14:14:02 2006 UTC (14 years, 4 months ago) by gray
Include xalloc.h
(struct builtin): New member optcount
(va_builtin_install_ex): take 8 mandatory arguments
(emalloc): Remove
(heap_tempspace): New function


Revision 920 - Directory Listing
Modified Sat Nov 18 14:13:44 2006 UTC (14 years, 4 months ago) by gray
Hanlde optional arguments to built-ins
Use xmalloc instead of emalloc


Revision 919 - Directory Listing
Modified Sat Nov 18 14:13:28 2006 UTC (14 years, 4 months ago) by gray
Use xmalloc instead of emalloc
(xalloc_die): New function


Revision 918 - Directory Listing
Modified Sat Nov 18 14:13:03 2006 UTC (14 years, 4 months ago) by gray
Use xmalloc instead of emalloc


Revision 917 - Directory Listing
Modified Sat Nov 18 14:12:41 2006 UTC (14 years, 4 months ago) by gray
(substr): New function


Revision 916 - Directory Listing
Modified Sat Nov 18 14:12:31 2006 UTC (14 years, 4 months ago) by gray
(dbmap): Take an optional third argument.
(dbget): New built-in


Revision 915 - Directory Listing
Modified Sat Nov 18 14:12:12 2006 UTC (14 years, 4 months ago) by gray
Create MAILFROMSTATEDIR with the right privileges.


Revision 914 - Directory Listing
Modified Sat Nov 18 14:11:41 2006 UTC (14 years, 4 months ago) by gray
(INITIAL-RESPONSE-TIMEOUT): Update.


Revision 913 - Directory Listing
Modified Tue Nov 14 14:49:19 2006 UTC (14 years, 5 months ago) by gray
Bugfix


Revision 912 - Directory Listing
Modified Tue Nov 14 13:54:30 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 911 - Directory Listing
Modified Tue Nov 14 13:54:20 2006 UTC (14 years, 5 months ago) by gray
Bug fixes


Revision 910 - Directory Listing
Modified Tue Nov 14 13:37:43 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 909 - Directory Listing
Modified Tue Nov 14 13:37:33 2006 UTC (14 years, 5 months ago) by gray
New option -O (--optimize)


Revision 908 - Directory Listing
Modified Tue Nov 14 13:37:25 2006 UTC (14 years, 5 months ago) by gray
Export string functions from lex.l


Revision 907 - Directory Listing
Modified Tue Nov 14 13:37:17 2006 UTC (14 years, 5 months ago) by gray
Export string functions


Revision 906 - Directory Listing
Modified Tue Nov 14 13:37:07 2006 UTC (14 years, 5 months ago) by gray
Implement code optimization


Revision 905 - Directory Listing
Modified Tue Nov 14 13:36:52 2006 UTC (14 years, 5 months ago) by gray
Document -O option


Revision 904 - Directory Listing
Modified Tue Nov 14 13:36:41 2006 UTC (14 years, 5 months ago) by gray
Raise version to 3.0.91


Revision 902 - Directory Listing
Modified Tue Nov 14 08:59:29 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 901 - Directory Listing
Modified Tue Nov 14 08:58:29 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 900 - Directory Listing
Modified Tue Nov 14 08:58:21 2006 UTC (14 years, 5 months ago) by gray
Add macros.exp


Revision 899 - Directory Listing
Modified Tue Nov 14 08:57:52 2006 UTC (14 years, 5 months ago) by gray
New test case


Revision 898 - Directory Listing
Modified Tue Nov 14 08:57:38 2006 UTC (14 years, 5 months ago) by gray
Use full type names


Revision 897 - Directory Listing
Modified Tue Nov 14 08:57:28 2006 UTC (14 years, 5 months ago) by gray
(RCFILES): Add macros.rc


Revision 896 - Directory Listing
Modified Tue Nov 14 08:57:17 2006 UTC (14 years, 5 months ago) by gray
New file


Revision 895 - Directory Listing
Modified Tue Nov 14 08:57:04 2006 UTC (14 years, 5 months ago) by gray
(function_name): New function


Revision 894 - Directory Listing
Modified Tue Nov 14 08:56:51 2006 UTC (14 years, 5 months ago) by gray
New built-in macros


Revision 893 - Directory Listing
Modified Tue Nov 14 08:56:43 2006 UTC (14 years, 5 months ago) by gray
 Document built-in macros


Revision 892 - Directory Listing
Modified Tue Nov 14 08:56:34 2006 UTC (14 years, 5 months ago) by gray
Define split version


Revision 891 - Directory Listing
Modified Mon Nov 13 21:39:24 2006 UTC (14 years, 5 months ago) by gray
Fix typo


Revision 890 - Directory Listing
Modified Mon Nov 13 21:33:51 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 889 - Directory Listing
Modified Mon Nov 13 21:32:58 2006 UTC (14 years, 5 months ago) by gray
*** empty log message ***


Revision 888 - Directory Listing
Modified Mon Nov 13 21:17:53 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 887 - Directory Listing
Modified Mon Nov 13 21:17:31 2006 UTC (14 years, 5 months ago) by gray
(decode_debug): Remove legacy handling of `cdyl'
flags.


Revision 886 - Directory Listing
Modified Mon Nov 13 21:17:03 2006 UTC (14 years, 5 months ago) by gray
Remove legacy handling for `rate'
New keywords __file__, __line__ and __function__


Revision 885 - Directory Listing
Modified Mon Nov 13 21:16:32 2006 UTC (14 years, 5 months ago) by gray
Remove legacy handling for `rate'
(function_name): New function


Revision 884 - Directory Listing
Modified Mon Nov 13 21:15:54 2006 UTC (14 years, 5 months ago) by gray
Document `echo' statement


Revision 881 - Directory Listing
Modified Mon Nov 13 16:18:35 2006 UTC (14 years, 5 months ago) by gray
update


Revision 880 - Directory Listing
Modified Mon Nov 13 16:18:20 2006 UTC (14 years, 5 months ago) by gray
(numrcpt): Removed


Revision 879 - Directory Listing
Modified Sun Nov 12 10:04:11 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 878 - Directory Listing
Modified Sun Nov 12 09:08:34 2006 UTC (14 years, 5 months ago) by gray
Add


Revision 877 - Directory Listing
Modified Sun Nov 12 09:07:44 2006 UTC (14 years, 5 months ago) by gray
Make sure symbol table entries do not change their
address during rehashing


Revision 876 - Directory Listing
Modified Sun Nov 12 09:07:28 2006 UTC (14 years, 5 months ago) by gray
Allow for auto variables in handlers
(print_node): Print variable offset with SET
(forget_autos): Use find_and_remove to remove the variable from
the symtab


Revision 875 - Directory Listing
Modified Sun Nov 12 09:06:35 2006 UTC (14 years, 5 months ago) by gray
Rewrite function examples using the new style


Revision 874 - Directory Listing
Modified Sun Nov 12 09:05:58 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 873 - Directory Listing
Modified Sat Nov 11 21:31:37 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 872 - Directory Listing
Modified Sat Nov 11 21:31:19 2006 UTC (14 years, 5 months ago) by gray
Make sure N in $N is positive


Revision 871 - Directory Listing
Modified Sat Nov 11 21:31:12 2006 UTC (14 years, 5 months ago) by gray
Implement automatic variables


Revision 870 - Directory Listing
Modified Sat Nov 11 18:14:55 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 869 - Directory Listing
Modified Sat Nov 11 18:14:37 2006 UTC (14 years, 5 months ago) by gray
(remove_symbol): Split in two functions.
(variable_remove): New function


Revision 868 - Directory Listing
Modified Sat Nov 11 18:14:22 2006 UTC (14 years, 5 months ago) by gray
(storage_class_t): New type
(struct variable): New members: storage_class, locus, shadowed
(variable_remove): New function


Revision 867 - Directory Listing
Modified Sat Nov 11 18:14:04 2006 UTC (14 years, 5 months ago) by gray
Implement named function parameters and the framework for automatic variables.


Revision 866 - Directory Listing
Modified Sat Nov 11 09:11:31 2006 UTC (14 years, 5 months ago) by gray
(remove_symbol): Fix typo


Revision 865 - Directory Listing
Modified Fri Nov 10 21:49:09 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 864 - Directory Listing
Modified Fri Nov 10 21:48:10 2006 UTC (14 years, 5 months ago) by gray
Make sure the test works offline


Revision 863 - Directory Listing
Modified Fri Nov 10 21:47:52 2006 UTC (14 years, 5 months ago) by gray
(remove_symbol): New function


Revision 862 - Directory Listing
Modified Fri Nov 10 21:47:38 2006 UTC (14 years, 5 months ago) by gray
(MF_RETURN, MF_RETURN_STRING, MF_ALLOC_HEAP, MF_VAR_INC, MF_COPY_STRING,MF_VAR_REF): New defines
(MF_VAR): Declare offset as static


Revision 861 - Directory Listing
Modified Fri Nov 10 21:47:20 2006 UTC (14 years, 5 months ago) by gray
(env_var_inc, variable_declared_p,declare_variable): New decls


Revision 860 - Directory Listing
Modified Fri Nov 10 21:46:59 2006 UTC (14 years, 5 months ago) by gray
(env_var_inc): New function
(struct declvar): Replace var with name and off.  It is not safe
to keep the address of the variable as it can change during
rehashing of the symtable
(find_declared_variable): Replace with variable_declared_p
(rcpt_count_loc,ehlo_domain_var,mailfrom_address_var): Remove
(get_rcpt_count,clear_rcpt_count,incr_rcpt_count)
(bi_numrcpt,builtin_post_setup): Move to bi_vars.m4


Revision 859 - Directory Listing
Modified Fri Nov 10 21:46:24 2006 UTC (14 years, 5 months ago) by gray
(declare_numeric_variable,declare_string_variable): Remove


Revision 858 - Directory Listing
Modified Fri Nov 10 21:46:01 2006 UTC (14 years, 5 months ago) by gray
(ctx_getsym): use gacopyz_setreply


Revision 857 - Directory Listing
Modified Fri Nov 10 21:45:47 2006 UTC (14 years, 5 months ago) by gray
Replace calls to declare_string_variable and declare_numeric_variable with declare_variable
(code_node): Fix coredump if node==NULL


Revision 856 - Directory Listing
Modified Fri Nov 10 21:45:20 2006 UTC (14 years, 5 months ago) by gray
Use MF_RETURN, MF_RETURN_STRING, MF_VAR_REF, et al


Revision 855 - Directory Listing
Modified Fri Nov 10 21:44:56 2006 UTC (14 years, 5 months ago) by gray
(M4_FILES): Add bi_vars.m4
(mailfromd_SOURCES): Remove ml.c


Revision 854 - Directory Listing
Modified Fri Nov 10 21:44:36 2006 UTC (14 years, 5 months ago) by gray
*** empty log message ***


Revision 853 - Directory Listing
Modified Fri Nov 10 21:44:07 2006 UTC (14 years, 5 months ago) by gray
build the targets inconditionally


Revision 852 - Directory Listing
Modified Fri Nov 10 21:43:41 2006 UTC (14 years, 5 months ago) by gray
Remove legacy section


Revision 851 - Directory Listing
Modified Fri Nov 10 16:54:53 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 850 - Directory Listing
Modified Fri Nov 10 16:54:09 2006 UTC (14 years, 5 months ago) by gray
Incorporate changes from 3.0 branch


Revision 849 - Directory Listing
Modified Fri Nov 10 16:53:55 2006 UTC (14 years, 5 months ago) by gray
Update to match recent changes (string is a keyword)


Revision 848 - Directory Listing
Modified Fri Nov 10 16:53:43 2006 UTC (14 years, 5 months ago) by gray
Update to match recent changes


Revision 847 - Directory Listing
Modified Fri Nov 10 16:53:31 2006 UTC (14 years, 5 months ago) by gray
New rules for returning TYPE


Revision 846 - Directory Listing
Modified Fri Nov 10 16:53:22 2006 UTC (14 years, 5 months ago) by gray
Control types during tree generation
Start implementing strict type checking and the new way of
declaring function parameters and return types. Implement
functions without return value (procedures).


Revision 845 - Directory Listing
Modified Fri Nov 10 16:52:47 2006 UTC (14 years, 5 months ago) by gray
Use the new way of declaring MF variables.


Revision 844 - Directory Listing
Modified Fri Nov 10 16:52:16 2006 UTC (14 years, 5 months ago) by gray
(MF_VAR): New macro
(__mf_argtype,mf_typelist): Change expansion according to mailfrom.h


Revision 829 - Directory Listing
Modified Wed Nov 8 18:41:26 2006 UTC (14 years, 5 months ago) by gray
Fix typo


Revision 820 - Directory Listing
Modified Wed Nov 8 18:10:58 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 819 - Directory Listing
Modified Wed Nov 8 18:10:54 2006 UTC (14 years, 5 months ago) by gray
 Fix version: 3.0.90 (3.0.1 is moved to bug-fixing branch)


Revision 818 - Directory Listing
Modified Wed Nov 8 17:58:44 2006 UTC (14 years, 5 months ago) by gray
Use catch/assert macros.


Revision 817 - Directory Listing
Modified Wed Nov 8 17:58:14 2006 UTC (14 years, 5 months ago) by gray
(MF_CATCH, MF_CATCH_VAL, MF_ASSERT): New macros


Revision 816 - Directory Listing
Modified Wed Nov 8 17:57:55 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 815 - Directory Listing
Modified Wed Nov 8 17:57:50 2006 UTC (14 years, 5 months ago) by gray
(struct function): Remove misleading comment


Revision 814 - Directory Listing
Modified Wed Nov 8 17:57:42 2006 UTC (14 years, 5 months ago) by gray
New token type PROCEDURE


Revision 813 - Directory Listing
Modified Wed Nov 8 17:57:28 2006 UTC (14 years, 5 months ago) by gray
(function_call): New function
Allow functions returning unspecified (procedures) to be used as
statements


Revision 812 - Directory Listing
Modified Wed Nov 8 17:57:13 2006 UTC (14 years, 5 months ago) by gray
(parse_state_arg): Bugfix: do not reuse parsing buffer!


Revision 811 - Directory Listing
Modified Wed Nov 8 17:57:01 2006 UTC (14 years, 5 months ago) by gray
(mailfromd_stop): Fix arithmetical expression syntax


Revision 810 - Directory Listing
Modified Wed Nov 8 17:56:45 2006 UTC (14 years, 5 months ago) by gray
Raise version number to 3.0.1


Revision 809 - Directory Listing
Modified Tue Nov 7 10:33:50 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 808 - Directory Listing
Modified Tue Nov 7 10:33:44 2006 UTC (14 years, 5 months ago) by gray
Update FIXME-xref.


Revision 807 - Directory Listing
Modified Tue Nov 7 09:28:22 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 806 - Directory Listing
Modified Tue Nov 7 09:28:15 2006 UTC (14 years, 5 months ago) by gray
(mu_dbm_open) [WITH_GDBM]: Use GDBM_NOLOCK, as we do the locking ourselves


Revision 805 - Directory Listing
Modified Mon Nov 6 15:51:53 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 804 - Directory Listing
Modified Mon Nov 6 15:51:45 2006 UTC (14 years, 5 months ago) by gray
Put back the changes, only make sure the leading white space is properly stripped off the argument.c


Revision 803 - Directory Listing
Modified Mon Nov 6 15:51:15 2006 UTC (14 years, 5 months ago) by gray
Fix multiple from address handling


Revision 802 - Directory Listing
Modified Mon Nov 6 12:32:26 2006 UTC (14 years, 5 months ago) by gray
(opton_ehlo): Adjust for changes in option mailfrom syntax


Revision 801 - Directory Listing
Modified Mon Nov 6 12:32:05 2006 UTC (14 years, 5 months ago) by gray
(pragma_option): Undo the change from 2006-10-30.


Revision 798 - Directory Listing
Modified Mon Nov 6 08:30:12 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 797 - Directory Listing
Modified Mon Nov 6 08:21:28 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 796 - Directory Listing
Modified Mon Nov 6 08:20:55 2006 UTC (14 years, 5 months ago) by gray
Update copyright year


Revision 795 - Directory Listing
Modified Sun Nov 5 13:43:13 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 794 - Directory Listing
Modified Sun Nov 5 13:40:03 2006 UTC (14 years, 5 months ago) by gray
New file


Revision 793 - Directory Listing
Modified Sun Nov 5 13:36:50 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 792 - Directory Listing
Modified Sun Nov 5 13:34:53 2006 UTC (14 years, 5 months ago) by gray
Finish changes for 3.0


Revision 791 - Directory Listing
Modified Sun Nov 5 13:34:43 2006 UTC (14 years, 5 months ago) by gray
(function-begin, function-end): Remove macros
(example-output): New macro


Revision 790 - Directory Listing
Modified Sun Nov 5 13:34:06 2006 UTC (14 years, 5 months ago) by gray
New file


Revision 789 - Directory Listing
Modified Sun Nov 5 13:31:35 2006 UTC (14 years, 5 months ago) by gray
(mailfromd_TEXINFOS): Add gacopyz.texi
(EXTRA_DIST): Add extract.awk
(extract): New rule


Revision 788 - Directory Listing
Modified Sun Nov 5 13:31:21 2006 UTC (14 years, 5 months ago) by gray
(gacopyz_cleanup_conn): Ignore SIGTERM while stopping children.


Revision 787 - Directory Listing
Modified Sun Nov 5 13:31:09 2006 UTC (14 years, 5 months ago) by gray
(gacopyz_handle_connection): Reset SIGTERM and SIGHUP in child.


Revision 786 - Directory Listing
Modified Sun Nov 5 13:30:55 2006 UTC (14 years, 5 months ago) by gray
Install mailfromd in sbin


Revision 785 - Directory Listing
Modified Sun Nov 5 13:30:47 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 784 - Directory Listing
Modified Sun Nov 5 13:30:40 2006 UTC (14 years, 5 months ago) by gray
Set the version number to 3.0
(dropping libmilter support calls for raising the major number).


Revision 783 - Directory Listing
Modified Sat Nov 4 13:50:16 2006 UTC (14 years, 5 months ago) by gray
 (ctx_read,ctx_write): Return immediately on timeout and eof.


Revision 782 - Directory Listing
Modified Sat Nov 4 13:50:03 2006 UTC (14 years, 5 months ago) by gray
New option `macros'.


Revision 781 - Directory Listing
Modified Sat Nov 4 13:49:51 2006 UTC (14 years, 5 months ago) by gray
Add missing documentation


Revision 780 - Directory Listing
Modified Sat Nov 4 13:49:42 2006 UTC (14 years, 5 months ago) by gray
(function-begin,function-end): New macros


Revision 779 - Directory Listing
Modified Sat Nov 4 13:49:31 2006 UTC (14 years, 5 months ago) by gray
(check-pragmas): Minor change


Revision 778 - Directory Listing
Modified Sat Nov 4 13:49:22 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 777 - Directory Listing
Modified Fri Nov 3 18:40:43 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 776 - Directory Listing
Modified Fri Nov 3 18:40:36 2006 UTC (14 years, 5 months ago) by gray
(check_portspec): Minor fix: no use to make sp
static.
(mailfromd_daemon): Stop on SIGTERM, SIGQUIT, SIGHUP and SIGINT.
Finally!


Revision 775 - Directory Listing
Modified Fri Nov 3 18:40:16 2006 UTC (14 years, 5 months ago) by gray
Do not keep the list of children. gacopyz_cleanup_children now does the housekeeping job.


Revision 774 - Directory Listing
Modified Fri Nov 3 18:40:00 2006 UTC (14 years, 5 months ago) by gray
(gacopyz_cleanup_children): Change signature


Revision 773 - Directory Listing
Modified Fri Nov 3 18:39:49 2006 UTC (14 years, 5 months ago) by gray
(gacopyz_run): Update invocation of gacopyz_cleanup_children.


Revision 772 - Directory Listing
Modified Fri Nov 3 18:39:34 2006 UTC (14 years, 5 months ago) by gray
New command 'configtest' (proposed by Jan)


Revision 771 - Directory Listing
Modified Fri Nov 3 15:57:56 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 770 - Directory Listing
Modified Fri Nov 3 15:57:47 2006 UTC (14 years, 5 months ago) by gray
(smfilter): Set child start handler


Revision 769 - Directory Listing
Modified Fri Nov 3 15:22:28 2006 UTC (14 years, 5 months ago) by gray
Fix conditionals for definition of res_n* wrappers.


Revision 768 - Directory Listing
Modified Fri Nov 3 15:22:17 2006 UTC (14 years, 5 months ago) by gray
Remove any references to libmilter


Revision 767 - Directory Listing
Modified Fri Nov 3 15:22:08 2006 UTC (14 years, 5 months ago) by gray
Warn if libmilter is requested


Revision 766 - Directory Listing
Modified Fri Nov 3 15:22:01 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 765 - Directory Listing
Modified Fri Nov 3 15:01:29 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 764 - Directory Listing
Modified Fri Nov 3 15:01:20 2006 UTC (14 years, 5 months ago) by gray
Define wrappers for phread and res_n* functions,if necessary


Revision 763 - Directory Listing
Modified Fri Nov 3 15:01:01 2006 UTC (14 years, 5 months ago) by gray
(on pollstmt do branches): Fix passing of arguments to the built-in poller


Revision 762 - Directory Listing
Modified Fri Nov 3 15:00:46 2006 UTC (14 years, 5 months ago) by gray
Replace pthread-specific calls with macro wrappers


Revision 761 - Directory Listing
Modified Fri Nov 3 15:00:38 2006 UTC (14 years, 5 months ago) by gray
Fix trace output (AS part)


Revision 760 - Directory Listing
Modified Fri Nov 3 15:00:30 2006 UTC (14 years, 5 months ago) by gray
(macro_assoc_free): Initialize macro_assoc_t fields to NULL


Revision 759 - Directory Listing
Modified Fri Nov 3 15:00:21 2006 UTC (14 years, 5 months ago) by gray
Autodetect the presence of res_n* functions
Define HAVE_PTHREAD if we need to use libpthread


Revision 758 - Directory Listing
Modified Fri Nov 3 13:13:18 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 757 - Directory Listing
Modified Fri Nov 3 13:12:44 2006 UTC (14 years, 5 months ago) by gray
(smfi_main): Remove debugging hook


Revision 756 - Directory Listing
Modified Fri Nov 3 13:11:41 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 755 - Directory Listing
Modified Fri Nov 3 13:11:33 2006 UTC (14 years, 5 months ago) by gray
Include mfapi.h without leading directory. -I
should take care of it.
[GACOPYZ_VERSION_MAJOR]: Provide wrapper for gacopyz_setreply


Revision 754 - Directory Listing
Modified Fri Nov 3 13:11:04 2006 UTC (14 years, 5 months ago) by gray
Do not include mfapi
(MAILFROMD_DAEMON,MAILFROMD_TEST,MAILFROMD_DELETE,MAILFROMD_LIST)
(MAILFROMD_EXPIRE,MAILFROMD_COMPACT)
(MAILFROMD_SHOW_DEFAULTS): Move defines to mailfrom.h


Revision 753 - Directory Listing
Modified Fri Nov 3 13:10:44 2006 UTC (14 years, 5 months ago) by gray
Include mfapi.h without leading directory. -I
should take care of it.
(MAILFROMD_DAEMON,MAILFROMD_TEST,MAILFROMD_DELETE,MAILFROMD_LIST)
(MAILFROMD_EXPIRE,MAILFROMD_COMPACT)
(MAILFROMD_SHOW_DEFAULTS): Moved from main.c
(mode): New global


Revision 752 - Directory Listing
Modified Fri Nov 3 13:10:24 2006 UTC (14 years, 5 months ago) by gray
Remove include mfapi.h
(priv_get): Special provision for test mode


Revision 751 - Directory Listing
Modified Fri Nov 3 13:10:03 2006 UTC (14 years, 5 months ago) by gray
(INCLUDES): Add MILTER_INCLUDES


Revision 750 - Directory Listing
Modified Fri Nov 3 13:09:54 2006 UTC (14 years, 5 months ago) by gray
Raise version number to 2.0.4
Default to using libgacopyz. If the user really calls for trouble,
allow him to use libmilter (possibly forked), instead.


Revision 749 - Directory Listing
Modified Fri Nov 3 13:09:22 2006 UTC (14 years, 5 months ago) by gray
(SUBDIRS): Replace libmilter with gacopyz


Revision 748 - Directory Listing
Modified Fri Nov 3 12:59:02 2006 UTC (14 years, 5 months ago) by gray
*** empty log message ***


Revision 747 - Directory Listing
Modified Fri Nov 3 12:58:18 2006 UTC (14 years, 5 months ago) by gray
See /libmilter for the previous history


Revision 746 - Directory Listing
Modified Fri Nov 3 12:56:13 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 745 - Directory Listing
Modified Fri Nov 3 12:55:37 2006 UTC (14 years, 5 months ago) by gray
Everything moved to /gacopyz; Some fixes applied as well


Revision 744 - Directory Listing
Modified Fri Nov 3 12:53:43 2006 UTC (14 years, 5 months ago) by gray
Everything moved to /gacopyz; Some fixes applied as well


Revision 743 - Directory Listing
Modified Fri Nov 3 10:15:51 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 742 - Directory Listing
Modified Fri Nov 3 10:15:44 2006 UTC (14 years, 5 months ago) by gray
Skip -f option and its argument.


Revision 741 - Directory Listing
Modified Fri Nov 3 10:15:34 2006 UTC (14 years, 5 months ago) by gray
Finished libmilter implementation.


Revision 740 - Directory Listing
Modified Fri Nov 3 08:02:22 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 739 - Directory Listing
Modified Fri Nov 3 08:02:13 2006 UTC (14 years, 5 months ago) by gray
(g_milter_setmlreply_v, smfi_setmlreply): Improved implementation.
(g_milter_setmlreply_va): New function


Revision 738 - Directory Listing
Modified Thu Nov 2 20:03:01 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 737 - Directory Listing
Modified Thu Nov 2 20:02:56 2006 UTC (14 years, 5 months ago) by gray
Implement sending reply strings to sendmail.


Revision 736 - Directory Listing
Modified Thu Nov 2 17:26:55 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 735 - Directory Listing
Modified Thu Nov 2 17:26:51 2006 UTC (14 years, 5 months ago) by gray
Fix type casting of arguments.


Revision 734 - Directory Listing
Modified Thu Nov 2 16:46:16 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 733 - Directory Listing
Modified Thu Nov 2 16:46:09 2006 UTC (14 years, 5 months ago) by gray
Add to the repository


Revision 732 - Directory Listing
Modified Thu Nov 2 16:45:51 2006 UTC (14 years, 5 months ago) by gray
Finish context loop implementation


Revision 731 - Directory Listing
Modified Thu Nov 2 14:56:33 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 730 - Directory Listing
Modified Thu Nov 2 14:56:20 2006 UTC (14 years, 5 months ago) by gray
Define state_name array


Revision 729 - Directory Listing
Modified Thu Nov 2 14:56:11 2006 UTC (14 years, 5 months ago) by gray
(macro_assoc_t): New data type
(struct smfi_str.macros): Change type to macro_assoc_t


Revision 728 - Directory Listing
Modified Thu Nov 2 14:55:56 2006 UTC (14 years, 5 months ago) by gray
(SMFI_V1_ACTS,SMFI_V2_ACTS): New defines
(smfi_getsymval): Define to g_milter_getsymval
(g_milter_getsymval): New prototype


Revision 727 - Directory Listing
Modified Thu Nov 2 14:55:41 2006 UTC (14 years, 5 months ago) by gray
(trans_ok, get_command): Change signature
(send_reply): Remove translation of the command.
(union state_arg): Change contents.
(state_ret_type): New data type
(state_handler_fn): Change type and signature.
(state_disp): New field `name'.
(shan_abort,shan_macro,shan_optneg): Implemented
(find_disp): New function
(parse_state_arg): New function
(g_milter_context_loop): Initial loop implementation.
(g_milter_getsymval): New function


Revision 726 - Directory Listing
Modified Wed Nov 1 18:54:21 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 725 - Directory Listing
Modified Wed Nov 1 18:54:10 2006 UTC (14 years, 5 months ago) by gray
(END): Emit st_none


Revision 724 - Directory Listing
Modified Wed Nov 1 18:54:01 2006 UTC (14 years, 5 months ago) by gray
(smfi_register): Fix declaration
(smfi_main): Temporarly force foreground mode


Revision 723 - Directory Listing
Modified Wed Nov 1 18:53:49 2006 UTC (14 years, 5 months ago) by gray
(enum macro_index)
(milter_sockaddr_t,mi_uint32_t): New data type
(struct smfi_str.macros): Change type


Revision 722 - Directory Listing
Modified Wed Nov 1 18:53:24 2006 UTC (14 years, 5 months ago) by gray
(smfi_register): Fix prototype
(g_smfi_logdump): New function


Revision 721 - Directory Listing
Modified Wed Nov 1 18:53:10 2006 UTC (14 years, 5 months ago) by gray
Lots of fixes. Start implementing the read and eval loop.


Revision 720 - Directory Listing
Modified Wed Nov 1 18:52:50 2006 UTC (14 years, 5 months ago) by gray
(g_smfi_logdump): New function


Revision 719 - Directory Listing
Modified Wed Nov 1 18:52:37 2006 UTC (14 years, 5 months ago) by gray
Build dummy - a test program for libmilter


Revision 718 - Directory Listing
Modified Wed Nov 1 18:52:25 2006 UTC (14 years, 5 months ago) by gray
(BUILD_DUMMY): New var


Revision 717 - Directory Listing
Modified Wed Nov 1 02:45:42 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 716 - Directory Listing
Modified Wed Nov 1 02:45:03 2006 UTC (14 years, 5 months ago) by gray
Initial commit


Revision 715 - Directory Listing
Modified Wed Nov 1 02:43:48 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 714 - Directory Listing
Modified Wed Nov 1 02:43:41 2006 UTC (14 years, 5 months ago) by gray
Conditionally build libmilter.a


Revision 713 - Directory Listing
Modified Wed Nov 1 02:43:32 2006 UTC (14 years, 5 months ago) by gray
Add testing framework for libmilter; Raise version number to 2.0.3


Revision 712 - Directory Listing
Modified Wed Nov 1 02:43:09 2006 UTC (14 years, 5 months ago) by gray
(SUBDIRS): Add libmilter


Revision 711 - Directory Listing
Modified Wed Nov 1 02:23:58 2006 UTC (14 years, 5 months ago) by gray
Added to the repository


Revision 710 - Directory Listing
Modified Wed Nov 1 01:57:05 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 709 - Directory Listing
Modified Wed Nov 1 01:56:56 2006 UTC (14 years, 5 months ago) by gray
(instr_ston): Fix runtime error diagnostic message


Revision 708 - Directory Listing
Modified Mon Oct 30 17:34:29 2006 UTC (14 years, 5 months ago) by gray
(pragma_option): Return the rest of the line as the option argument for `pragma option mailfromd'


Revision 707 - Directory Listing
Modified Mon Oct 30 17:34:04 2006 UTC (14 years, 5 months ago) by gray
Document multiple from addresses.


Revision 706 - Directory Listing
Modified Mon Oct 30 17:33:55 2006 UTC (14 years, 5 months ago) by gray
(check-exceptions): New goal
(all-check-docs): Depend on check-exceptions


Revision 705 - Directory Listing
Modified Mon Oct 30 17:33:43 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 704 - Directory Listing
Modified Mon Oct 30 17:31:23 2006 UTC (14 years, 5 months ago) by gray
Test multiple from addresses


Revision 703 - Directory Listing
Modified Mon Oct 30 17:31:02 2006 UTC (14 years, 5 months ago) by gray
(set_mailfrom): Check if value is a valid mail address (or a list thereof)


Revision 702 - Directory Listing
Modified Mon Oct 30 17:30:43 2006 UTC (14 years, 5 months ago) by gray
(check_on_host): Iterate over addresses from
`mailfrom' until either the list is exhausted or the remote server
replies 2xx. Generalization of Jan's idea.


Revision 700 - Directory Listing
Modified Mon Oct 30 08:57:38 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 699 - Directory Listing
Modified Mon Oct 30 08:57:25 2006 UTC (14 years, 5 months ago) by gray
(check_mx_records): Update declaration


Revision 698 - Directory Listing
Modified Mon Oct 30 08:57:16 2006 UTC (14 years, 5 months ago) by gray
(check_mx_records): Return actual number of MXs in
the location given by the last argument. All callers updated
(method_standard): Do the last-resort poll (i.e. querying the
domain part of the sender email, treated as an MX) only if the
domain has no MX records.


Revision 697 - Directory Listing
Modified Mon Oct 30 08:56:55 2006 UTC (14 years, 5 months ago) by gray
_pollmx): Update invocation of check_mx_records


Revision 696 - Directory Listing
Modified Sun Oct 29 07:50:55 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 695 - Directory Listing
Modified Sun Oct 29 07:50:43 2006 UTC (14 years, 5 months ago) by gray
(struct eval_environ): Fix setheader prototype.


Revision 694 - Directory Listing
Modified Sun Oct 29 07:49:45 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 693 - Directory Listing
Modified Sun Oct 29 07:49:23 2006 UTC (14 years, 5 months ago) by gray
(ismx): New built-in function


Revision 692 - Directory Listing
Modified Sun Oct 29 07:49:03 2006 UTC (14 years, 5 months ago) by gray
(connect_timeout, connect_attempts): New variables.


Revision 691 - Directory Listing
Modified Sun Oct 29 07:48:46 2006 UTC (14 years, 5 months ago) by gray
(smtp_stream_wait, smpt_wait)
(check_on_host, listens_on): Use connect_wait/connect_timeout for
the initial connection and io_wait/io_timeout for the I/O
operations.
Proposed by Jan.


Revision 690 - Directory Listing
Modified Sat Oct 28 14:12:00 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 689 - Directory Listing
Modified Sat Oct 28 14:11:48 2006 UTC (14 years, 5 months ago) by gray
Minor comment fixes


Revision 688 - Directory Listing
Modified Sat Oct 28 14:11:32 2006 UTC (14 years, 5 months ago) by gray
(clamav): New built-in function


Revision 687 - Directory Listing
Modified Sat Oct 28 14:11:18 2006 UTC (14 years, 5 months ago) by gray
Version 2.0.2


Revision 686 - Directory Listing
Modified Sat Oct 28 10:22:03 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 685 - Directory Listing
Modified Sat Oct 28 10:21:57 2006 UTC (14 years, 5 months ago) by gray
(env_get_stream): New macro. Make sure env_get_stream is used only within capturing function definitions.


Revision 684 - Directory Listing
Modified Sat Oct 28 09:56:02 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 683 - Directory Listing
Modified Sat Oct 28 09:55:32 2006 UTC (14 years, 5 months ago) by gray
(check-pragmas, check-options,check-builtins): Use new check-docs.sh invocation syntax


Revision 682 - Directory Listing
Modified Sat Oct 28 09:55:16 2006 UTC (14 years, 5 months ago) by gray
Allow to take any number of "source"  arguments.


Revision 681 - Directory Listing
Modified Sat Oct 28 09:55:04 2006 UTC (14 years, 5 months ago) by gray
Remove ignored deftypefn of numrcpt


Revision 680 - Directory Listing
Modified Fri Oct 27 15:43:54 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 679 - Directory Listing
Modified Fri Oct 27 15:32:07 2006 UTC (14 years, 5 months ago) by gray
(instr_header): The value for the header is obtained
as the 1st argument.
(struct optab): Change instr_header description
(create_environment) Change type of the 4th argument


Revision 678 - Directory Listing
Modified Fri Oct 27 15:31:45 2006 UTC (14 years, 5 months ago) by gray
New option --dump-macros


Revision 677 - Directory Listing
Modified Fri Oct 27 15:31:31 2006 UTC (14 years, 5 months ago) by gray
(struct old_header_node): Renamed from header_node
(struct header_node): New structure.
(print_config_macros): New function
(create_environment): Change type of the 4th argument
(priv_store_header_command): Remove declaration
(compare_string): New declaration


Revision 676 - Directory Listing
Modified Fri Oct 27 15:30:58 2006 UTC (14 years, 5 months ago) by gray
Rules for header modification changed to allow an
expression as the second argument.
(register_macro,print_used_macros): New functions
(dbg_setheader): Change type of the second argument to struct
old_header_node.
(print_node,code_node): Change handling of node_type_header


Revision 675 - Directory Listing
Modified Fri Oct 27 15:30:26 2006 UTC (14 years, 5 months ago) by gray
(ctx_setheader,priv_store_header_command): Change type of the second argument to struct old_header_node.


Revision 674 - Directory Listing
Modified Fri Oct 27 15:30:12 2006 UTC (14 years, 5 months ago) by gray
(MF_INIT): Install greylist_seconds_left variable


Revision 673 - Directory Listing
Modified Fri Oct 27 12:42:53 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 672 - Directory Listing
Modified Fri Oct 27 12:42:07 2006 UTC (14 years, 5 months ago) by gray
Spam-Assassin interface.


Revision 671 - Directory Listing
Modified Fri Oct 27 12:41:48 2006 UTC (14 years, 5 months ago) by gray
(va_builtin_install_ex): New function


Revision 670 - Directory Listing
Modified Fri Oct 27 12:41:27 2006 UTC (14 years, 5 months ago) by gray
Change quoting symbols to [<,>]
(MF_STATE, MF_CAPTURE): New defines
(MF_DEFUN): use va_builtin_install_ex


Revision 669 - Directory Listing
Modified Fri Oct 27 12:41:04 2006 UTC (14 years, 5 months ago) by gray
(sa_init_builtin): New function


Revision 668 - Directory Listing
Modified Fri Oct 27 12:40:56 2006 UTC (14 years, 5 months ago) by gray
Include stdarg.h
(struct eval_environ): New member `stream'
(env_get_stream,env_capture_start,env_capture_write)
(env_capture_write_args): New functions
(destroy_environment): Destroy the capture stream
(builtin_setup): Call sa_init_builtin.


Revision 667 - Directory Listing
Modified Fri Oct 27 12:40:35 2006 UTC (14 years, 5 months ago) by gray
(mf_status): New status mf_url
(struct builtin): New fields rettype, statemask, capture.
(va_builtin_install_ex): New function
(env_get_stream,env_capture_start,env_capture_write,
env_capture_write_args): New functions


Revision 666 - Directory Listing
Modified Fri Oct 27 12:40:08 2006 UTC (14 years, 5 months ago) by gray
 (parse_include): Remove unused variable


Revision 665 - Directory Listing
Modified Fri Oct 27 12:40:01 2006 UTC (14 years, 5 months ago) by gray
Check if builtin invocations are allowed in the
current state.
(status_tab): Add mf_url


Revision 664 - Directory Listing
Modified Fri Oct 27 12:39:32 2006 UTC (14 years, 5 months ago) by gray
(mlfi_envfrom,mlfi_header,mlfi_eoh)
(mlfi_body, mlfi_eom): Capture support
(mlfi_eom): Bugfix: mlfi_eval called with wrong state tag


Revision 663 - Directory Listing
Modified Fri Oct 27 12:39:05 2006 UTC (14 years, 5 months ago) by gray
Remove unneded quoting


Revision 662 - Directory Listing
Modified Fri Oct 27 12:38:49 2006 UTC (14 years, 5 months ago) by gray
(M4_FILES): Add bi_sa.m4


Revision 661 - Directory Listing
Modified Fri Oct 27 12:38:39 2006 UTC (14 years, 5 months ago) by gray
Check for SIGRETTYPE


Revision 660 - Directory Listing
Modified Fri Oct 27 07:05:10 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 659 - Directory Listing
Modified Fri Oct 27 07:04:33 2006 UTC (14 years, 5 months ago) by gray
(rate_print_item): Remove unused variables


Revision 658 - Directory Listing
Modified Fri Oct 27 07:04:22 2006 UTC (14 years, 5 months ago) by gray
(other_init_builtin): New extern


Revision 657 - Directory Listing
Modified Fri Oct 27 07:04:15 2006 UTC (14 years, 5 months ago) by gray
Move all milter-related stuff to engine.c


Revision 656 - Directory Listing
Modified Fri Oct 27 07:03:39 2006 UTC (14 years, 5 months ago) by gray
Add external declarations, necessary for engine.c


Revision 655 - Directory Listing
Modified Fri Oct 27 07:03:27 2006 UTC (14 years, 5 months ago) by gray
(substring): Fix swapping of start and end offsets.


Revision 654 - Directory Listing
Modified Fri Oct 27 07:03:13 2006 UTC (14 years, 5 months ago) by gray
(mailfromd_SOURCES): Add engine.c


Revision 653 - Directory Listing
Modified Mon Oct 23 13:31:29 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 652 - Directory Listing
Modified Mon Oct 23 13:31:23 2006 UTC (14 years, 5 months ago) by gray
Add comments


Revision 651 - Directory Listing
Modified Mon Oct 23 13:31:14 2006 UTC (14 years, 5 months ago) by gray
Minor indentation changes


Revision 650 - Directory Listing
Modified Sun Oct 22 09:18:48 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 649 - Directory Listing
Modified Sun Oct 22 09:18:36 2006 UTC (14 years, 5 months ago) by gray
Use familiar \N notation for back references. Expand \0ooo and \xhh notations in double-quoted strings.


Revision 648 - Directory Listing
Modified Sat Oct 21 18:53:44 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 647 - Directory Listing
Modified Sat Oct 21 18:53:24 2006 UTC (14 years, 5 months ago) by gray
Allow variable and macro interpretation and backreference substitution in "" strings.


Revision 646 - Directory Listing
Modified Sat Oct 21 18:39:12 2006 UTC (14 years, 5 months ago) by gray
Bugfix


Revision 645 - Directory Listing
Modified Sat Oct 21 15:49:30 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 644 - Directory Listing
Modified Sat Oct 21 15:48:25 2006 UTC (14 years, 5 months ago) by gray
Implement regexp back-references


Revision 643 - Directory Listing
Modified Sat Oct 21 09:41:42 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 642 - Directory Listing
Modified Sat Oct 21 06:42:29 2006 UTC (14 years, 5 months ago) by gray
*** empty log message ***


Revision 641 - Directory Listing
Modified Fri Oct 20 16:04:13 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 640 - Directory Listing
Modified Fri Oct 20 15:55:11 2006 UTC (14 years, 5 months ago) by gray
Builtin framework


Revision 639 - Directory Listing
Modified Fri Oct 20 15:47:49 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 638 - Directory Listing
Modified Fri Oct 20 15:44:35 2006 UTC (14 years, 5 months ago) by gray
Include prog.h
Remove implementations of builtin functions. They all go into the
corresponding m4 files.
(advance_pc,adjust_stack): Functions, instead of macros
(env_var_ref,env_dict_getsym,env_dict_install,env_get_locus): New
functions.


Revision 637 - Directory Listing
Modified Fri Oct 20 15:44:10 2006 UTC (14 years, 5 months ago) by gray
(check_on_host): Return mf_temp_failure if stream_open fails.


Revision 636 - Directory Listing
Modified Fri Oct 20 15:43:57 2006 UTC (14 years, 5 months ago) by gray
New status mf_range


Revision 635 - Directory Listing
Modified Fri Oct 20 15:43:48 2006 UTC (14 years, 5 months ago) by gray
(status_tab): New status mf_range


Revision 634 - Directory Listing
Modified Fri Oct 20 15:43:32 2006 UTC (14 years, 5 months ago) by gray
Add rules for generating builtin implementation files from m4 sources


Revision 633 - Directory Listing
Modified Fri Oct 20 15:43:16 2006 UTC (14 years, 5 months ago) by gray
Built-in function implementations


Revision 632 - Directory Listing
Modified Fri Oct 20 15:42:31 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 630 - Directory Listing
Modified Wed Oct 18 14:58:42 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 629 - Directory Listing
Modified Wed Oct 18 14:58:33 2006 UTC (14 years, 5 months ago) by gray
(set_last_poll_result): Allow NULL arguments


Revision 628 - Directory Listing
Modified Wed Oct 18 14:41:21 2006 UTC (14 years, 5 months ago) by gray
Update


Revision 627 - Directory Listing
Modified Wed Oct 18 14:41:12 2006 UTC (14 years, 5 months ago) by gray
(bi_hostname, bi_resolve): Cache negative results
(valid_user_p): Use mu_get_auth if available and throw appropriate
exceptions if the user validity cannot be confirmed.


Revision 626 - Directory Listing
Modified Wed Oct 18 14:40:58 2006 UTC (14 years, 5 months ago) by gray
Check for mu_get_auth (MU >= 1.0.1)


Revision 625 - Directory Listing
Modified Fri Oct 13 11:50:29 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 624 - Directory Listing
Modified Fri Oct 13 11:50:22 2006 UTC (14 years, 6 months ago) by gray
Apply some fixes, proposed by Jan


Revision 623 - Directory Listing
Modified Wed Oct 11 09:35:42 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 622 - Directory Listing
Modified Wed Oct 11 09:35:33 2006 UTC (14 years, 6 months ago) by gray
(method_standard, method_strict): Initialize last_poll_sent, last_poll_recv to empty strings if cache was used.


Revision 621 - Directory Listing
Modified Mon Oct 9 15:34:59 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 620 - Directory Listing
Modified Mon Oct 9 15:34:55 2006 UTC (14 years, 6 months ago) by gray
Document here-documents.


Revision 619 - Directory Listing
Modified Mon Oct 9 15:34:38 2006 UTC (14 years, 6 months ago) by gray
(ml_split): Fix counting of lines in the reply.  The
last line was not taken into account unless it ended with a
newline.


Revision 618 - Directory Listing
Modified Mon Oct 9 15:34:25 2006 UTC (14 years, 6 months ago) by gray
Allow interpretation of variables and macros within here-documents.
Special form to remove all leading whitespace from the here-document lines.


Revision 617 - Directory Listing
Modified Sat Oct 7 06:39:39 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 616 - Directory Listing
Modified Sat Oct 7 06:39:29 2006 UTC (14 years, 6 months ago) by gray
Provide example of cached_data usage.


Revision 615 - Directory Listing
Modified Sat Oct 7 06:07:14 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 614 - Directory Listing
Modified Sat Oct 7 06:07:03 2006 UTC (14 years, 6 months ago) by gray
[WITH_BDB] (mu_dbm_open): Use DB_VERSION_MAJOR to select the version-dependent code.


Revision 613 - Directory Listing
Modified Sat Oct 7 06:06:49 2006 UTC (14 years, 6 months ago) by gray
(INCLUDES): Add MU_COMMON_INCLUDES


Revision 612 - Directory Listing
Modified Sat Oct 7 06:06:37 2006 UTC (14 years, 6 months ago) by gray
Fix Berkeley DB autodetection


Revision 611 - Directory Listing
Modified Fri Oct 6 11:52:58 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 610 - Directory Listing
Modified Fri Oct 6 11:52:40 2006 UTC (14 years, 6 months ago) by gray
(method_strict, method_standard): Set cache_used to 1 or 0 depending on whether the cached data were used or not.


Revision 609 - Directory Listing
Modified Fri Oct 6 11:52:29 2006 UTC (14 years, 6 months ago) by gray
(set_cache_used): New function


Revision 608 - Directory Listing
Modified Fri Oct 6 11:52:17 2006 UTC (14 years, 6 months ago) by gray
Document cache_used variable


Revision 607 - Directory Listing
Modified Fri Oct 6 11:52:07 2006 UTC (14 years, 6 months ago) by gray
NEWS


Revision 606 - Directory Listing
Modified Fri Oct 6 09:30:47 2006 UTC (14 years, 6 months ago) by gray
Update


Revision 605 - Directory Listing
Modified Fri Oct 6 09:30:34 2006 UTC (14 years, 6 months ago) by gray
Document new variables


Revision 604 - Directory Listing
Modified Fri Oct 6 09:30:25 2006 UTC (14 years, 6 months ago) by gray
(rate_expire_item): Compute the interval relative to the current time.


Revision 603 - Directory Listing
Modified Fri Oct 6 09:29:34 2006 UTC (14 years, 6 months ago) by gray
(env_get_context, env_get_context): New function
(greylist_expire_item): New function
(greylist_format_struct): Add expire field.
(greylist_format_struct): Declare last_poll_host, last_poll_send,
last_poll_recv


Revision 602 - Directory Listing
Modified Fri Oct 6 09:29:15 2006 UTC (14 years, 6 months ago) by gray
[WITH_BDB] (mu_dbm_open): Support Berkeley DB 4


Revision 601 - Directory Listing
Modified Fri Oct 6 09:28:56 2006 UTC (14 years, 6 months ago) by gray
(smtp_send): Clear reply before proceeding
(smtp_last_sent,smtp_last_received): Return literal "nothing" if
nothing was sent/received.
(check_mx_records,method_strict)
(method_standard): Change first argument type to eval_environ_t
(check_on_host): Change first argument type to eval_environ_t.
Return last polled host, sent command and received reply in
variables last_poll_host, last_poll_send and last_poll_recv.


Revision 600 - Directory Listing
Modified Fri Oct 6 09:28:30 2006 UTC (14 years, 6 months ago) by gray
(set_last_poll_result): New function.
(env_get_context): New function.
(check_on_host,check_mx_records,method_strict)
(method_standard): Change first argument type to eval_environ_t


Revision 599 - Directory Listing
Modified Fri Oct 6 09:28:09 2006 UTC (14 years, 6 months ago) by gray
Add explicit support for Berkeley DB 4.  Raise version number to 2.0.1


Revision 597 - Directory Listing
Modified Fri Sep 15 20:44:29 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 596 - Directory Listing
Modified Fri Sep 15 08:32:28 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 595 - Directory Listing
Modified Fri Sep 15 08:01:20 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 594 - Directory Listing
Modified Fri Sep 15 08:01:15 2006 UTC (14 years, 7 months ago) by gray
(filter_cleanup): Free md->helostr
(mlfi_helo): Allocate md->helostr.


Revision 593 - Directory Listing
Modified Fri Sep 15 08:01:03 2006 UTC (14 years, 7 months ago) by gray
Finished


Revision 592 - Directory Listing
Modified Fri Sep 15 08:00:55 2006 UTC (14 years, 7 months ago) by gray
Raise version number to 2.0


Revision 591 - Directory Listing
Modified Thu Sep 14 21:16:07 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 590 - Directory Listing
Modified Thu Sep 14 21:15:53 2006 UTC (14 years, 7 months ago) by gray
(main): Enclose PACKAGE_BUGREPORT in angle brackets


Revision 589 - Directory Listing
Modified Thu Sep 14 20:42:10 2006 UTC (14 years, 7 months ago) by gray
Do not enclose dbm-related variables in #ifdef USE_DBM.


Revision 588 - Directory Listing
Modified Thu Sep 14 20:41:40 2006 UTC (14 years, 7 months ago) by gray
Warn about unquoted strings


Revision 587 - Directory Listing
Modified Thu Sep 14 20:41:18 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 586 - Directory Listing
Modified Thu Sep 14 19:02:31 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 585 - Directory Listing
Modified Thu Sep 14 19:01:31 2006 UTC (14 years, 7 months ago) by gray
Include sys/types.h


Revision 584 - Directory Listing
Modified Thu Sep 14 19:01:13 2006 UTC (14 years, 7 months ago) by gray
Fix coredump if "rate" is not defined


Revision 583 - Directory Listing
Modified Thu Sep 14 19:00:41 2006 UTC (14 years, 7 months ago) by gray
Define program_name


Revision 582 - Directory Listing
Modified Thu Sep 14 15:18:52 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 581 - Directory Listing
Modified Thu Sep 14 15:18:36 2006 UTC (14 years, 7 months ago) by gray
New option -l (--lint)


Revision 580 - Directory Listing
Modified Thu Sep 14 15:18:27 2006 UTC (14 years, 7 months ago) by gray
Fix counting of the input lines


Revision 579 - Directory Listing
Modified Thu Sep 14 05:24:54 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 578 - Directory Listing
Modified Wed Sep 13 21:19:47 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 577 - Directory Listing
Modified Wed Sep 13 20:09:01 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 576 - Directory Listing
Modified Wed Sep 13 20:03:57 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 575 - Directory Listing
Modified Wed Sep 13 16:22:54 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 574 - Directory Listing
Modified Wed Sep 13 16:22:44 2006 UTC (14 years, 7 months ago) by gray
(rate_print_item): Use format_time_str.


Revision 573 - Directory Listing
Modified Wed Sep 13 16:22:34 2006 UTC (14 years, 7 months ago) by gray
(greylist_print_item): Use format_time_str.


Revision 572 - Directory Listing
Modified Wed Sep 13 16:22:22 2006 UTC (14 years, 7 months ago) by gray
(time_format_string): New global
New option --time-format


Revision 571 - Directory Listing
Modified Wed Sep 13 16:22:11 2006 UTC (14 years, 7 months ago) by gray
(format_time_str): New function
(time_format_string): New global


Revision 570 - Directory Listing
Modified Wed Sep 13 16:21:57 2006 UTC (14 years, 7 months ago) by gray
(convert_rate): allow a separator ("per" or a punctuation) between the message count and the interval spec.


Revision 569 - Directory Listing
Modified Wed Sep 13 16:21:44 2006 UTC (14 years, 7 months ago) by gray
(format_time_str): New function


Revision 568 - Directory Listing
Modified Wed Sep 13 16:21:33 2006 UTC (14 years, 7 months ago) by gray
(cache_print_item): Use format_time_str


Revision 567 - Directory Listing
Modified Wed Sep 13 16:21:24 2006 UTC (14 years, 7 months ago) by gray
(INCLUDES): Add lib (for fprintftime.h)


Revision 566 - Directory Listing
Modified Wed Sep 13 16:21:10 2006 UTC (14 years, 7 months ago) by gray
Update (fprintftime gnulib module is required).


Revision 565 - Directory Listing
Modified Wed Sep 13 16:20:58 2006 UTC (14 years, 7 months ago) by gray
(mailfromd_TEXINFOS): Add strftime.texi
(check-builtins): Update rule
(check-refs,check-fixmes): New rules
(all-check-docs): New rule
(check-docs): Rewrite via all-check-docs


Revision 564 - Directory Listing
Modified Wed Sep 13 16:13:48 2006 UTC (14 years, 7 months ago) by gray
Add new file


Revision 563 - Directory Listing
Modified Wed Sep 13 16:13:29 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 562 - Directory Listing
Modified Tue Sep 12 20:25:18 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 561 - Directory Listing
Modified Tue Sep 12 19:26:24 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 560 - Directory Listing
Modified Tue Sep 12 19:26:11 2006 UTC (14 years, 7 months ago) by gray
(env_catch): Reset the exception handler.


Revision 559 - Directory Listing
Modified Mon Sep 11 21:53:06 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 558 - Directory Listing
Modified Mon Sep 11 20:21:06 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 557 - Directory Listing
Modified Sun Sep 10 22:16:31 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 556 - Directory Listing
Modified Sun Sep 10 22:16:01 2006 UTC (14 years, 7 months ago) by gray
(xopindex): Prefix option name with --


Revision 555 - Directory Listing
Modified Sun Sep 10 20:34:36 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 554 - Directory Listing
Modified Sun Sep 10 20:32:38 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 553 - Directory Listing
Modified Sun Sep 10 19:59:15 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 552 - Directory Listing
Modified Sun Sep 10 19:59:03 2006 UTC (14 years, 7 months ago) by gray
(options): Fix wrongly placed N_()s.


Revision 551 - Directory Listing
Modified Sun Sep 10 19:58:52 2006 UTC (14 years, 7 months ago) by gray
Set the precedence of  MATCHES and FNMATCHES to
that of EQ
(print_bin_op): Add missing opcodes
(print_node): Fix printing of NEG argument


Revision 550 - Directory Listing
Modified Sun Sep 10 19:58:17 2006 UTC (14 years, 7 months ago) by gray
(xprindex): Not used now


Revision 549 - Directory Listing
Modified Sun Sep 10 19:58:03 2006 UTC (14 years, 7 months ago) by gray
(check-pragmas): Modify
(check-docs): Add check-builtins to the lst of prerequisites.
(check-builtins): New rule
(RENDITION): Remove variable assignment


Revision 548 - Directory Listing
Modified Sun Sep 10 19:57:42 2006 UTC (14 years, 7 months ago) by gray
Set doc hints depending on the version (alpha vs. stable).


Revision 547 - Directory Listing
Modified Sat Sep 9 16:16:49 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 546 - Directory Listing
Modified Sat Sep 9 16:16:38 2006 UTC (14 years, 7 months ago) by gray
(valid_user_p): Do not suppose argument is an email address.


Revision 545 - Directory Listing
Modified Sat Sep 9 16:16:24 2006 UTC (14 years, 7 months ago) by gray
Use ifdef USE_DBM where appropriate


Revision 544 - Directory Listing
Modified Sat Sep 9 16:16:00 2006 UTC (14 years, 7 months ago) by gray
(mailfromd_TEXINFOS): Add macros.texi
(check-pragmas,check-options): New rules
(EXTRA_DIST): Add check-docs.sh


Revision 543 - Directory Listing
Modified Sat Sep 9 16:15:19 2006 UTC (14 years, 7 months ago) by gray
*** empty log message ***


Revision 542 - Directory Listing
Modified Sat Sep 9 16:14:29 2006 UTC (14 years, 7 months ago) by gray
Add texinfo to the prerequisites


Revision 541 - Directory Listing
Modified Thu Sep 7 12:00:21 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 540 - Directory Listing
Modified Thu Sep 7 12:00:16 2006 UTC (14 years, 7 months ago) by gray
(bi_domainpart, bi_localpart): New function
(dbmap): Signal dbfailure exception if the database cannot be
opened.  Do not suppose the argument is an email address.


Revision 539 - Directory Listing
Modified Thu Sep 7 11:59:45 2006 UTC (14 years, 7 months ago) by gray
Almost finished Tutorial chapter


Revision 538 - Directory Listing
Modified Tue Sep 5 20:37:37 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 537 - Directory Listing
Modified Tue Sep 5 17:48:13 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 536 - Directory Listing
Modified Tue Sep 5 17:48:06 2006 UTC (14 years, 7 months ago) by gray
(bi_toupper, bi_tolower): New built-ins.
(bi_stdpoll, bi_strictpoll, bi__pollhost, bi__pollmx): Signal
runtime error on unhandled exceptions.


Revision 535 - Directory Listing
Modified Tue Sep 5 15:05:54 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 534 - Directory Listing
Modified Tue Sep 5 15:05:14 2006 UTC (14 years, 7 months ago) by gray
New option --all
(stderr_error_printer): Use program_invocation_short_name
(main): Set stderr_error_printer early, before parsing command
line.


Revision 533 - Directory Listing
Modified Tue Sep 5 15:04:58 2006 UTC (14 years, 7 months ago) by gray
(parse_error): Do not output locus is locus.file is
not set.


Revision 532 - Directory Listing
Modified Tue Sep 5 15:04:43 2006 UTC (14 years, 7 months ago) by gray
(db_compact): Print debugging info at the beginning


Revision 531 - Directory Listing
Modified Tue Sep 5 13:26:06 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 530 - Directory Listing
Modified Tue Sep 5 13:18:28 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 529 - Directory Listing
Modified Tue Sep 5 13:18:18 2006 UTC (14 years, 7 months ago) by gray
Removed


Revision 528 - Directory Listing
Modified Tue Sep 5 13:17:51 2006 UTC (14 years, 7 months ago) by gray
New options --lock-retry-count and --lock-retry-timeout


Revision 527 - Directory Listing
Modified Tue Sep 5 13:17:39 2006 UTC (14 years, 7 months ago) by gray
Switch to using gnulib


Revision 526 - Directory Listing
Modified Tue Sep 5 13:17:24 2006 UTC (14 years, 7 months ago) by gray
(SUBDIRS): Add lib


Revision 525 - Directory Listing
Modified Tue Sep 5 13:17:11 2006 UTC (14 years, 7 months ago) by gray
Building instructions for alpha and CVS versions


Revision 524 - Directory Listing
Modified Sun Sep 3 18:35:19 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 523 - Directory Listing
Modified Sun Sep 3 18:35:10 2006 UTC (14 years, 7 months ago) by gray
(pop_source): Do not free locus.file. It has already been referenced by now.


Revision 522 - Directory Listing
Modified Sun Sep 3 16:57:09 2006 UTC (14 years, 7 months ago) by gray
(log_status): Avoid logging SMFIS_CONTINUE actions.


Revision 521 - Directory Listing
Modified Sun Sep 3 16:56:55 2006 UTC (14 years, 7 months ago) by gray
Implement #include directive


Revision 520 - Directory Listing
Modified Sun Sep 3 16:56:46 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 519 - Directory Listing
Modified Sat Sep 2 19:37:25 2006 UTC (14 years, 7 months ago) by gray
Raise version number to 1.9.93


Revision 518 - Directory Listing
Modified Sat Sep 2 19:33:30 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 517 - Directory Listing
Modified Sat Sep 2 19:32:44 2006 UTC (14 years, 7 months ago) by gray
*** empty log message ***


Revision 516 - Directory Listing
Modified Sat Sep 2 19:29:33 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 515 - Directory Listing
Modified Sat Sep 2 19:29:23 2006 UTC (14 years, 7 months ago) by gray
Minor changes


Revision 514 - Directory Listing
Modified Sat Sep 2 19:29:11 2006 UTC (14 years, 7 months ago) by gray
(mu_dbm_unlock): Return void


Revision 513 - Directory Listing
Modified Sat Sep 2 19:28:58 2006 UTC (14 years, 7 months ago) by gray
Include mailutils/error.h


Revision 512 - Directory Listing
Modified Sat Sep 2 19:28:51 2006 UTC (14 years, 7 months ago) by gray
(source_info_option): New option
(struct message_data.msgid): New member
(priv_get): Init msgid
(mailfromd_msgid,mailfromd_timestr): New functions
(trace, transcript): Use mailfromd_msgid()
(check_on_host): Print exit code on debug level 1


Revision 511 - Directory Listing
Modified Sat Sep 2 19:28:25 2006 UTC (14 years, 7 months ago) by gray
(debug macros): Print source location only if
source_info_option is set
(source_info_option): New extern
(builtin_post_setup,print_code,yylex,yyerror,onblock,string_to_stat)
(mailfromd_msgid,mailfromd_timestr,logmsg):
(xeval,check_on_host,check_mx_records,get_rate): Add missing
declarations


Revision 510 - Directory Listing
Modified Sat Sep 2 19:28:02 2006 UTC (14 years, 7 months ago) by gray
(ECHO): Rename to KW_ECHO to avoid clashes with the lex macro name.


Revision 509 - Directory Listing
Modified Sat Sep 2 19:27:41 2006 UTC (14 years, 7 months ago) by gray
Print status code and time stamps in human-readable form.


Revision 508 - Directory Listing
Modified Sat Sep 2 19:27:24 2006 UTC (14 years, 7 months ago) by gray
Updated Jan's record


Revision 507 - Directory Listing
Modified Sat Sep 2 14:45:06 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 506 - Directory Listing
Modified Sat Sep 2 14:44:12 2006 UTC (14 years, 7 months ago) by gray
*** empty log message ***


Revision 505 - Directory Listing
Modified Sat Sep 2 14:42:55 2006 UTC (14 years, 7 months ago) by gray
Use RFC-compliant reply codes.


Revision 504 - Directory Listing
Modified Sat Sep 2 14:42:40 2006 UTC (14 years, 7 months ago) by gray
Add hasmx.exp


Revision 503 - Directory Listing
Modified Sat Sep 2 14:42:31 2006 UTC (14 years, 7 months ago) by gray
Add catch01.rc and hasmx.rc


Revision 502 - Directory Listing
Modified Sat Sep 2 14:42:19 2006 UTC (14 years, 7 months ago) by gray
New file


Revision 501 - Directory Listing
Modified Sat Sep 2 14:41:55 2006 UTC (14 years, 7 months ago) by gray
(builtin_post_setup): New function
(builtin_setup): Install ehlo_domain and mailfrom_address vars
(bi_strictpoll): Fix parameter order
(bi__pollhost, bi__pollmx): New functions
(bi_match_cidr): Fix coredump


Revision 500 - Directory Listing
Modified Sat Sep 2 14:41:32 2006 UTC (14 years, 7 months ago) by gray
(get_smtp_domain): Remove function
(main): Call builtin_post_setup after configuration


Revision 499 - Directory Listing
Modified Sat Sep 2 14:41:14 2006 UTC (14 years, 7 months ago) by gray
(smtp_domain): New extern
(get_smtp_domain): Remove function


Revision 498 - Directory Listing
Modified Sat Sep 2 14:40:57 2006 UTC (14 years, 7 months ago) by gray
(on_cond): Use the values of %ehlo_domain and
%mailfrom_address variables as default values for ehlo domain and
sender address.


Revision 497 - Directory Listing
Modified Sat Sep 2 09:58:35 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 496 - Directory Listing
Modified Sat Sep 2 09:58:11 2006 UTC (14 years, 7 months ago) by gray
(instr_catch, dump_catch): Update for the new catch
calling convention.
Remove includes of onwrap_std.c and onwrap_strict.c.


Revision 495 - Directory Listing
Modified Sat Sep 2 09:57:48 2006 UTC (14 years, 7 months ago) by gray
(struct poll_node): Remove
(struct poll_data): New data type
(struct catch_node): Replace mf_status *values with unsigned
exmask
(enum node_type): Remove poll_node
(std_on_wrapper_func,strict_on_wrapper_func): Remove


Revision 494 - Directory Listing
Modified Sat Sep 2 09:57:33 2006 UTC (14 years, 7 months ago) by gray
Allow to specify catches for all exceptions
(catch *).
Allow to use any function as a selector to `on' statement.
Get rid of poll_node.


Revision 493 - Directory Listing
Modified Sat Sep 2 09:57:05 2006 UTC (14 years, 7 months ago) by gray
Remove bootstrap. Not needed any more.


Revision 492 - Directory Listing
Modified Sat Sep 2 09:50:34 2006 UTC (14 years, 7 months ago) by gray
Remove


Revision 491 - Directory Listing
Modified Fri Sep 1 23:30:05 2006 UTC (14 years, 7 months ago) by gray
Add to the repository


Revision 490 - Directory Listing
Modified Fri Sep 1 23:27:55 2006 UTC (14 years, 7 months ago) by gray
(bootstrap): New goal


Revision 489 - Directory Listing
Modified Fri Sep 1 23:14:17 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 488 - Directory Listing
Modified Fri Sep 1 23:12:51 2006 UTC (14 years, 7 months ago) by gray
Update catch syntax


Revision 487 - Directory Listing
Modified Fri Sep 1 23:12:43 2006 UTC (14 years, 7 months ago) by gray
(prog_trace): New function. Used in all instructions
and builtins instead of debugN(100...).
(instr_callout): Removed
(instr_retcatch, instr_saveex, instr_restex): New instructions
(env_catch): Return an error code
(bi_stdpoll, bi_strictpoll): New builtins


Revision 486 - Directory Listing
Modified Fri Sep 1 23:12:22 2006 UTC (14 years, 7 months ago) by gray
New option --trace-prog


Revision 485 - Directory Listing
Modified Fri Sep 1 23:12:06 2006 UTC (14 years, 7 months ago) by gray
(mf_status): Add new status codes (it'd be better
to call them exception codes, perhaps).
(EXMASK): New macro
(prog_trace_option): New global
(struct poll_action): Removed
(struct poll_node): Change type of `actions' to struct case_stmt
(struct function.exmask): New member
(std_on_wrapper_func, strict_on_wrapper_func): New globals
(instr_callout): Removed
(instr_retcatch, instr_saveex, instr_restex): New instructions
(env_catch): Return an error code


Revision 484 - Directory Listing
Modified Fri Sep 1 23:11:37 2006 UTC (14 years, 7 months ago) by gray
The sequences poll, host, for, as and from are valid
keywords only if used in ONBLOCK state.
(onblock): New function


Revision 483 - Directory Listing
Modified Fri Sep 1 23:11:22 2006 UTC (14 years, 7 months ago) by gray
Change catch semantics: a catch handler always
causes exit from the function or prog it was called from.  The
scope of a catch handler installed in a function ends with the
end of that function.
Rewrite ON statement using CATCH + wrappers over stdpoll or
strictpoll functions.


Revision 482 - Directory Listing
Modified Fri Sep 1 23:10:33 2006 UTC (14 years, 7 months ago) by gray
Add rules for generation of onwrap_std.c and onwrap_strict.c


Revision 481 - Directory Listing
Modified Wed Aug 30 14:09:11 2006 UTC (14 years, 7 months ago) by gray
Fix typo


Revision 480 - Directory Listing
Modified Wed Aug 30 14:07:31 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 479 - Directory Listing
Modified Wed Aug 30 14:07:26 2006 UTC (14 years, 7 months ago) by gray
Rewrite using new syntax


Revision 478 - Directory Listing
Modified Wed Aug 30 14:07:15 2006 UTC (14 years, 7 months ago) by gray
(instr_ntos): Remove unused variable


Revision 477 - Directory Listing
Modified Wed Aug 30 14:07:04 2006 UTC (14 years, 7 months ago) by gray
Simplity case syntax: do not require do .. donearound statement lists


Revision 476 - Directory Listing
Modified Wed Aug 30 14:06:48 2006 UTC (14 years, 7 months ago) by gray
Rewrite using 2.x syntax


Revision 475 - Directory Listing
Modified Wed Aug 30 13:34:16 2006 UTC (14 years, 7 months ago) by gray
Bugfix


Revision 474 - Directory Listing
Modified Wed Aug 30 13:32:46 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 473 - Directory Listing
Modified Wed Aug 30 13:32:25 2006 UTC (14 years, 7 months ago) by gray
Minor fix


Revision 472 - Directory Listing
Modified Wed Aug 30 13:32:12 2006 UTC (14 years, 7 months ago) by gray
Set log_to_stderr=1 for some working modes
(e.g. --test, --compact, --expire)
(mailfromd_show_defaults): Remove NDBM/DBM leftovers


Revision 471 - Directory Listing
Modified Wed Aug 30 13:31:52 2006 UTC (14 years, 7 months ago) by gray
(NUMERIC_BUFSIZE_BOUND): New macro


Revision 470 - Directory Listing
Modified Wed Aug 30 13:31:43 2006 UTC (14 years, 7 months ago) by gray
New notation &word (for future use)


Revision 469 - Directory Listing
Modified Wed Aug 30 13:31:32 2006 UTC (14 years, 7 months ago) by gray
Use NUMERIC_BUFSIZE_BOUND to declare buffers for numeric conversion


Revision 468 - Directory Listing
Modified Wed Aug 30 07:17:59 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 467 - Directory Listing
Modified Wed Aug 30 07:17:24 2006 UTC (14 years, 7 months ago) by gray
New testcase


Revision 466 - Directory Listing
Modified Wed Aug 30 07:17:05 2006 UTC (14 years, 7 months ago) by gray
Add switch.exp


Revision 465 - Directory Listing
Modified Wed Aug 30 07:16:57 2006 UTC (14 years, 7 months ago) by gray
Rewrite to use new greylist syntax


Revision 464 - Directory Listing
Modified Wed Aug 30 07:16:44 2006 UTC (14 years, 7 months ago) by gray
(RCFILES): Add switch.rc


Revision 463 - Directory Listing
Modified Wed Aug 30 07:16:33 2006 UTC (14 years, 7 months ago) by gray
(db_format_install): Return struct db_format *


Revision 462 - Directory Listing
Modified Wed Aug 30 07:16:10 2006 UTC (14 years, 7 months ago) by gray
(instr_xlat,instr_xlats,instr_jreg): New instructions
(code_peek,code_reserve): New functions


Revision 461 - Directory Listing
Modified Wed Aug 30 07:14:24 2006 UTC (14 years, 7 months ago) by gray
(positive_expire_interval,rates_expire_interval):
Remove globals. Use corresponding db_format fields instead. All
references updated.
(db_format_setup): Protect by #ifdef USE_DBM
(mailfromd_show_defaults): Use symbol_enumerate to dump available
database information.


Revision 460 - Directory Listing
Modified Wed Aug 30 07:13:30 2006 UTC (14 years, 7 months ago) by gray
(DEFAULT_GREYLIST_DATABASE): New define
(positive_expire_interval,rates_expire_interval): Remove globals
(struct value,struct valist,struct case_stmt)
(struct switch_stmt): New data types
(node_type_switch): New node type
(struct node.v.switch_stmt): New member
(instr_xlat,instr_xlats,instr_jreg): New instructions
(code_peek,code_reserve): New functions
(struct db_format.expire_interval): New member
(db_format_install): Return struct db_format *


Revision 459 - Directory Listing
Modified Wed Aug 30 07:13:00 2006 UTC (14 years, 7 months ago) by gray
Implement switch statement


Revision 458 - Directory Listing
Modified Wed Aug 30 07:12:46 2006 UTC (14 years, 7 months ago) by gray
Use rate format


Revision 457 - Directory Listing
Modified Wed Aug 30 07:12:35 2006 UTC (14 years, 7 months ago) by gray
Use cache_format


Revision 456 - Directory Listing
Modified Wed Aug 30 07:12:26 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 455 - Directory Listing
Modified Wed Aug 30 07:12:10 2006 UTC (14 years, 7 months ago) by gray
Document switch statement, database pragma and the new greylist syntax


Revision 454 - Directory Listing
Modified Wed Aug 23 14:26:05 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 453 - Directory Listing
Modified Wed Aug 23 14:25:59 2006 UTC (14 years, 7 months ago) by gray
(stderr_error_printer): New function
(main): Set stderr_error_printer as the default error printer if
log_to_stderr is true.
Bail out if extra arguments are given in daemon mode.


Revision 452 - Directory Listing
Modified Wed Aug 23 13:16:20 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 451 - Directory Listing
Modified Wed Aug 23 13:16:14 2006 UTC (14 years, 7 months ago) by gray
(rate_print_item): Improved output


Revision 450 - Directory Listing
Modified Wed Aug 23 13:16:01 2006 UTC (14 years, 7 months ago) by gray
(instr_rate): Remove
(bi_interval,bi_rate): New functions


Revision 449 - Directory Listing
Modified Wed Aug 23 13:15:50 2006 UTC (14 years, 7 months ago) by gray
Options ending in "timeout" and "expire-interval"
take time interval specification as their argument.


Revision 448 - Directory Listing
Modified Wed Aug 23 13:15:36 2006 UTC (14 years, 7 months ago) by gray
(node_type_rate): Remove type
(instr_rate): Remove function


Revision 447 - Directory Listing
Modified Wed Aug 23 13:15:24 2006 UTC (14 years, 7 months ago) by gray
Allow to use multi-letter sendmail variables without
surrounding cury braces.


Revision 446 - Directory Listing
Modified Wed Aug 23 13:15:10 2006 UTC (14 years, 7 months ago) by gray
Remove rate statement, use the built-in function
instead.
(pragma_option): Several pragmas take time interval specification
as their argument.
(time_multiplier): Analize the part of the first argument up to
the first space characrer. Allow for abbreviated time units.
(parse_time_interval): New function
(convert_rate): Rewrite unsing parse_time_interval


Revision 445 - Directory Listing
Modified Wed Aug 23 13:14:41 2006 UTC (14 years, 7 months ago) by gray
(getmx): Do not recurse to parent domains


Revision 444 - Directory Listing
Modified Tue Aug 22 15:05:54 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 443 - Directory Listing
Modified Tue Aug 22 15:05:45 2006 UTC (14 years, 7 months ago) by gray
Switch to user privileges before compacting the database


Revision 442 - Directory Listing
Modified Tue Aug 22 14:21:26 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 441 - Directory Listing
Modified Tue Aug 22 14:21:08 2006 UTC (14 years, 7 months ago) by gray
Rewrite using the new syntax


Revision 440 - Directory Listing
Modified Tue Aug 22 14:20:43 2006 UTC (14 years, 7 months ago) by gray
Update the comment


Revision 439 - Directory Listing
Modified Tue Aug 22 14:20:31 2006 UTC (14 years, 7 months ago) by gray
Add new testcase


Revision 438 - Directory Listing
Modified Tue Aug 22 14:20:04 2006 UTC (14 years, 7 months ago) by gray
(variable_install): Do not overwrite existing
variables.
(function_install): Locus pointer is const


Revision 437 - Directory Listing
Modified Tue Aug 22 14:19:35 2006 UTC (14 years, 7 months ago) by gray
(declare_numeric_variable)
(declare_string_variable): New function
(env_decl_vars): New function
(create_environment): Call env_decl_vars


Revision 436 - Directory Listing
Modified Tue Aug 22 14:19:14 2006 UTC (14 years, 7 months ago) by gray
(parse_error_locus,function_install): Locus
pointer is const
(declare_numeric_variable,declare_string_variable): New function


Revision 435 - Directory Listing
Modified Tue Aug 22 14:18:55 2006 UTC (14 years, 7 months ago) by gray
(parse_error_locus): Locus pointer is const


Revision 434 - Directory Listing
Modified Tue Aug 22 14:18:44 2006 UTC (14 years, 7 months ago) by gray
The legacy syntax (statement list without any prog
declaration) is no longer supported
SET statements are allowed between declarations, they declare
global variables and assign initial values to them.


Revision 433 - Directory Listing
Modified Tue Aug 22 10:29:52 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 432 - Directory Listing
Modified Tue Aug 22 10:29:34 2006 UTC (14 years, 7 months ago) by gray
Add new testcases: ack and catch


Revision 431 - Directory Listing
Modified Tue Aug 22 10:28:59 2006 UTC (14 years, 7 months ago) by gray
(instr_add,instr_sub,instr_mul,instr_div): Adjust stack
(instr_result): Fix the debug diagnostics
(instr_builtin): Advance pc before calling the handler, so it can
use env_catch
(instr_variable,instr_asgn,instr_svalidate,instr_arg)
(instr_return,instr_adjust,instr_popreg,instr_pushreg): Provide
appropriate debug diagnostics
(bi_hasmx): Call freemx only ig getmx returned success.
Call env_catch otherwise


Revision 430 - Directory Listing
Modified Tue Aug 22 10:28:27 2006 UTC (14 years, 7 months ago) by gray
(FUNC declaration): Assign the entry point early to
properly handle recursive functions
(variable): Throw error if the variable is not defined


Revision 429 - Directory Listing
Modified Mon Aug 21 21:21:14 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 428 - Directory Listing
Modified Mon Aug 21 21:20:46 2006 UTC (14 years, 7 months ago) by gray
Implement user-defined functions


Revision 427 - Directory Listing
Modified Mon Aug 21 15:16:37 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 426 - Directory Listing
Modified Mon Aug 21 15:16:31 2006 UTC (14 years, 7 months ago) by gray
(SYM_.*): Move defines to mailfrom.h
(symbol_enumerate): new function
(function_install): New function


Revision 425 - Directory Listing
Modified Mon Aug 21 15:16:13 2006 UTC (14 years, 7 months ago) by gray
(struct eval_environ): New member `base'
(pop): Return popped value
(instr_ston): Fix format spec
(instr_echo): New instruction
(env_make_frame, env_leave_frame): New functions
(env_catch): Create normal stack frame for the catch handler. Pass
it the exception code as its argument.
(print_code): New function.


Revision 424 - Directory Listing
Modified Mon Aug 21 15:15:51 2006 UTC (14 years, 7 months ago) by gray
(mlfi_helo, mlfi_envfrom, mlfi_envrcpt, mlfi_header)
(mlfi_eoh, mlfi_body, mlfi_eom): Create normal stack frame before
calling the handler.
(main): Use print_code to handle --dump-code option


Revision 423 - Directory Listing
Modified Mon Aug 21 15:15:32 2006 UTC (14 years, 7 months ago) by gray
(node_type_echo): New node type
(symbol_enumerator_t): New data type
(symbol_enumerate): New function)
(instr_echo): New instruction
(env_make_frame,env_leave_frame,function_install): New functions


Revision 422 - Directory Listing
Modified Mon Aug 21 15:15:11 2006 UTC (14 years, 7 months ago) by gray
(echo): New statement.
Begin implementing user-defined functions


Revision 421 - Directory Listing
Modified Sun Aug 20 22:03:16 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 420 - Directory Listing
Modified Sun Aug 20 22:03:07 2006 UTC (14 years, 7 months ago) by gray
(struct eval_environ): New member `catch'
(instr_catch): New function
(env_catch): New function
(dump_locus,dump_push_immediate,dump_symbol,dump_branch,dump_return)
(dump_header,dump_builtin,dump_variable,mx_match): Change
signature. All callers updated
(instr_catch,dump_catch): New function
(env_init): Initialize catch array


Revision 419 - Directory Listing
Modified Sun Aug 20 22:02:47 2006 UTC (14 years, 7 months ago) by gray
(mf_status_count): New value
(struct catch_node): New data type
(node_type_catch): New node type
(instr_catch): New function


Revision 418 - Directory Listing
Modified Sun Aug 20 22:02:29 2006 UTC (14 years, 7 months ago) by gray
Implement catch statement


Revision 417 - Directory Listing
Modified Sun Aug 20 20:54:30 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 416 - Directory Listing
Modified Sun Aug 20 20:53:49 2006 UTC (14 years, 7 months ago) by gray
(instr_fnmatch_mx,instr_regex_mx): New functions
(instr_regex,instr_regcomp): Rewritten


Revision 415 - Directory Listing
Modified Sun Aug 20 20:53:29 2006 UTC (14 years, 7 months ago) by gray
(bin_regex,struct regex_node): Remove
(struct bin_node): New member qualifier
(node_type_push,node_type_regcomp): New node types
(struct node.v.re): Removed


Revision 414 - Directory Listing
Modified Sun Aug 20 20:53:08 2006 UTC (14 years, 7 months ago) by gray
(MXMATCHES,MXFNMATCHES): New tokens


Revision 413 - Directory Listing
Modified Sun Aug 20 20:52:55 2006 UTC (14 years, 7 months ago) by gray
Implement MX MATCHES and MX FNMATCHES.
Change handling of compiled regular expressions.
(%union): New member matchtype
(MXMATCHES,MXFNMATCHES): New tokens
(optimize,optimize_node): New function
(codegen): Call optimize


Revision 412 - Directory Listing
Modified Sun Aug 20 18:18:06 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 411 - Directory Listing
Modified Sun Aug 20 18:17:47 2006 UTC (14 years, 7 months ago) by gray
Update for new --test semantics


Revision 410 - Directory Listing
Modified Sun Aug 20 18:17:32 2006 UTC (14 years, 7 months ago) by gray
(instr_add,instr_sub,instr_mul,instr_div)
(instr_neg,env_set_variable): New functions.


Revision 409 - Directory Listing
Modified Sun Aug 20 18:17:11 2006 UTC (14 years, 7 months ago) by gray
The --test option takes an optional argument
specifying which state handler to test.  Only one handler can be
tested per invocation. Command line interface allows to define all
types of variables (sendmail, mailfromd and positional arguments).


Revision 408 - Directory Listing
Modified Sun Aug 20 18:16:41 2006 UTC (14 years, 7 months ago) by gray
(bin_add,bin_sub,bin_mul,bin_div): New binary
opcodes
(unary_minus): New unary opcode
(instr_add,instr_sub,instr_mul,instr_div,instr_neg): New functions
(env_init,env_push_string,env_push_number,env_set_variable): New
declarations.
(test_program): Removed
(mailfromd_test): New declaration


Revision 407 - Directory Listing
Modified Sun Aug 20 18:16:16 2006 UTC (14 years, 7 months ago) by gray
Add arithmetical operations. Fix the implicit type
conversion rules.
(test_program): Removed
(mailfromd_test): New function


Revision 406 - Directory Listing
Modified Sat Aug 19 12:30:14 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 405 - Directory Listing
Modified Sat Aug 19 12:30:06 2006 UTC (14 years, 7 months ago) by gray
Update to 1.9.92


Revision 404 - Directory Listing
Modified Sat Aug 19 12:29:31 2006 UTC (14 years, 7 months ago) by gray
(freemx): New function


Revision 403 - Directory Listing
Modified Sat Aug 19 12:28:56 2006 UTC (14 years, 7 months ago) by gray
Update copyright year


Revision 402 - Directory Listing
Modified Sat Aug 19 12:28:48 2006 UTC (14 years, 7 months ago) by gray
(bi_hasmx): use freemx


Revision 401 - Directory Listing
Modified Sat Aug 19 12:27:48 2006 UTC (14 years, 7 months ago) by gray
(check_mx_records): Use freemx


Revision 400 - Directory Listing
Modified Sat Aug 19 12:27:39 2006 UTC (14 years, 7 months ago) by gray
Rearrange and add comments


Revision 399 - Directory Listing
Modified Sat Aug 19 12:27:25 2006 UTC (14 years, 7 months ago) by gray
Return CODE only for strings consisting of three
digits. Other number of digits form NUMBER token.
Allow to split strings among multiple lines using \ as the last
character on the line


Revision 398 - Directory Listing
Modified Sat Aug 19 12:26:54 2006 UTC (14 years, 7 months ago) by gray
Use verbose error diagnostics.
(NUMBER): New token


Revision 397 - Directory Listing
Modified Fri Aug 18 20:27:10 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 396 - Directory Listing
Modified Fri Aug 18 20:26:59 2006 UTC (14 years, 7 months ago) by gray
Add new test case (arg)


Revision 395 - Directory Listing
Modified Fri Aug 18 20:26:23 2006 UTC (14 years, 7 months ago) by gray
Bugfixes


Revision 394 - Directory Listing
Modified Fri Aug 18 19:51:46 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 393 - Directory Listing
Modified Fri Aug 18 19:51:23 2006 UTC (14 years, 7 months ago) by gray
Indentation fix


Revision 392 - Directory Listing
Modified Fri Aug 18 19:51:14 2006 UTC (14 years, 7 months ago) by gray
(env_init,env_push_string,env_push_number): New
functions.
(get_rcpt_count,clear_rcpt_count,incr_rcpt_count): New functions
(define_numeric_var): Remove function
(bi_numrcpt): Directly update %rcpt_count cell.
(bi_greylist): Directly update %greylist_seconds_left cell
(builtin_setup): Initialize offsets of the internal variables


Revision 391 - Directory Listing
Modified Fri Aug 18 19:50:44 2006 UTC (14 years, 7 months ago) by gray
(struct message_data): Remove numrcpt
(mlfi_helo,mlfi_envfrom,mlfi_envrcpt,mlfi_header,mlfi_eoh)
(mlfi_body,mlfi_eom): Init env and pass positional parameters.
(mlfi_envrcpt): Update rcpt_count variable using incr_rcpt_count
(mlfi_eom): Clear %rcpt_count


Revision 390 - Directory Listing
Modified Fri Aug 18 19:50:14 2006 UTC (14 years, 7 months ago) by gray
(node_type_arg): New node type
(define_numeric_var): Removed
(get_rcpt_count,clear_rcpt_count,incr_rcpt_count): New functions
(mf_status_str): New declaration
(builtin_variable_install): Change return value


Revision 389 - Directory Listing
Modified Fri Aug 18 19:49:47 2006 UTC (14 years, 7 months ago) by gray
$N notation (positional parameter)
Fix IDENTIFIER rule to accept single-character identifiers


Revision 388 - Directory Listing
Modified Fri Aug 18 19:49:31 2006 UTC (14 years, 7 months ago) by gray
Handle positional arguments
(state_tag,state_args): New variables
(action: ACT_CONTINUE, ACT_DISCARD): Initialize $$->v.ret to all
zeros.
(parse_config): Fix return value
(mf_status_str): extern
(test_program): Call env_init
 (builtin_variable_install): Change return value


Revision 387 - Directory Listing
Modified Fri Aug 18 19:48:42 2006 UTC (14 years, 7 months ago) by gray
(format_status): Remove function. Use mf_status_str instead.


Revision 386 - Directory Listing
Modified Fri Aug 18 16:18:47 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 385 - Directory Listing
Modified Fri Aug 18 15:17:34 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 384 - Directory Listing
Modified Fri Aug 18 15:17:17 2006 UTC (14 years, 7 months ago) by gray
(ignore_failed_reads_option): New variable
Do not use debug level 100, it is reserved for instruction
traces.
(--ignore-failed-reads): New option


Revision 383 - Directory Listing
Modified Fri Aug 18 15:16:58 2006 UTC (14 years, 7 months ago) by gray
(DEFAULT_RATE_DATABASE): Include suffix


Revision 382 - Directory Listing
Modified Fri Aug 18 15:16:49 2006 UTC (14 years, 7 months ago) by gray
Debug level 100 is reserved for instruction traces


Revision 381 - Directory Listing
Modified Fri Aug 18 15:16:40 2006 UTC (14 years, 7 months ago) by gray
(db_list_item,db_delete): Include trailing nul to the
key size
(db_expire): Do not return error on failed reads if
ignore_failed_reads_option is set.
(db_compact): Add trailing zero to the keys missing it.


Revision 380 - Directory Listing
Modified Fri Aug 18 15:16:11 2006 UTC (14 years, 7 months ago) by gray
Include trailing nul to the  key size.


Revision 379 - Directory Listing
Modified Fri Aug 18 13:52:25 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 378 - Directory Listing
Modified Fri Aug 18 13:52:11 2006 UTC (14 years, 7 months ago) by gray
Remove NDBM and DBM support. Implement locking functions.


Revision 377 - Directory Listing
Modified Fri Aug 18 13:51:54 2006 UTC (14 years, 7 months ago) by gray
(db_format_setup): Initialize locking parameters


Revision 376 - Directory Listing
Modified Fri Aug 18 13:51:44 2006 UTC (14 years, 7 months ago) by gray
(DEFAULT_DATABASE): File name with suffix


Revision 375 - Directory Listing
Modified Fri Aug 18 13:51:34 2006 UTC (14 years, 7 months ago) by gray
(db_compact): Implement locking. Improve error checking.


Revision 374 - Directory Listing
Modified Fri Aug 18 13:51:20 2006 UTC (14 years, 7 months ago) by gray
Lock the database before writing to it


Revision 373 - Directory Listing
Modified Fri Aug 18 13:51:04 2006 UTC (14 years, 7 months ago) by gray
Remove NDBM and DBM support


Revision 372 - Directory Listing
Modified Fri Aug 18 08:38:02 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 371 - Directory Listing
Modified Fri Aug 18 08:37:53 2006 UTC (14 years, 7 months ago) by gray
(mu_dbm_file_name): New function
Remove obsolete __P() declaration wrappers.


Revision 370 - Directory Listing
Modified Fri Aug 18 08:37:40 2006 UTC (14 years, 7 months ago) by gray
(mu_dbm_file_name): New function
(mu_dbm_stat): Rewrite using mu_dbm_file_name.


Revision 369 - Directory Listing
Modified Fri Aug 18 08:37:29 2006 UTC (14 years, 7 months ago) by gray
 (options --expire,--list,--delete): Do not take
argument. --format and/or --file should be used instead
(--format, --file): New options


Revision 368 - Directory Listing
Modified Fri Aug 18 08:37:11 2006 UTC (14 years, 7 months ago) by gray
(struct db_format): New data type
(db_format_install,db_format_lookup): New functions


Revision 367 - Directory Listing
Modified Fri Aug 18 08:36:59 2006 UTC (14 years, 7 months ago) by gray
(SYM_DB_FORMAT): New symbol state
(struct symtab.v): New member db
(db_format_install,db_format_lookup): New functions


Revision 366 - Directory Listing
Modified Fri Aug 18 08:36:41 2006 UTC (14 years, 7 months ago) by gray
(all functions): Change data types to int. Improve
error checking
(db_compact): New function (Note: no locking so far!)


Revision 365 - Directory Listing
Modified Fri Aug 18 08:36:25 2006 UTC (14 years, 7 months ago) by gray
Rewritten using new DB format handling primitives


Revision 364 - Directory Listing
Modified Thu Aug 17 14:50:53 2006 UTC (14 years, 7 months ago) by gray
Update


Revision 363 - Directory Listing
Modified Thu Aug 17 14:50:36 2006 UTC (14 years, 7 months ago) by gray
New testcase


Revision 362 - Directory Listing
Modified Thu Aug 17 14:50:19 2006 UTC (14 years, 7 months ago) by gray
Add ml.exp


Revision 361 - Directory Listing
Modified Thu Aug 17 14:50:11 2006 UTC (14 years, 7 months ago) by gray
Add ml.rc, ml.pat


Revision 360 - Directory Listing
Modified Thu Aug 17 14:49:45 2006 UTC (14 years, 7 months ago) by gray
(bi_greylist): Define greylist_seconds_left in both branches of the conditional.


Revision 359 - Directory Listing
Modified Thu Aug 17 14:49:26 2006 UTC (14 years, 7 months ago) by gray
(ctx_setreply): Implement multy-line responses.


Revision 358 - Directory Listing
Modified Thu Aug 17 14:49:06 2006 UTC (14 years, 7 months ago) by gray
(sendmail_mlreply): New function.


Revision 357 - Directory Listing
Modified Thu Aug 17 14:48:57 2006 UTC (14 years, 7 months ago) by gray
Implement multy-line strings


Revision 356 - Directory Listing
Modified Thu Aug 17 14:48:41 2006 UTC (14 years, 7 months ago) by gray
Bugfixes


Revision 355 - Directory Listing
Modified Thu Aug 17 14:48:33 2006 UTC (14 years, 7 months ago) by gray
Rewrite db_expire to avoid skipping some keys using broken backends (namely, GDBM)


Revision 354 - Directory Listing
Modified Thu Aug 17 14:48:17 2006 UTC (14 years, 7 months ago) by gray
A wrapper to implement multy-line responses


Revision 353 - Directory Listing
Modified Thu Aug 17 14:47:51 2006 UTC (14 years, 7 months ago) by gray
(mailfromd_SOURCES): Add ml.c


Revision 352 - Directory Listing
Modified Wed Aug 16 21:03:50 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 351 - Directory Listing
Modified Wed Aug 16 21:03:23 2006 UTC (14 years, 8 months ago) by gray
(RCFILES,PATFILES): Add numrcpt test


Revision 350 - Directory Listing
Modified Wed Aug 16 21:02:55 2006 UTC (14 years, 8 months ago) by gray
(mlfi_envrcpt): Define %rcpt_count


Revision 349 - Directory Listing
Modified Wed Aug 16 21:02:43 2006 UTC (14 years, 8 months ago) by gray
Add comparison operators (<,<=,>,>=)
(struct eval_environ): Remove mailpool. Use heap to keep string
values.
Remove numrcpt. The number of recipients is kept in the variable
%rcpt_count
(pushs): New function
(instr_arg): New function (for future use)
(env_set_numrcpt,env_alloc,free_meme): Removed
(define_numeric_var): New function


Revision 348 - Directory Listing
Modified Wed Aug 16 21:02:12 2006 UTC (14 years, 8 months ago) by gray
Add comparison operators (<,<=,>,>=)
(define_numeric_var): New function


Revision 347 - Directory Listing
Modified Wed Aug 16 21:01:49 2006 UTC (14 years, 8 months ago) by gray
Add comparison operators (<,<=,>,>=)


Revision 346 - Directory Listing
Modified Wed Aug 16 15:09:07 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 345 - Directory Listing
Modified Wed Aug 16 15:08:58 2006 UTC (14 years, 8 months ago) by gray
(SYM_VARIABLE): New entry state.
(struct symtab.name): Move to the union. All references updated.
(variable_install,variable_lookup): New functions.


Revision 344 - Directory Listing
Modified Wed Aug 16 15:08:32 2006 UTC (14 years, 8 months ago) by gray
(stack_size): new variable
(struct eval_environ): Remove stacksize. New members: toh, var
(struct environ_state): Remove
(push): Do not realloc stack. Take into account heap top when
computing stack space left.
(heap_reserve): New function
(instr_return): Remove third immediate argument (message). Take it
from the stack instead
(dump_return): Likewise
(instr_concat,instr_variable,instr_asgn,instr_svalidate): New
instructions.
(struct optab): Add new instructions
(eval_environment): Initialize tos and toh
(create_environment): stack_size gives the total size of the
stack+heap.
Allocate memory for the variable array.
(bi_greylist): Do not prolong greylisting period if the function
is called within a greylisting interval.
Variable greylist_seconds_left keeps the number of seconds left to
the end of the greylisting period.
(builtin_setup): Install greylist_seconds_left variable.


Revision 343 - Directory Listing
Modified Wed Aug 16 15:07:59 2006 UTC (14 years, 8 months ago) by gray
(stack_size, variable_count): New variables.
(struct return_node.message): Change type to NODE
(struct concat_node, asgn_node): New data types
(node_type_concat,node_type_asgn,node_type_variable): New node
types.
(struct node.v): add new structures.
(instr_concat,instr_variable,instr_asgn,instr_svalidate): New
instructions.
(struct function): New member `name'
(struct varuable): New structure
(variable_install,variable_lookup,builtin_variable_install): New
functions.


Revision 342 - Directory Listing
Modified Wed Aug 16 15:07:20 2006 UTC (14 years, 8 months ago) by gray
Implement internal variables (%name notation)


Revision 341 - Directory Listing
Modified Wed Aug 16 15:07:02 2006 UTC (14 years, 8 months ago) by gray
Implement concatenation of expressions and internal variables


Revision 340 - Directory Listing
Modified Wed Aug 16 15:06:45 2006 UTC (14 years, 8 months ago) by gray
Start rewriting


Revision 339 - Directory Listing
Modified Mon Aug 14 11:38:03 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 338 - Directory Listing
Modified Mon Aug 14 11:37:54 2006 UTC (14 years, 8 months ago) by gray
(MARK_LOCUS): Optimize insertion of instr_locus codes.


Revision 337 - Directory Listing
Modified Mon Aug 14 11:19:44 2006 UTC (14 years, 8 months ago) by gray
Initial commit


Revision 336 - Directory Listing
Modified Sat Aug 12 21:35:00 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 335 - Directory Listing
Modified Sat Aug 12 21:34:41 2006 UTC (14 years, 8 months ago) by gray
(instr_header): Allocate header_node


Revision 334 - Directory Listing
Modified Sat Aug 12 20:42:12 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 333 - Directory Listing
Modified Sat Aug 12 20:41:54 2006 UTC (14 years, 8 months ago) by gray
Call umask in child process. Set default umask to 0117.


Revision 332 - Directory Listing
Modified Sat Aug 12 19:05:44 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 331 - Directory Listing
Modified Sat Aug 12 19:03:38 2006 UTC (14 years, 8 months ago) by gray
New file


Revision 330 - Directory Listing
Modified Sat Aug 12 19:03:16 2006 UTC (14 years, 8 months ago) by gray
Add new files


Revision 329 - Directory Listing
Modified Sat Aug 12 19:03:04 2006 UTC (14 years, 8 months ago) by gray
(start_daemon): Prefix config name
with MAILFROMD_ETC_DIR only if it does not already begin with /
(mailfromd_init): Initialize MAILFROMD_STATE_DIR instead of doing
it in (default_mailfromd_start)
(default_mailfromd_version, mailfromd_version)
(mailfromd_check_capability,mailfromd_exec): New functions
(mailfromd_pat): New keyword :RCDIR


Revision 328 - Directory Listing
Modified Sat Aug 12 19:02:04 2006 UTC (14 years, 8 months ago) by gray
(RCFILES): Add cidr.rc, cond.rc,
greylist.in, relayed.list, relayed.rc
(PATFILES): Add greylist.pat
(CLEANFILES, noinst_DATA): Add greylist.rc
(.in.rc): New implicit rule


Revision 327 - Directory Listing
Modified Sat Aug 12 19:01:35 2006 UTC (14 years, 8 months ago) by gray
(SUBDIRS): Remove .


Revision 326 - Directory Listing
Modified Sat Aug 12 19:01:24 2006 UTC (14 years, 8 months ago) by gray
(eval_environment): Initialize status to SMFIS_CONTINUE.


Revision 325 - Directory Listing
Modified Sat Aug 12 19:01:13 2006 UTC (14 years, 8 months ago) by gray
(mailfromd_show_defaults): Print version instead of the method.


Revision 324 - Directory Listing
Modified Sat Aug 12 19:00:57 2006 UTC (14 years, 8 months ago) by gray
(line_finish): Extra debug


Revision 323 - Directory Listing
Modified Sat Aug 12 19:00:46 2006 UTC (14 years, 8 months ago) by gray
Remove stray AC_DEFINE


Revision 322 - Directory Listing
Modified Sat Aug 12 11:19:20 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 321 - Directory Listing
Modified Sat Aug 12 11:15:44 2006 UTC (14 years, 8 months ago) by gray
Initial import


Revision 320 - Directory Listing
Modified Sat Aug 12 11:09:55 2006 UTC (14 years, 8 months ago) by gray
Initial import


Revision 319 - Directory Listing
Modified Sat Aug 12 11:04:40 2006 UTC (14 years, 8 months ago) by gray
(option_pidfile): Assign *pval
(mailfromd_daemon): Bail out if daemon fails


Revision 318 - Directory Listing
Modified Sat Aug 12 11:04:25 2006 UTC (14 years, 8 months ago) by gray
(AC_CONFIG_FILES): Add testsuite/* Makefiles


Revision 317 - Directory Listing
Modified Sat Aug 12 11:04:08 2006 UTC (14 years, 8 months ago) by gray
(SUBDIRS): Add testsuite


Revision 316 - Directory Listing
Modified Fri Aug 11 13:40:17 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 315 - Directory Listing
Modified Fri Aug 11 13:40:06 2006 UTC (14 years, 8 months ago) by gray
New test greylist


Revision 314 - Directory Listing
Modified Fri Aug 11 13:39:57 2006 UTC (14 years, 8 months ago) by gray
New option --log-tag (-L) sets syslog tag.


Revision 313 - Directory Listing
Modified Fri Aug 11 13:39:45 2006 UTC (14 years, 8 months ago) by gray
Warn if accept is used with arguments.
Check codes and xcodes for reject and tmpfail actions.


Revision 312 - Directory Listing
Modified Thu Aug 10 15:06:37 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 311 - Directory Listing
Modified Thu Aug 10 15:06:20 2006 UTC (14 years, 8 months ago) by gray
(struct eval_environ) Remove statepool and
smtp_state.
(environ_save_state,environ_restore_state,environ_state_free):
Remove.
(instr_symbol): Fix debug diagnostic corresponding to previous
cases of deferred evaluation.
(instr_pushenv,instr_iter,dump_iter,instr_suspend): Remove
(dump_code): Take two arguments.
(eval_environment): Check second argument type (prog_counter_t).
(environment_get_null_symbol): Return location where the undefined
symbol occurs in the memory location pointed to by the second
variable.
(bi_numrcpt): Remove non-local jump


Revision 310 - Directory Listing
Modified Thu Aug 10 15:05:56 2006 UTC (14 years, 8 months ago) by gray
(check_on_host): Be more liberal. Return
mf_temp_failure if any transport error occurs
Send QUIT after exiting the loop, so that we close the transaction
correctly even if we get a negative reply.
(xeval,mlfi_eval): New functions.
(mlfi_helo,mlfi_envfrom,mlfi_envrcpt,mlfi_header,mlfi_eoh)
(mlfi_eom,mlfi_body): Use mlfi_eval to evaluate the response.
(smfilter,milter_enable_state): Set all handlers on request, when
a specified PROG is available to avoid useless milter calls.


Revision 309 - Directory Listing
Modified Thu Aug 10 15:05:23 2006 UTC (14 years, 8 months ago) by gray
(enum smtp_state): smtp_state_first marks first
executable SMTP state, smtp_state_count gives the number of
available states.
(struct iter_node,node_type_iter,instr_iter,instr_pushenv)
(instr_suspend): Removed.
(entry_point): New global data
(environment_get_null_symbol): Return locus in the location
pointed to by the second argument.
(codegen): Remove declaration
(dump_code): Accepts two arguments.


Revision 308 - Directory Listing
Modified Thu Aug 10 15:04:57 2006 UTC (14 years, 8 months ago) by gray
(iter): Remove keyword
(prog): New keyword


Revision 307 - Directory Listing
Modified Thu Aug 10 15:04:31 2006 UTC (14 years, 8 months ago) by gray
Major change in confguration language. By default
all code will be executed in envfrom SMTP state. The parts of code
enclosed in 'PROG <state> DO ... DONE' will be executed when the
requested <state> is handled. Deferred evaluation is considered a
failed experiment and is removed. ITER statement is removed as
well, since it is no longer needed.


Revision 306 - Directory Listing
Modified Thu Aug 10 15:04:05 2006 UTC (14 years, 8 months ago) by gray
(_getmx,cnameloop): Use res_n* functions to assure thread safety.


Revision 305 - Directory Listing
Modified Thu Aug 10 15:03:47 2006 UTC (14 years, 8 months ago) by gray
(db_expire): Rewritten the loop after the proposal of Jan Rafaj.


Revision 304 - Directory Listing
Modified Thu Aug 10 15:03:16 2006 UTC (14 years, 8 months ago) by gray
Raise version number to 1.9.91


Revision 303 - Directory Listing
Modified Thu Aug 10 15:02:59 2006 UTC (14 years, 8 months ago) by gray
Add Jan Rafaj


Revision 302 - Directory Listing
Modified Tue Aug 8 09:06:40 2006 UTC (14 years, 8 months ago) by gray
Fix


Revision 301 - Directory Listing
Modified Tue Aug 8 09:04:54 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 300 - Directory Listing
Modified Tue Aug 8 09:04:46 2006 UTC (14 years, 8 months ago) by gray
Exit immediately if any of the --dump options was given


Revision 299 - Directory Listing
Modified Tue Aug 8 09:04:30 2006 UTC (14 years, 8 months ago) by gray
(code_node): Optimize code generation for `ON POLL'
statements, avoiding multiple generation of action code for `or'
branches.


Revision 298 - Directory Listing
Modified Sun Aug 6 08:18:55 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 297 - Directory Listing
Modified Sun Aug 6 08:18:38 2006 UTC (14 years, 8 months ago) by gray
(instr_symbol): Improve debugging messages
(bi_match_cidr): New builtin.


Revision 296 - Directory Listing
Modified Sun Aug 6 08:18:19 2006 UTC (14 years, 8 months ago) by gray
(mlfi_helo): Do not clear md->helostr after
processing. We don't rely on sendmail setting $s any more.


Revision 295 - Directory Listing
Modified Tue Aug 1 00:14:58 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 294 - Directory Listing
Modified Tue Aug 1 00:14:44 2006 UTC (14 years, 8 months ago) by gray
(AC_ARG_WITH([berkeley-db])): Fix the help string


Revision 293 - Directory Listing
Modified Mon Jul 31 23:07:24 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 292 - Directory Listing
Modified Mon Jul 31 23:07:17 2006 UTC (14 years, 8 months ago) by gray
(code_instr,code_immediate): Take const argument
(bi_resolve): Fix inet_ntoa usage
(dbmap_lookup_p): Change first argument


Revision 291 - Directory Listing
Modified Mon Jul 31 23:06:59 2006 UTC (14 years, 8 months ago) by gray
(mlfi_header,mlfi_header,mlfi_eoh): Initial
implementation.
(milter_enable_state): New function
(set_milter_header,set_milter_body): Removed
Removed "API control" options (--milter-body and --milter-header).


Revision 290 - Directory Listing
Modified Mon Jul 31 23:06:36 2006 UTC (14 years, 8 months ago) by gray
(struct builtin_node) const struct builtin
(code_instr,code_immediate): Take const argument
(milter_enable_state): New function


Revision 289 - Directory Listing
Modified Mon Jul 31 23:06:18 2006 UTC (14 years, 8 months ago) by gray
(%union): const struct builtin
(iter): Call milter_enable_state


Revision 288 - Directory Listing
Modified Mon Jul 31 20:46:37 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 287 - Directory Listing
Modified Mon Jul 31 20:46:20 2006 UTC (14 years, 8 months ago) by gray
(dbmap_lookup_p): Protect the text by ifdef USE_DBM
(builtin_setup): Do not install bi_dbmap if DBM is not used.


Revision 286 - Directory Listing
Modified Mon Jul 31 20:46:06 2006 UTC (14 years, 8 months ago) by gray
(get_smtp_domain): New function
(main): Remove initialization of smtp_domain.


Revision 285 - Directory Listing
Modified Mon Jul 31 20:45:53 2006 UTC (14 years, 8 months ago) by gray
(smtp_domain): Removed declaration;
(get_smtp_domain): New function


Revision 284 - Directory Listing
Modified Mon Jul 31 20:45:41 2006 UTC (14 years, 8 months ago) by gray
Use get_smtp_domain() instead of smtp_domain


Revision 283 - Directory Listing
Modified Mon Jul 31 16:40:17 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 282 - Directory Listing
Modified Mon Jul 31 16:40:01 2006 UTC (14 years, 8 months ago) by gray
(mlfi_envrcpt): Remove implicit looping in envrcpt state.
(struct message_data): Remove envstate. All references updated


Revision 281 - Directory Listing
Modified Mon Jul 31 16:39:30 2006 UTC (14 years, 8 months ago) by gray
Support ITER construct
(struct eval_environ): New member statepool
(struct environ_state): New member next
(environ_save_state): Create the state in the internal environment
memory pool
(destroy_environment): Free states from the pool
(instr_pushenv,instr_iter,dump_iter,instr_suspend): New functions


Revision 280 - Directory Listing
Modified Mon Jul 31 16:39:07 2006 UTC (14 years, 8 months ago) by gray
Support ITER construct


Revision 279 - Directory Listing
Modified Mon Jul 31 16:38:58 2006 UTC (14 years, 8 months ago) by gray
Support ITER construct
(string_to_state,state_to_string): New functions


Revision 278 - Directory Listing
Modified Mon Jul 31 16:38:37 2006 UTC (14 years, 8 months ago) by gray
(string_to_state,state_to_string): New functions
(instr_iter,instr_pushenv,instr_suspend): New functions
(struct iter_node): New data type


Revision 277 - Directory Listing
Modified Sun Jul 30 16:08:46 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 276 - Directory Listing
Modified Sun Jul 30 16:08:37 2006 UTC (14 years, 8 months ago) by gray
Use direct boolean arithmetics: 1 means true, 0 means false.
(bi_resolve,bi_hasmx): New builtins


Revision 275 - Directory Listing
Modified Sun Jul 30 16:08:24 2006 UTC (14 years, 8 months ago) by gray
Use direct boolean arithmetics: 1 means true, 0 means false.


Revision 274 - Directory Listing
Modified Sun Jul 30 14:36:28 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 273 - Directory Listing
Modified Sun Jul 30 14:35:58 2006 UTC (14 years, 8 months ago) by gray
Initial commit


Revision 272 - Directory Listing
Modified Sun Jul 30 14:21:42 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 271 - Directory Listing
Modified Sun Jul 30 14:21:30 2006 UTC (14 years, 8 months ago) by gray
(instr_rate): Bugfix


Revision 270 - Directory Listing
Modified Sun Jul 30 14:21:19 2006 UTC (14 years, 8 months ago) by gray
(struct option_cache): New option cumulative (sync with 1.x)
Mark relay as cumulative
(set_option): Ignore override for cumulative options


Revision 269 - Directory Listing
Modified Sun Jul 30 14:20:50 2006 UTC (14 years, 8 months ago) by gray
Update version number to 1.9.90


Revision 268 - Directory Listing
Modified Sun Jul 30 11:22:21 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 267 - Directory Listing
Modified Sun Jul 30 11:22:11 2006 UTC (14 years, 8 months ago) by gray
(environ_state_free): State can be NULL
(bi_dbmap): Fix order of arguments


Revision 266 - Directory Listing
Modified Sun Jul 30 11:21:50 2006 UTC (14 years, 8 months ago) by gray
(mu_dbm_open): Fix for DB 3.x


Revision 265 - Directory Listing
Modified Sun Jul 30 11:21:43 2006 UTC (14 years, 8 months ago) by gray
New option --group (pragrma group)
(switch_to_privs): Retain groups specified with --group options
(mailfromd_show_defaults): Show DB version in use.
(main): Call MU_AUTH_REGISTER_ALL_MODULES


Revision 264 - Directory Listing
Modified Sun Jul 30 11:21:14 2006 UTC (14 years, 8 months ago) by gray
Change DB options to those used by MU configure.


Revision 263 - Directory Listing
Modified Sun Jul 30 09:50:54 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 262 - Directory Listing
Modified Sun Jul 30 09:50:42 2006 UTC (14 years, 8 months ago) by gray
(struct eval_environ): New fields numrcpt, smtp_state
(struct environ_state): New data type
(environ_save_state,environ_restore_state,environ_state_free): New
functions.
(instr_ston,instr_ntos): Bugfix: do not advance pc
(instr_symbol): Do not set env->status before longjump
(env_set_numrcpt): New function
(eval_environment): Take 2nd argument: the smtp state
(bi_numrcpt,bi_validuser,bi_dbmap): New builtins
(builtin_setup): Register new builtins


Revision 261 - Directory Listing
Modified Sun Jul 30 09:49:59 2006 UTC (14 years, 8 months ago) by gray
(struct message_data): New member envstate
(priv_get,filter_cleanup): Handle envstate
(mlfi_helo,mlfi_envfrom): Update call to eval_environment
(mlfi_envrcpt): Save environment state on the first call, restore
it on subsequent ones.
Keep track of the number of recipients.
(mlfi_header): Call eval_environment
(mlfi_eom): Call eval_environment. Return tempfail if the
configuration program did not finish.
(capa): Use "auth" capability


Revision 260 - Directory Listing
Modified Sun Jul 30 09:49:04 2006 UTC (14 years, 8 months ago) by gray
(enum node_type): New type node_type_number
(enum smtp_state, environ_state_t): new data type
(eval_environment): Takes 2nd argument: smtp_state. All callers
updated.
(environ_save_state,environ_restore_state,environ_state_free): New
functions.
(emalloc): New prototype


Revision 259 - Directory Listing
Modified Sun Jul 30 09:48:41 2006 UTC (14 years, 8 months ago) by gray
Allow numeric constants in the program


Revision 258 - Directory Listing
Modified Sun Jul 30 09:48:28 2006 UTC (14 years, 8 months ago) by gray
(MAILUTILS_LIBS): Link with MU Auth


Revision 257 - Directory Listing
Modified Sat Jul 29 19:18:09 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 256 - Directory Listing
Modified Sat Jul 29 19:18:02 2006 UTC (14 years, 8 months ago) by gray
(get_rate): Remove unused variable


Revision 255 - Directory Listing
Modified Sat Jul 29 19:17:53 2006 UTC (14 years, 8 months ago) by gray
(check_mx_records): Add default case
(listens_on): New function (for compatibility with 1.x branch)
(mlfi_eom): Clear numrcpt
(main): Call builtin_setup. Check return value of codegen


Revision 254 - Directory Listing
Modified Sat Jul 29 19:17:29 2006 UTC (14 years, 8 months ago) by gray
Add missing prototypes. Make debug macros safe
to use within if blocks
(struct builtin, struct function): New data types


Revision 253 - Directory Listing
Modified Sat Jul 29 19:16:48 2006 UTC (14 years, 8 months ago) by gray
Introduce builtin functions. Remove rules for HOSTNAME and RELAYED: they are builtins now


Revision 252 - Directory Listing
Modified Sat Jul 29 19:16:27 2006 UTC (14 years, 8 months ago) by gray
(mailfromd_SOURCES): Add symtab.c


Revision 251 - Directory Listing
Modified Sat Jul 29 19:16:19 2006 UTC (14 years, 8 months ago) by gray
Initial commit


Revision 250 - Directory Listing
Modified Tue Jul 25 21:41:51 2006 UTC (14 years, 8 months ago) by gray
Update


Revision 249 - Directory Listing
Modified Tue Jul 25 21:41:39 2006 UTC (14 years, 8 months ago) by gray
(get_immediate): Compensate for changes in
eval_environment
(eval_environment): Fix reenterability: increase env->pc only when
the instruction returns successfully.


Revision 248 - Directory Listing
Modified Tue Jul 25 21:41:14 2006 UTC (14 years, 8 months ago) by gray
(struct message_data): New members env, helostr and numrcpt
(priv_get): Initialize new message_data members
(ctx_getsym): Special handling for $s - sendmail does not set it
when calling xxfi_helo
(filter_cleanup): Use priv_get instead of MLFIPRIV
Destroy the environment
(mlfi_helo): Use priv_get instead of MLFIPRIV
Set md->helostr
(mlfi_envfrom): Use priv_get instead of MLFIPRIV
Use md->env instead of creating new environment
(mlfi_envrcpt): Increase numrcpt
(mlfi_eom): Use priv_get instead of MLFIPRIV


Revision 247 - Directory Listing
Modified Tue Jul 25 21:40:36 2006 UTC (14 years, 8 months ago) by gray
(LDADD): Use MILTER variable instead of hardcoding -lmilter


Revision 246 - Directory Listing
Modified Tue Jul 25 21:40:24 2006 UTC (14 years, 8 months ago) by gray
Implement --with-forks option from 1.x branch.


Revision 238 - Directory Listing
Modified Wed Jun 14 17:31:17 2006 UTC (14 years, 10 months ago) by gray
Update


Revision 237 - Directory Listing
Modified Wed Jun 14 17:30:38 2006 UTC (14 years, 10 months ago) by gray
Adopt new MU namespace
(instr_and,instr_or): Remove


Revision 236 - Directory Listing
Modified Wed Jun 14 17:30:22 2006 UTC (14 years, 10 months ago) by gray
Adopt new MU namespace
New option --source


Revision 235 - Directory Listing
Modified Wed Jun 14 17:30:00 2006 UTC (14 years, 10 months ago) by gray
(instr_and,instr_or): Remove
Adopt new MU namespace


Revision 234 - Directory Listing
Modified Wed Jun 14 17:29:40 2006 UTC (14 years, 10 months ago) by gray
Adopt new MU namespace


Revision 233 - Directory Listing
Modified Wed Jun 14 17:29:27 2006 UTC (14 years, 10 months ago) by gray
Adopt new MU namespace
(code_node): Fix generation of 'and' and 'or' code


Revision 232 - Directory Listing
Modified Wed Jun 14 17:29:02 2006 UTC (14 years, 10 months ago) by gray
Remove MU_COMPAT. We need the latest mailutils (pre 1.0)


Revision 209 - Directory Listing
Modified Tue Jan 17 10:42:23 2006 UTC (15 years, 2 months ago) by gray
Updated


Revision 208 - Directory Listing
Modified Tue Jan 17 10:42:13 2006 UTC (15 years, 2 months ago) by gray
(check_portspec): Fix eventual coredump and add more checks.


Revision 204 - Directory Listing
Modified Tue Jan 10 20:28:23 2006 UTC (15 years, 3 months ago) by gray
Updated


Revision 203 - Directory Listing
Modified Tue Jan 10 20:27:44 2006 UTC (15 years, 3 months ago) by gray
(adjust_stack): Fix typo (reverted sign)
(get_immediate): pc is already advanced by 1 by the time the
function is called.
(instr_bz, instr_bnz, instr_jmp): Fix 2nd. argument to advance_pc
(instr_callout): Fix typo: adjust_stack instead of advance_pc.


Revision 202 - Directory Listing
Modified Tue Jan 10 20:27:17 2006 UTC (15 years, 3 months ago) by gray
(config_dump): Renamed to config_dump_tree.
(code_dump): Renamed to config_dump_code.
New opions --dump-tree (eq. --debug=d), --dump-grammar-trace
(eq. --debug=y), --dump-lex-trace (eq. --debug=l), --dump-code
(eq. --debug=c).


Revision 201 - Directory Listing
Modified Tue Jan 10 20:26:42 2006 UTC (15 years, 3 months ago) by gray
(code_node): Use BNZ for branching.
[poll]: bugfix


Revision 200 - Directory Listing
Modified Tue Jan 10 16:59:02 2006 UTC (15 years, 3 months ago) by gray
Fix typo


Revision 199 - Directory Listing
Modified Tue Jan 10 16:52:54 2006 UTC (15 years, 3 months ago) by gray
Update


Revision 198 - Directory Listing
Modified Tue Jan 10 16:52:45 2006 UTC (15 years, 3 months ago) by gray
(code_dump): New  variable (--debug=c option)
(ctx_getsym,ctx_setreply,ctx_setheader): Moved from gram.y
(mlfi_envfrom): Rewritten using new functions
(decode_debug): Handle [cC]
(main): Generate code and, if required, print it on stdout


Revision 197 - Directory Listing
Modified Tue Jan 10 16:52:19 2006 UTC (15 years, 3 months ago) by gray
(regex_flags): Extern declaration
(eval_environ_t,instr_t,prog_counter_t): New types.
(instr_xchg,instr_ston,instr_ntos,instr_locus,instr_push_immediate)
(instr_symbol,instr_bz,instr_bnz,instr_jmp,instr_callout,instr_dup)
(instr_cmp,instr_pop,instr_and,instr_or,instr_regex,instr_regcomp)
(instr_fnmatch,instr_not,instr_next,instr_return,instr_header)
(instr_resolve,instr_relayed_domain,instr_rate,instr_eqn,instr_eqs)
(instr_nen,instr_nen,create_environment,destroy_environment)
(eval_environment,environment_get_status,codegen)
(parse_error_locus): New functions


Revision 196 - Directory Listing
Modified Tue Jan 10 16:51:38 2006 UTC (15 years, 3 months ago) by gray
Return EQ and NE as keywords.
(parse_error_locus): New function.


Revision 195 - Directory Listing
Modified Tue Jan 10 16:51:22 2006 UTC (15 years, 3 months ago) by gray
(codegen): Add code generation functions.
(name_comp,name_destroy,dict_init,dict_install,dict_destroy)
(dict_getsym): Move to prog.c
(eval_poll,eval_hostname,eval_rate,eval_node)
(eval_node_list,run_program): Remove runtime evaluation functions
(ctx_getsym,ctx_setreply,ctx_setheader): Moved to main.c
(test_program): Rewritten using new functions


Revision 194 - Directory Listing
Modified Tue Jan 10 16:50:51 2006 UTC (15 years, 3 months ago) by gray
Run-time evaluation


Revision 193 - Directory Listing
Modified Tue Jan 10 16:50:23 2006 UTC (15 years, 3 months ago) by gray
(mailfromd_SOURCES): Add rate.c


Revision 190 - Directory Listing
Modified Fri Jan 6 10:49:45 2006 UTC (15 years, 3 months ago) by gray
Update


Revision 189 - Directory Listing
Modified Fri Jan 6 10:49:10 2006 UTC (15 years, 3 months ago) by gray
Update


Revision 188 - Directory Listing
Modified Fri Jan 6 10:48:28 2006 UTC (15 years, 3 months ago) by gray
Remove leftover argc_unquote_char


Revision 187 - Directory Listing
Modified Thu Jan 5 16:01:05 2006 UTC (15 years, 3 months ago) by gray
Updated


Revision 186 - Directory Listing
Modified Thu Jan 5 15:55:52 2006 UTC (15 years, 3 months ago) by gray
Updated


Revision 185 - Directory Listing
Modified Thu Jan 5 15:36:10 2006 UTC (15 years, 3 months ago) by gray
Updated


Revision 184 - Directory Listing
Modified Thu Jan 5 15:35:42 2006 UTC (15 years, 3 months ago) by gray
(check_portspec): New function.


Revision 183 - Directory Listing
Modified Thu Jan 5 15:35:20 2006 UTC (15 years, 3 months ago) by gray
Mention BROKEN_PTHREAD_SLEEP Sendmail variable


Revision 182 - Directory Listing
Modified Thu Jan 5 15:34:44 2006 UTC (15 years, 3 months ago) by gray
Raise version number to 1.3


Revision 181 - Directory Listing
Modified Thu Nov 24 15:30:08 2005 UTC (15 years, 4 months ago) by gray
Updated


Revision 180 - Directory Listing
Modified Thu Nov 24 15:29:56 2005 UTC (15 years, 4 months ago) by gray
(AM_CPPFLAGS): Define MU_COMPAT, needed for latest mailutils.


Revision 179 - Directory Listing
Modified Tue Sep 20 19:30:12 2005 UTC (15 years, 6 months ago) by gray
(resolve_ipstr): Lock critical section


Revision 178 - Directory Listing
Modified Tue Sep 20 19:21:34 2005 UTC (15 years, 6 months ago) by gray
Updated


Revision 177 - Directory Listing
Modified Tue Sep 20 19:19:55 2005 UTC (15 years, 6 months ago) by gray
(resolve_ipstr): Removed in favor of the new implementation.


Revision 176 - Directory Listing
Modified Tue Sep 20 19:19:36 2005 UTC (15 years, 6 months ago) by gray
(resolve_ipstr): New implementation, taking into account cnames.


Revision 174 - Directory Listing
Modified Thu Aug 18 14:53:23 2005 UTC (15 years, 7 months ago) by gray
Updated


Revision 173 - Directory Listing
Modified Wed Aug 17 09:27:11 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 172 - Directory Listing
Modified Wed Aug 17 09:27:03 2005 UTC (15 years, 8 months ago) by gray
 Raised version number to 1.2


Revision 171 - Directory Listing
Modified Wed Aug 17 09:26:53 2005 UTC (15 years, 8 months ago) by gray
(AUTOMAKE_OPTIONS): New variable


Revision 170 - Directory Listing
Modified Wed Aug 17 09:25:52 2005 UTC (15 years, 8 months ago) by gray
Added to the repository


Revision 169 - Directory Listing
Modified Wed Aug 17 09:17:23 2005 UTC (15 years, 8 months ago) by gray
(db_delete): Fix


Revision 168 - Directory Listing
Modified Wed Aug 17 09:15:56 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 167 - Directory Listing
Modified Wed Aug 17 09:15:43 2005 UTC (15 years, 8 months ago) by gray
(rate_delete): New function


Revision 166 - Directory Listing
Modified Wed Aug 17 09:15:33 2005 UTC (15 years, 8 months ago) by gray
Option --delete takes an optional argument, as --list and --expire


Revision 165 - Directory Listing
Modified Wed Aug 17 09:15:15 2005 UTC (15 years, 8 months ago) by gray
(db_delete): New function


Revision 164 - Directory Listing
Modified Wed Aug 17 09:15:03 2005 UTC (15 years, 8 months ago) by gray
(cache_delete): Rewritten using db_delete


Revision 163 - Directory Listing
Modified Wed Aug 17 08:37:00 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 162 - Directory Listing
Modified Wed Aug 17 08:36:55 2005 UTC (15 years, 8 months ago) by gray
(line_add_unescape): Use argcv_unquote_char


Revision 161 - Directory Listing
Modified Wed Aug 17 08:34:29 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 160 - Directory Listing
Modified Wed Aug 17 08:34:16 2005 UTC (15 years, 8 months ago) by gray
(getmx): Return immediately in mf_temp_failure.


Revision 159 - Directory Listing
Modified Wed Aug 17 08:34:03 2005 UTC (15 years, 8 months ago) by gray
Use separate expiration times for \negative and positive entries.


Revision 158 - Directory Listing
Modified Wed Aug 17 08:33:52 2005 UTC (15 years, 8 months ago) by gray
Use separate expiration times for negative and positive entries.


Revision 157 - Directory Listing
Modified Tue Aug 9 12:15:48 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 156 - Directory Listing
Modified Tue Aug 9 12:15:37 2005 UTC (15 years, 8 months ago) by gray
New option --syslog (cancels --stderr).
(parse_opt) Make sure the errors are reported on stderr wherever
it is connected to a tty (unless in daemon mode or otherwise
directed by --syslog option).


Revision 155 - Directory Listing
Modified Mon Aug 8 15:14:09 2005 UTC (15 years, 8 months ago) by gray
Minor fixes


Revision 154 - Directory Listing
Modified Mon Aug 8 09:21:43 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 153 - Directory Listing
Modified Mon Aug 8 09:21:34 2005 UTC (15 years, 8 months ago) by gray
(node_type_continue): Renamed to node_type_next


Revision 152 - Directory Listing
Modified Mon Aug 8 09:21:24 2005 UTC (15 years, 8 months ago) by gray
(NEXT): New token


Revision 151 - Directory Listing
Modified Mon Aug 8 09:21:14 2005 UTC (15 years, 8 months ago) by gray
(stmtlist): Bugfix
(NEXT): New token


Revision 150 - Directory Listing
Modified Mon Aug 8 08:42:51 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 149 - Directory Listing
Modified Mon Aug 8 08:42:45 2005 UTC (15 years, 8 months ago) by gray
(node_type_continue): New node type


Revision 148 - Directory Listing
Modified Mon Aug 8 08:42:32 2005 UTC (15 years, 8 months ago) by gray
(ACT_CONTINUE): Continue execution of the program


Revision 147 - Directory Listing
Modified Mon Aug 8 08:19:19 2005 UTC (15 years, 8 months ago) by gray
Update


Revision 146 - Directory Listing
Modified Mon Aug 8 08:19:09 2005 UTC (15 years, 8 months ago) by gray
New file


Revision 145 - Directory Listing
Modified Mon Aug 8 08:18:43 2005 UTC (15 years, 8 months ago) by gray
(get_rate): Optimized expiration logic.
(rate_list_item,rate_list_db): Rewritten using functions from db.c
(rate_expire_db): New function


Revision 144 - Directory Listing
Modified Mon Aug 8 08:18:26 2005 UTC (15 years, 8 months ago) by gray
(MAILFROMD_EXPIRE_RATEDB): New mode
(parse_opt): Removed --list-rates option. Both --list and --expire
now take an optional argument, specifying which database to
operate upon.
(set_rates_expire): New function. Handles rates-expire-interval
pragma.


Revision 143 - Directory Listing
Modified Mon Aug 8 08:18:06 2005 UTC (15 years, 8 months ago) by gray
(cache_list_item,cache_list_db,cache_expire_db):
Rewritten using functions from db.c


Revision 142 - Directory Listing
Modified Mon Aug 8 08:17:51 2005 UTC (15 years, 8 months ago) by gray
(db_item_printer_t,db_expire_t): New types
(rate_expire_db,db_list_item,db_list,db_expire): New functions


Revision 141 - Directory Listing
Modified Mon Aug 8 08:16:56 2005 UTC (15 years, 8 months ago) by gray
(mailfromd_SOURCES): Add db.c
(AM_CPPFLAGS): Define DEFAULT_EXPIRE_RATES_INTERVAL


Revision 140 - Directory Listing
Modified Mon Aug 8 08:15:20 2005 UTC (15 years, 8 months ago) by gray
(DEFAULT_EXPIRE_RATES_INTERVAL): New variable


Revision 139 - Directory Listing
Modified Sun Aug 7 11:22:11 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 138 - Directory Listing
Modified Sun Aug 7 11:21:44 2005 UTC (15 years, 8 months ago) by gray
Documented rate statement


Revision 137 - Directory Listing
Modified Sun Aug 7 11:21:19 2005 UTC (15 years, 8 months ago) by gray
Rename getmx_status to mf_status


Revision 136 - Directory Listing
Modified Sun Aug 7 11:21:04 2005 UTC (15 years, 8 months ago) by gray
Add support for rate statement


Revision 135 - Directory Listing
Modified Sun Aug 7 11:20:37 2005 UTC (15 years, 8 months ago) by gray
Add rate.c


Revision 134 - Directory Listing
Modified Sun Aug 7 11:20:27 2005 UTC (15 years, 8 months ago) by gray
Added to the repository


Revision 133 - Directory Listing
Modified Sun Aug 7 11:19:50 2005 UTC (15 years, 8 months ago) by gray
Complain if a DB support is required but not found.


Revision 132 - Directory Listing
Modified Sun Jul 31 17:30:19 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 131 - Directory Listing
Modified Sun Jul 31 17:26:05 2005 UTC (15 years, 8 months ago) by gray
(_getmx): Fix eventual buffer overflow.


Revision 130 - Directory Listing
Modified Sun Jul 31 17:25:54 2005 UTC (15 years, 8 months ago) by gray
(check_on_host): Destroy IO data only if these have been initialized.


Revision 129 - Directory Listing
Modified Thu Jul 28 12:21:09 2005 UTC (15 years, 8 months ago) by gray
Update


Revision 128 - Directory Listing
Modified Thu Jul 28 12:20:24 2005 UTC (15 years, 8 months ago) by gray
Do not include gram.h
        (eval_hostname): Return with unmodified val if resolve_ipstr
        fails.


Revision 127 - Directory Listing
Modified Thu Jul 28 10:14:28 2005 UTC (15 years, 8 months ago) by gray
Updated


Revision 126 - Directory Listing
Modified Thu Jul 28 10:14:20 2005 UTC (15 years, 8 months ago) by gray
Include resolv.h after netinet/in.h


Revision 125 - Directory Listing
Modified Thu Jul 28 10:14:02 2005 UTC (15 years, 8 months ago) by gray
Bugfix: place LIBOBJS into LDADD


Revision 124 - Directory Listing
Modified Thu Jul 28 10:13:47 2005 UTC (15 years, 8 months ago) by gray
Raised version number to 1.1
        Check for argcv_unescape_char vs. argcv_unquote_char (CVS
        mailutils declares the latter).


Revision 123 - Directory Listing
Modified Thu Jun 30 08:57:54 2005 UTC (15 years, 9 months ago) by gray
Updated


Revision 122 - Directory Listing
Modified Thu Jun 30 08:57:06 2005 UTC (15 years, 9 months ago) by gray
Fixed usage of @email{}


Revision 121 - Directory Listing
Modified Thu Jun 30 08:53:52 2005 UTC (15 years, 9 months ago) by gray
Minor fixes in @url usage


Revision 120 - Directory Listing
Modified Fri Jun 17 14:52:13 2005 UTC (15 years, 9 months ago) by gray
Updated


Revision 119 - Directory Listing
Modified Fri Jun 17 14:52:02 2005 UTC (15 years, 9 months ago) by gray
(method_strict): Give precedence to temporary
failure, if it occurs in any poll.
(method_standard): Check the client host unless mx check gives
success. Give precedence to temporary failure, if it occurs in any
poll.


Revision 118 - Directory Listing
Modified Fri Jun 17 14:51:24 2005 UTC (15 years, 9 months ago) by gray
(cache_expire_db): Check for res==NULL.


Revision 117 - Directory Listing
Modified Thu Jun 16 08:15:33 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 116 - Directory Listing
Modified Thu Jun 16 08:14:54 2005 UTC (15 years, 10 months ago) by gray
(eval_poll): Fix wording in the trace message


Revision 115 - Directory Listing
Modified Thu Jun 16 08:11:11 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 114 - Directory Listing
Modified Thu Jun 16 08:10:50 2005 UTC (15 years, 10 months ago) by gray
(smtp_send2,smtp_send3): Send fully formed command, along with final CRLF, in one go.


Revision 113 - Directory Listing
Modified Mon Jun 13 09:02:34 2005 UTC (15 years, 10 months ago) by gray
(method_standard): Bugfix: probe MXs first.


Revision 112 - Directory Listing
Modified Sun Jun 12 16:33:16 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 111 - Directory Listing
Modified Sun Jun 12 16:10:55 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 110 - Directory Listing
Modified Sun Jun 12 15:42:35 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 109 - Directory Listing
Modified Sun Jun 12 15:42:19 2005 UTC (15 years, 10 months ago) by gray
Finished


Revision 108 - Directory Listing
Modified Sun Jun 12 15:41:49 2005 UTC (15 years, 10 months ago) by gray
(distuninstallcheck_listfiles): New variable. The
install-data-local rule in etc/Makefile.am breaks distuninstall
checks, hence the need to fix it.


Revision 107 - Directory Listing
Modified Sun Jun 12 15:40:59 2005 UTC (15 years, 10 months ago) by gray
Raised version number to 1.0


Revision 106 - Directory Listing
Modified Sun Jun 12 13:47:52 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 105 - Directory Listing
Modified Sun Jun 12 13:46:27 2005 UTC (15 years, 10 months ago) by gray
check_on_host,check_mx_records,method_strict,method_standard): Accept two additional arguments.


Revision 104 - Directory Listing
Modified Sun Jun 12 13:46:04 2005 UTC (15 years, 10 months ago) by gray
(smtp_domain,postmaster_email): External declarations.


Revision 103 - Directory Listing
Modified Sun Jun 12 13:45:52 2005 UTC (15 years, 10 months ago) by gray
Handle new keywords: not, as, from.


Revision 102 - Directory Listing
Modified Sun Jun 12 13:45:40 2005 UTC (15 years, 10 months ago) by gray
Allow two additional arguments to poll: as and from.


Revision 101 - Directory Listing
Modified Sun Jun 12 13:45:21 2005 UTC (15 years, 10 months ago) by gray
Install mailfromd.rc


Revision 100 - Directory Listing
Modified Sun Jun 12 13:45:08 2005 UTC (15 years, 10 months ago) by gray
Updated to match recent changes.


Revision 99 - Directory Listing
Modified Sun Jun 12 13:44:52 2005 UTC (15 years, 10 months ago) by gray
Warn if DBM support is not configured


Revision 98 - Directory Listing
Modified Fri Jun 10 15:25:30 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 97 - Directory Listing
Modified Fri Jun 10 15:25:04 2005 UTC (15 years, 10 months ago) by gray
Changed option handling


Revision 96 - Directory Listing
Modified Fri Jun 10 15:24:38 2005 UTC (15 years, 10 months ago) by gray
Add new declarations


Revision 95 - Directory Listing
Modified Fri Jun 10 15:24:18 2005 UTC (15 years, 10 months ago) by gray
Parse pragma directives


Revision 94 - Directory Listing
Modified Fri Jun 10 15:23:59 2005 UTC (15 years, 10 months ago) by gray
Add configurable regcomp flags.
(parse_pragma): New function


Revision 93 - Directory Listing
Modified Fri Jun 10 15:23:32 2005 UTC (15 years, 10 months ago) by gray
Add missing includes.
(free_mx_buffer): Removed


Revision 92 - Directory Listing
Modified Fri Jun 10 15:23:12 2005 UTC (15 years, 10 months ago) by gray
(MAILFROMSTATEDIR): Remove definition


Revision 91 - Directory Listing
Modified Fri Jun 10 15:22:57 2005 UTC (15 years, 10 months ago) by gray
Added to the repository


Revision 90 - Directory Listing
Modified Fri Jun 10 15:20:32 2005 UTC (15 years, 10 months ago) by gray
New subst variable MAILFROMSTATEDIR


Revision 89 - Directory Listing
Modified Fri Jun 10 15:20:19 2005 UTC (15 years, 10 months ago) by gray
(SUBDIRS): Add etc


Revision 88 - Directory Listing
Modified Fri Jun 10 07:40:25 2005 UTC (15 years, 10 months ago) by gray
Minor formatting fixes


Revision 87 - Directory Listing
Modified Fri Jun 10 07:39:48 2005 UTC (15 years, 10 months ago) by gray
Bugfix


Revision 86 - Directory Listing
Modified Thu Jun 9 10:18:08 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 85 - Directory Listing
Modified Thu Jun 9 10:17:20 2005 UTC (15 years, 10 months ago) by gray
(relayed_domain_p): Verify full hostname as well
(method_strict,method_standard): Return success on empty email.


Revision 84 - Directory Listing
Modified Thu Jun 9 10:16:51 2005 UTC (15 years, 10 months ago) by gray
Implement new keyword 'relayed'


Revision 83 - Directory Listing
Modified Thu Jun 9 09:46:41 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 82 - Directory Listing
Modified Thu Jun 9 09:46:32 2005 UTC (15 years, 10 months ago) by gray
(do_trace): New variable (option --trace)
(vlogmsg,logmsg,transcript): Fixed signature (const char *fmt).
(trace): New function.
(parse_opt): Handle --trace option.


Revision 81 - Directory Listing
Modified Thu Jun 9 09:46:08 2005 UTC (15 years, 10 months ago) by gray
(debug4,debug5,debug6): New macros
(struct locus): new data type
(struct poll_action, struct node): Include locus
(get_locus, trace): New functions


Revision 80 - Directory Listing
Modified Thu Jun 9 09:45:45 2005 UTC (15 years, 10 months ago) by gray
Return locus along with the keyword


Revision 79 - Directory Listing
Modified Thu Jun 9 09:45:34 2005 UTC (15 years, 10 months ago) by gray
Improved tracing and debugging output


Revision 78 - Directory Listing
Modified Thu Jun 9 09:45:25 2005 UTC (15 years, 10 months ago) by gray
(EXTRA_DIST): Added gram.h


Revision 77 - Directory Listing
Modified Thu Jun 9 09:45:15 2005 UTC (15 years, 10 months ago) by gray
Raised version number to 0.9.9


Revision 76 - Directory Listing
Modified Thu Jun 9 00:23:09 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 75 - Directory Listing
Modified Thu Jun 9 00:19:02 2005 UTC (15 years, 10 months ago) by gray
Reimplement header operations


Revision 74 - Directory Listing
Modified Thu Jun 9 00:18:41 2005 UTC (15 years, 10 months ago) by gray
New keyword HOSTNAME.


Revision 73 - Directory Listing
Modified Thu Jun 9 00:18:31 2005 UTC (15 years, 10 months ago) by gray
Use new debug macros


Revision 72 - Directory Listing
Modified Thu Jun 9 00:18:14 2005 UTC (15 years, 10 months ago) by gray
New debug macros.
(node_type_hostname): New node type


Revision 71 - Directory Listing
Modified Wed Jun 8 15:27:11 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 70 - Directory Listing
Modified Wed Jun 8 15:26:59 2005 UTC (15 years, 10 months ago) by gray
src/.cvsignore


Revision 69 - Directory Listing
Modified Wed Jun 8 15:26:05 2005 UTC (15 years, 10 months ago) by gray
Major rewrite: removed predefined and configurable
actions, get *the program* to be executed from the configuration
file.


Revision 68 - Directory Listing
Modified Wed Jun 8 15:25:39 2005 UTC (15 years, 10 months ago) by gray
Add new includes
(DEFAULT_CONFIG_FILE): New define
Add parse tree-related data types
(parse_error,yyparse,source,parse_config): New declarations


Revision 67 - Directory Listing
Modified Wed Jun 8 15:25:10 2005 UTC (15 years, 10 months ago) by gray
 mailutils/mailutils.h are now included from mailfrom.h


Revision 66 - Directory Listing
Modified Wed Jun 8 15:24:45 2005 UTC (15 years, 10 months ago) by gray
(mailfromd_SOURCES): Add gram.y lex.l
(AM_CPPFLAGS): Define SYSCONFDIR
(AM_YFLAGS,AM_LFLAGS): New vars


Revision 65 - Directory Listing
Modified Wed Jun 8 15:24:17 2005 UTC (15 years, 10 months ago) by gray
Configuration file lexical analyzer.


Revision 64 - Directory Listing
Modified Wed Jun 8 15:23:32 2005 UTC (15 years, 10 months ago) by gray
Configuration file grammar and run-time support.


Revision 63 - Directory Listing
Modified Wed Jun 8 15:23:04 2005 UTC (15 years, 10 months ago) by gray
Check for yacc and lex


Revision 61 - Directory Listing
Modified Wed Jun 8 09:19:22 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 60 - Directory Listing
Modified Wed Jun 8 09:18:54 2005 UTC (15 years, 10 months ago) by gray
(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.


Revision 59 - Directory Listing
Modified Tue Jun 7 12:29:51 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 58 - Directory Listing
Modified Tue Jun 7 12:29:40 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 57 - Directory Listing
Modified Tue Jun 7 12:29:34 2005 UTC (15 years, 10 months ago) by gray
(method_fp,method_standard,method_strict): Changed
return type. All callers updated.
(check_on_host): Issue EHLO if remote party refuses HELO.


Revision 56 - Directory Listing
Modified Mon Jun 6 19:25:45 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 55 - Directory Listing
Modified Mon Jun 6 19:25:28 2005 UTC (15 years, 10 months ago) by gray
(method_standard): Check the host first, only if it does not answer, check MXs.


Revision 54 - Directory Listing
Modified Mon Jun 6 13:36:52 2005 UTC (15 years, 10 months ago) by gray
Minor fix


Revision 53 - Directory Listing
Modified Mon Jun 6 13:23:51 2005 UTC (15 years, 10 months ago) by gray
(install-data-local): use $(mkdir_p)


Revision 52 - Directory Listing
Modified Mon Jun 6 12:54:45 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 51 - Directory Listing
Modified Mon Jun 6 12:47:00 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 50 - Directory Listing
Modified Mon Jun 6 12:46:52 2005 UTC (15 years, 10 months ago) by gray
(action_failure_default): Changed to return:reject
(SMTP_MAJOR): New macro
(check_on_host): Use SMTP_MAJOR


Revision 49 - Directory Listing
Modified Sun Jun 5 22:10:42 2005 UTC (15 years, 10 months ago) by gray
More docs


Revision 48 - Directory Listing
Modified Sun Jun 5 18:59:30 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 47 - Directory Listing
Modified Sun Jun 5 18:56:04 2005 UTC (15 years, 10 months ago) by gray
(add_header): Removed. Use per-message private data
to keep it. All referers updated.
(--delete): New mode
(--expire): New mode


Revision 46 - Directory Listing
Modified Sun Jun 5 18:55:35 2005 UTC (15 years, 10 months ago) by gray
(cache_expire_db): New function


Revision 45 - Directory Listing
Modified Sun Jun 5 18:54:25 2005 UTC (15 years, 10 months ago) by gray
(install-data-local): Create MAILFROMSTATEDIR


Revision 44 - Directory Listing
Modified Sun Jun 5 18:54:02 2005 UTC (15 years, 10 months ago) by gray
More documentation


Revision 43 - Directory Listing
Modified Sun Jun 5 09:29:09 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 42 - Directory Listing
Modified Sun Jun 5 09:28:25 2005 UTC (15 years, 10 months ago) by gray
(capa): Add license capability.


Revision 41 - Directory Listing
Modified Sun Jun 5 09:27:49 2005 UTC (15 years, 10 months ago) by gray
(cache_get): Do not update timestamps on each retrieval.


Revision 40 - Directory Listing
Modified Sun Jun 5 09:27:24 2005 UTC (15 years, 10 months ago) by gray
Created documentation framework


Revision 39 - Directory Listing
Modified Sun Jun 5 09:27:04 2005 UTC (15 years, 10 months ago) by gray
Bugfixes


Revision 38 - Directory Listing
Modified Sun Jun 5 07:04:48 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 37 - Directory Listing
Modified Sun Jun 5 07:04:27 2005 UTC (15 years, 10 months ago) by gray
(check_mx_records): Bugfix. Provide default return
value in case no MX records are found.
(mailfromd_show_defaults): Show MAILFROMSTATEDIR


Revision 36 - Directory Listing
Modified Sun Jun 5 07:04:06 2005 UTC (15 years, 10 months ago) by gray
(_getmx): Rewritten using BIND-4-style interface. See comment to this function for the reasons of this regress.


Revision 35 - Directory Listing
Modified Sun Jun 5 07:03:42 2005 UTC (15 years, 10 months ago) by gray
(DEFAULT_PIDFILE,DEFAULT_DATABASE): Use MAILFROMSTATEDIR instead of LOCALSTATEDIR.


Revision 34 - Directory Listing
Modified Sun Jun 5 07:03:25 2005 UTC (15 years, 10 months ago) by gray
(AM_CPPFLAGS): Define MAILFROMSTATEDIR instead
of LOCALSTATEDIR
(LDADD): Get rid of static linkage with libresolv


Revision 33 - Directory Listing
Modified Sun Jun 5 07:02:57 2005 UTC (15 years, 10 months ago) by gray
(DEFAULT_SOCKET): Change default


Revision 32 - Directory Listing
Modified Sat Jun 4 20:39:10 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 31 - Directory Listing
Modified Sat Jun 4 20:38:10 2005 UTC (15 years, 10 months ago) by gray
Added to the repository


Revision 30 - Directory Listing
Modified Sat Jun 4 20:35:04 2005 UTC (15 years, 10 months ago) by gray
(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.


Revision 29 - Directory Listing
Modified Sat Jun 4 20:34:36 2005 UTC (15 years, 10 months ago) by gray
(AC_CONFIG_FILES): Add doc/Makefile


Revision 28 - Directory Listing
Modified Sat Jun 4 20:34:27 2005 UTC (15 years, 10 months ago) by gray
(SUBDIRS): Add doc


Revision 27 - Directory Listing
Modified Sat Jun 4 18:32:11 2005 UTC (15 years, 10 months ago) by gray
Bugfix


Revision 26 - Directory Listing
Modified Sat Jun 4 18:10:43 2005 UTC (15 years, 10 months ago) by gray
Bugfix


Revision 25 - Directory Listing
Modified Sat Jun 4 18:05:38 2005 UTC (15 years, 10 months ago) by gray
Get rid of xmalloc


Revision 24 - Directory Listing
Modified Sat Jun 4 17:29:30 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 23 - Directory Listing
Modified Sat Jun 4 17:28:52 2005 UTC (15 years, 10 months ago) by gray
New file


Revision 22 - Directory Listing
Modified Sat Jun 4 17:27:41 2005 UTC (15 years, 10 months ago) by gray
Caching functions


Revision 21 - Directory Listing
Modified Sat Jun 4 17:25:18 2005 UTC (15 years, 10 months ago) by gray
Added to the repository


Revision 20 - Directory Listing
Modified Sat Jun 4 17:24:49 2005 UTC (15 years, 10 months ago) by gray
Moved from ../. Added result caching and new operating modes.


Revision 19 - Directory Listing
Modified Sat Jun 4 17:24:04 2005 UTC (15 years, 10 months ago) by gray
Moved from ../


Revision 18 - Directory Listing
Modified Sat Jun 4 17:22:05 2005 UTC (15 years, 10 months ago) by gray
Moved to src/


Revision 17 - Directory Listing
Modified Sat Jun 4 17:21:02 2005 UTC (15 years, 10 months ago) by gray
Updated for deep directory structure. Detect DBM/NDBM/GDBM, define variables for caching. Raised version number to 0.2


Revision 16 - Directory Listing
Modified Sat Jun 4 17:20:42 2005 UTC (15 years, 10 months ago) by gray
Updated for deep directory stru\cture


Revision 15 - Directory Listing
Modified Sat Jun 4 14:02:53 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 14 - Directory Listing
Modified Sat Jun 4 14:00:08 2005 UTC (15 years, 10 months ago) by gray
Implemented two methods: standard (the default) and strict (the one that was implemented initially).


Revision 13 - Directory Listing
Modified Sat Jun 4 13:58:05 2005 UTC (15 years, 10 months ago) by gray
Do not skip hostname when checking. Handle both IP address and FQDN as input.


Revision 12 - Directory Listing
Modified Sat Jun 4 09:43:38 2005 UTC (15 years, 10 months ago) by gray
(parse_action): Use strtok_r


Revision 11 - Directory Listing
Modified Sat Jun 4 09:25:09 2005 UTC (15 years, 10 months ago) by gray
Removed standard file


Revision 10 - Directory Listing
Modified Sat Jun 4 09:23:55 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 9 - Directory Listing
Modified Sat Jun 4 09:23:36 2005 UTC (15 years, 10 months ago) by gray
Rewritten action system. Documented the code.


Revision 8 - Directory Listing
Modified Fri Jun 3 20:45:28 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 7 - Directory Listing
Modified Fri Jun 3 20:44:56 2005 UTC (15 years, 10 months ago) by gray
(parse_opt): Ordered switch cases.
(main): Switch to user's privileges only if started as root.


Revision 6 - Directory Listing
Modified Fri Jun 3 13:01:17 2005 UTC (15 years, 10 months ago) by gray
Updated


Revision 2 - Directory Listing
Modified Fri Jun 3 12:56:43 2005 UTC (15 years, 10 months ago) by gray
Initial revision


Revision 1 - Directory Listing
Added Fri Jun 3 12:56:43 2005 UTC (15 years, 10 months ago) by (unknown author)
New repository initialized by cvs2svn.

Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20