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

Log of /trunk/gacopyz

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 1779)

Revision 1779 - Directory Listing
Modified Thu Mar 12 21:55:08 2009 UTC (12 years, 6 months 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 1765 - Directory Listing
Modified Fri Nov 28 11:24:59 2008 UTC (12 years, 10 months ago) by gray
Add const qualifiers to gacopyz_getsymval, gacopyz_replace_body and
derived functions.


Revision 1718 - Directory Listing
Modified Sun Nov 2 09:20:59 2008 UTC (12 years, 10 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 1704 - Directory Listing
Modified Wed Oct 22 20:44:05 2008 UTC (12 years, 11 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, 11 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, 11 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, 11 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 1698 - Directory Listing
Modified Sun Oct 12 23:13:08 2008 UTC (12 years, 11 months ago) by gray
Bugfixes.

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


Revision 1659 - Directory Listing
Modified Sat Aug 16 21:31:06 2008 UTC (13 years, 1 month 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 1656 - Directory Listing
Modified Sun Jun 22 08:22:18 2008 UTC (13 years, 3 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 1612 - Directory Listing
Modified Sun Feb 10 14:08:36 2008 UTC (13 years, 7 months ago) by gray
Merged HEAD from branches/gmach

Revision 1606 - Directory Listing
Modified Wed Feb 6 19:08:31 2008 UTC (13 years, 7 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 1603 - Directory Listing
Modified Mon Feb 4 21:49:35 2008 UTC (13 years, 7 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 1534 - Directory Listing
Modified Wed Dec 12 12:22:30 2007 UTC (13 years, 9 months ago) by gray
Reflect recent changes to Mailutils.

Revision 1515 - Directory Listing
Modified Fri Oct 12 11:15:54 2007 UTC (13 years, 11 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 1498 - Directory Listing
Modified Thu Aug 9 12:02:14 2007 UTC (14 years, 1 month ago) by gray
Use URL instead of FSF address in copyright statements

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

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

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

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

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

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

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

Revision 1379 - Directory Listing
Modified Tue Apr 24 15:44:01 2007 UTC (14 years, 5 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 1369 - Directory Listing
Modified Sat Apr 21 09:49:41 2007 UTC (14 years, 5 months ago) by gray
Improve logging

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

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

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

Revision 1297 - Directory Listing
Modified Mon Mar 19 19:18:43 2007 UTC (14 years, 6 months 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, 6 months ago) by gray
Testsuite uses mtasim instead of sendmail

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

Revision 1283 - Directory Listing
Modified Fri Mar 9 10:22:18 2007 UTC (14 years, 6 months 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, 6 months ago) by gray
Implement mail from and rcpt to

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

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

Revision 1248 - Directory Listing
Modified Sun Feb 11 20:22:41 2007 UTC (14 years, 7 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, 7 months ago) by gray
Update

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

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


Revision 1199 - Directory Listing
Modified Sun Jan 21 19:57:36 2007 UTC (14 years, 8 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, 8 months ago) by gray
(smfi_setpriv, smfi_getpriv): Rename to gacopyz_*


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


Revision 1164 - Directory Listing
Modified Sat Jan 13 13:41:14 2007 UTC (14 years, 8 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, 8 months ago) by gray
(GACOPYZ_VBUFSIZE): New define
(gacopyz_format_vbuf): New decl


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


Revision 1019 - Directory Listing
Modified Sun Dec 3 09:26:25 2006 UTC (14 years, 9 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, 9 months ago) by gray
(noinst_PROGRAMS): Remove


Revision 853 - Directory Listing
Modified Fri Nov 10 21:44:07 2006 UTC (14 years, 10 months ago) by gray
build the targets inconditionally


Revision 851 - Directory Listing
Modified Fri Nov 10 16:54:53 2006 UTC (14 years, 10 months ago) by gray
Update


Revision 812 - Directory Listing
Modified Wed Nov 8 17:57:13 2006 UTC (14 years, 10 months ago) by gray
(parse_state_arg): Bugfix: do not reuse parsing buffer!


Revision 788 - Directory Listing
Modified Sun Nov 5 13:31:21 2006 UTC (14 years, 10 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, 10 months ago) by gray
(gacopyz_handle_connection): Reset SIGTERM and SIGHUP in child.


Revision 783 - Directory Listing
Modified Sat Nov 4 13:50:16 2006 UTC (14 years, 10 months ago) by gray
 (ctx_read,ctx_write): Return immediately on timeout and eof.


Revision 775 - Directory Listing
Modified Fri Nov 3 18:40:16 2006 UTC (14 years, 10 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, 10 months ago) by gray
(gacopyz_cleanup_children): Change signature


Revision 773 - Directory Listing
Modified Fri Nov 3 18:39:49 2006 UTC (14 years, 10 months ago) by gray
(gacopyz_run): Update invocation of gacopyz_cleanup_children.


Revision 760 - Directory Listing
Modified Fri Nov 3 15:00:30 2006 UTC (14 years, 10 months ago) by gray
(macro_assoc_free): Initialize macro_assoc_t fields to NULL


Revision 757 - Directory Listing
Modified Fri Nov 3 13:12:44 2006 UTC (14 years, 10 months ago) by gray
(smfi_main): Remove debugging hook


Revision 756 - Directory Listing
Modified Fri Nov 3 13:11:41 2006 UTC (14 years, 10 months ago) by gray
Update


Revision 748 - Directory Listing
Modified Fri Nov 3 12:59:02 2006 UTC (14 years, 10 months ago) by gray
*** empty log message ***


Revision 747 - Directory Listing
Added Fri Nov 3 12:58:18 2006 UTC (14 years, 10 months ago) by gray
See /libmilter for the previous history


Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20