CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 05:52:11 Modified files: usr.sbin/smtpd : smtpd.c Log message: use absolute path as fts may chdir() during traversal. ok gilles@

CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 05:57:26 Modified files: usr.sbin/smtpd : smtp_session.c Log message: alter line contents before writing it, rather than after... ok gilles@

CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 08:01:34 Modified files: usr.sbin/smtpd : util.c smtpd.h envelope.c Log message: remove envelope_get_errormsg() and move envelope_set_errormsg() to envelope.c ok gilles@

CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 10:00:56 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: Add a fsqueue_envelope_dump_atomic() function that writes an envelope to incoming/envelope.tmp before moving it to its final

CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 11:06:18 Modified files: usr.sbin/smtpd : control.c parser.c parser.h smtp.c smtpctl.c smtpd.c smtpd.h Log message: Remove dead code for config reloading for now. It is

CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 13:59:07 Modified files: usr.sbin/smtpd : delivery_mbox.c mda.c smtpd.h Log message: use mbox backend for mbox delivery. ok gilles@

CVS: cvs.openbsd.org: src

2012-01-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/12 15:59:55 Modified files: usr.sbin/smtpd : bounce.c runner.c smtpctl.c Log message: The status field in the envelope is confusing. Its only purpose is to notify the runner of what happened with an

CVS: cvs.openbsd.org: src

2012-01-13 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/13 07:01:58 Modified files: usr.sbin/smtpd : mda.c mta.c queue.c runner.c smtpd.c smtpd.h Log message: Stop using envelope-status to report delivery outcome to the runner/queue. Instead, replace

CVS: cvs.openbsd.org: src

2012-01-13 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/13 07:27:55 Modified files: usr.sbin/smtpd : smtp.c smtp_session.c smtpd.h Log message: remove the status field from struct envelope, move it to the smtp session, and cleanup the DS_* flags. ok

CVS: cvs.openbsd.org: src

2012-01-13 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/13 14:58:36 Modified files: usr.sbin/smtpd : queue.c queue_backend.c queue_fsqueue.c smtpd.h Log message: queue_message_purge() and queue_message_delete() are actually the same thing. Remove

CVS: cvs.openbsd.org: src

2012-01-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/14 01:37:16 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: Add a fsqueue_message_path() function to build path to message dir and use it where appropriate. ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-01-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/14 03:48:47 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: When creating a new message (in incoming/) make sure that the msgid does not already exist in queue/ to prevent possible

CVS: cvs.openbsd.org: src

2012-01-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/14 05:56:49 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: Change fsqueue_*_path() to report success or failure instead of fatal(). Make sure at init time that all paths can contain

CVS: cvs.openbsd.org: src

2012-01-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/14 12:35:31 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: When moving a message to the corrupt/ directory, give it an alternate name if there is already an entry with the same name.

CVS: cvs.openbsd.org: src

2012-01-16 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/16 01:45:55 Modified files: sbin/isakmpd : sa.c Log message: import (and fix) net_addrcmp() from libc as a static function. It is going to get removed from libc and this file is the only one using

CVS: cvs.openbsd.org: src

2012-01-24 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/24 05:20:18 Modified files: usr.sbin/smtpd : queue_fsqueue.c smtpctl.c smtpd.c smtpd.h Log message: Add a parameter to the queue backend init() call to specify wether the call is issued by smtpd or

CVS: cvs.openbsd.org: src

2012-01-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/26 05:31:53 Modified files: usr.sbin/smtpd : mta.c Log message: Rewind the message fp before starting the SMTP dialog. It could have been read before during an aborted session on a previous MX.

CVS: cvs.openbsd.org: src

2012-01-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/28 08:11:06 Modified files: usr.sbin/smtpd : smtpd.h Log message: remove useless state ok gilles@

CVS: cvs.openbsd.org: src

2012-01-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/28 17:32:51 Added files: usr.sbin/smtpd : iobuf.c iobuf.h ioev.c ioev.h Log message: Import generic network IO code. The plan is to hide the boring details of IO operations such as buffering or

CVS: cvs.openbsd.org: src

2012-01-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/29 03:40:05 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: Quick fix to prevent two processes from using the same temporary envelope file at the same time. ok gilles@

CVS: cvs.openbsd.org: src

2012-01-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/29 03:42:23 Modified files: usr.sbin/smtpd : enqueue.c Log message: fix warning ok gilles@

CVS: cvs.openbsd.org: src

2012-01-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/29 04:37:32 Modified files: usr.sbin/smtpd : bounce.c mta.c smtp.c smtp_session.c smtpd.h ssl.c usr.sbin/smtpd/smtpd: Makefile Removed files: usr.sbin/smtpd

CVS: cvs.openbsd.org: src

2012-01-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/29 08:33:08 Modified files: usr.sbin/smtpd : smtp_session.c Log message: disable connection filter hook for now. fixes smtps. ok gilles@

CVS: cvs.openbsd.org: src

2012-01-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/29 09:51:00 Modified files: usr.sbin/smtpd : smtp_session.c Log message: For some reason, all recipients are rejected if the msg field is not initialized here. Fix it, but this requires further

CVS: cvs.openbsd.org: src

2012-01-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/01/29 09:54:13 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: Remove message directories right away instead of moving them to purge/. Prevent hitting dir entry limits when dealing with

CVS: cvs.openbsd.org: src

2012-02-01 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/02/01 10:25:29 Modified files: usr.sbin/smtpd : iobuf.c Log message: fix stupid mistake in buffer code ok gilles@

CVS: cvs.openbsd.org: src

2012-02-01 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/02/01 13:30:40 Modified files: usr.sbin/smtpd : mta.c Log message: When updating an envelope status, the update is immediatly sent to the queue and the envelope discarded from the mta batch. Also make

CVS: cvs.openbsd.org: src

2012-02-02 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/02/02 09:52:59 Modified files: usr.sbin/smtpd : enqueue.c Log message: Only use mime/line-split if the input message actually contains a very long line. ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-03-25 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/03/25 02:44:24 Modified files: usr.sbin/smtpd : mta.c Log message: Do not fatal() when failing to connect to a relay. Instead, drop the relay and try the next one. ok gilles@

CVS: cvs.openbsd.org: src

2012-03-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/03/27 06:53:33 Modified files: usr.sbin/smtpd : mta.c Log message: Do not try STARTTLS if the server does not advertise support for it (it apparently triggers very bizarre behaviour on some servers).

CVS: cvs.openbsd.org: src

2012-04-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/10 10:41:10 Modified files: lib/libc/net : getnetent.c Log message: Do not pick the network number as alias on entries with no alias defined. ok deraadt@

CVS: cvs.openbsd.org: src

2012-04-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/14 03:21:42 src/lib/libc/asr Update of /cvs/src/lib/libc/asr In directory cvs.openbsd.org:/tmp/cvs-serv10928/asr Log Message: Directory /cvs/src/lib/libc/asr added to the repository

CVS: cvs.openbsd.org: src

2012-04-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/14 03:24:19 Added files: lib/libc/asr : Makefile.inc asr.c asr.h asr_debug.c asr_private.h asr_resolver.c asr_utils.c async_resolver.3

CVS: cvs.openbsd.org: src

2012-04-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/14 06:06:13 Modified files: lib/libc/asr : Makefile.inc asr.c asr_private.h Log message: only define DEBUG internally

CVS: cvs.openbsd.org: src

2012-04-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/14 07:31:46 Modified files: usr.sbin/smtpd : dns.c Log message: improve readability ok gilles@

CVS: cvs.openbsd.org: src

2012-04-15 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/15 15:42:58 Modified files: lib/libc/asr : asr_debug.c Log message: calling getnameinfo here is a bad idea. use inet_ntop.

CVS: cvs.openbsd.org: src

2012-04-15 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/15 16:25:14 Modified files: lib/libc/asr : asr.c Log message: Create a new resolver for each thread. It will be done differently eventually, but it's enough for now to make the blocking API fully

CVS: cvs.openbsd.org: src

2012-04-25 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/04/25 14:28:25 Modified files: lib/libc/asr : asr_debug.c getaddrinfo_async.c gethostnamadr_async.c getnameinfo_async.c Log message: fix a few warnings

CVS: cvs.openbsd.org: src

2012-05-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/05/08 05:52:57 Modified files: usr.sbin/smtpd : smtp_session.c Log message: fix and re-enable connect notification to the mfa. filtering now occurs before setting up ssl on smtps connections. ok chl@

CVS: cvs.openbsd.org: src

2012-05-11 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/05/11 06:12:02 Modified files: usr.sbin/smtpd : mta.c smtpd.h usr.sbin/smtpd/smtpd: Makefile Added files: usr.sbin/smtpd : mta_session.c Log message: split the session logic off mta.c

CVS: cvs.openbsd.org: src

2012-05-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/05/12 11:41:27 Modified files: usr.sbin/smtpd : mta_session.c smtpd.h Log message: Update the internal mta implementation so that a session now has a list of messages to send to the remote smtp server

CVS: cvs.openbsd.org: src

2012-06-01 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/06/01 03:24:58 Modified files: usr.sbin/smtpd : envelope.c queue_fsqueue.c smtpd.h Log message: move envelope dump/load functions to envelope.c ok gilles@

CVS: cvs.openbsd.org: src

2012-06-01 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/06/01 05:42:34 Modified files: usr.sbin/smtpd : queue_backend.c queue_fsqueue.c Log message: on envelope creation, setup and reset the relevant envelope fields in the wrapper function rather than in

CVS: cvs.openbsd.org: src

2012-06-01 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/06/01 08:55:09 Modified files: usr.sbin/smtpd : smtp.c smtpd.c Log message: allow to pause some subsystems at startup. ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-06-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/06/03 13:52:56 Modified files: usr.sbin/smtpd : envelope.c queue_backend.c smtpd.h Log message: Do not store the envelope id within the envelope, only the message id. Make sure existing envelopes can

CVS: cvs.openbsd.org: src

2012-06-20 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/06/20 14:45:23 Modified files: usr.sbin/smtpd : bounce.c queue.c queue_backend.c queue_fsqueue.c runner.c scheduler_ramqueue.c smtpctl.c smtpd.h Log

CVS: cvs.openbsd.org: src

2012-07-02 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/02 07:22:14 Modified files: usr.sbin/smtpd : queue_fsqueue.c Log message: make backend functions static. ok gilles@

CVS: cvs.openbsd.org: src

2012-07-02 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/02 11:00:05 Modified files: usr.sbin/smtpd : queue_backend.c runner.c scheduler.c smtpctl.c smtpd.c smtpd.h Log message: Lookup queue and scheduler backends by name, rather

CVS: cvs.openbsd.org: src

2012-07-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/07 09:40:54 Modified files: lib/libc/asr : Makefile.inc Log message: remove bogus include of bsd.lib.mk

CVS: cvs.openbsd.org: src

2012-07-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/07 14:41:52 Modified files: lib/libc/asr : asr_debug.c asr_private.h res_send_async.c Log message: rename function to avoid symbol clash

CVS: cvs.openbsd.org: src

2012-07-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/08 07:12:46 Modified files: lib/libc/asr : asr_resolver.c Log message: add stub function for gethostent(), and move things around a bit while here.

CVS: cvs.openbsd.org: src

2012-07-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/08 11:01:06 Modified files: lib/libc/asr : asr_resolver.c Log message: implement res_querydomain() required by sendmail

CVS: cvs.openbsd.org: src

2012-07-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/09 06:16:24 Modified files: usr.sbin/smtpd : dns.c usr.sbin/smtpd/smtpd: Makefile Added files: usr.sbin/smtpd : thread_private.h Removed files: usr.sbin/smtpd : asr.c asr.h

CVS: cvs.openbsd.org: src

2012-07-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/10 03:20:51 Modified files: lib/libc/asr : getaddrinfo_async.c Log message: Better handling of servname in getaddrinfo_async. Do not necessarily fail if there is no entry for a given protocol. Fix

CVS: cvs.openbsd.org: src

2012-07-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/10 06:41:54 Modified files: lib/libc/asr : gethostnamadr_async.c Log message: use the value actually passed to the function

CVS: cvs.openbsd.org: src

2012-07-11 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/11 10:49:12 Modified files: lib/libc/asr : asr_resolver.c Log message: implement res_mkquery

CVS: cvs.openbsd.org: src

2012-07-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/12 07:01:06 Removed files: usr.sbin/smtpd : dnsdefs.h dnsutil.h Log message: remove unused files ok gilles@

CVS: cvs.openbsd.org: src

2012-07-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/12 07:03:34 Modified files: lib/libc/asr : gethostnamadr_async.c Log message: unused variables

CVS: cvs.openbsd.org: src

2012-07-13 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/13 08:05:12 Modified files: lib/libc/asr : getaddrinfo_async.c Log message: properly report EAI_SERVICE when the given servname is not defined for the given protocol.

CVS: cvs.openbsd.org: src

2012-07-13 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/13 11:49:54 Log message: import regression suite for asr Status: Vendor Tag: eric Release Tags: eric_g2k12 N src/regress/lib/libc/asr/regress.subr N

CVS: cvs.openbsd.org: src

2012-07-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/14 03:05:58 Modified files: usr.sbin/smtpd/smtpd: Makefile Log message: reorganize the makefile a bit ok gilles@

CVS: cvs.openbsd.org: src

2012-07-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/18 16:04:49 Modified files: usr.sbin/smtpd : scheduler.c Log message: make the scheduler less verbose by default. suggested by Percy Piper. ok gilles@

CVS: cvs.openbsd.org: src

2012-07-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/29 07:56:24 Modified files: usr.sbin/smtpd : mta.c mta_session.c smtpd.h Log message: remove the session tree from the global env and move it to mta_session.c, along with mta_relay and mta_session

CVS: cvs.openbsd.org: src

2012-07-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/29 10:33:01 Modified files: usr.sbin/smtpd : lka_session.c smtpd.h Log message: get rid of A_INVALID. little code cleanup while here. ok gilles@

CVS: cvs.openbsd.org: src

2012-07-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/29 11:33:55 Modified files: usr.sbin/smtpd : dns.c Log message: fix bogus permfail when no MX is defined on a valid domain. ok gilles@

CVS: cvs.openbsd.org: src

2012-07-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/29 13:51:36 Modified files: regress/lib/libc/asr: regress.sh regress/lib/libc/asr/bin: gethostnamadr.c Log message: add a flag to choose between gethostbyname and gethostbyaddr

CVS: cvs.openbsd.org: src

2012-07-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/29 14:16:02 Modified files: usr.sbin/smtpd : mta_session.c Log message: reset the session if no RCPT was accepted for the batch. ok gilles@

CVS: cvs.openbsd.org: src

2012-07-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/07/29 14:33:21 Modified files: lib/libc/asr : asr_resolver.c Log message: must be zero'd (found by regress)

CVS: cvs.openbsd.org: src

2012-08-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/07 14:36:10 Modified files: usr.sbin/smtpd : smtpctl.c Log message: fix evpid parsing on 32bit archs ok gilles@

CVS: cvs.openbsd.org: src

2012-08-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/07 15:00:31 Modified files: regress/lib/libc/asr: Makefile Log message: allow to choose an alternate regress script

CVS: cvs.openbsd.org: src

2012-08-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/07 15:47:58 Modified files: usr.sbin/smtpd : smtpd.h util.c usr.sbin/smtpd/smtpd: Makefile Added files: usr.sbin/smtpd : tree.c Log message: Implement a set of tree_* functions for

CVS: cvs.openbsd.org: src

2012-08-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/08 02:50:42 Modified files: usr.sbin/smtpd : bounce.c queue.c scheduler.c scheduler_backend.c scheduler_ramqueue.c smtpd.h util.c Log message:

CVS: cvs.openbsd.org: src

2012-08-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/08 11:28:36 Modified files: usr.sbin/smtpd : smtpd.c Log message: log received fd in log_imsg() if any ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-08-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/08 11:31:55 Modified files: usr.sbin/smtpd : queue_fsqueue.c dns.c Log message: cleanup some old debug traces ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-08-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/08 11:33:55 Modified files: usr.sbin/smtpd : control.c smtpctl.c smtpd.h Log message: remove useless defines ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-08-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/09 03:48:02 Modified files: usr.sbin/smtpd : bounce.c lka_session.c mda.c mta_session.c queue.c scheduler.c smtp.c smtpd.c smtpd.h Log message: Improve the message flows to

CVS: cvs.openbsd.org: src

2012-08-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/09 05:52:32 Modified files: usr.sbin/smtpd : bounce.c smtpd.h Log message: remove unused function and prototypes

CVS: cvs.openbsd.org: src

2012-08-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/09 06:19:33 Modified files: usr.sbin/smtpd : scheduler.c Log message: dead prototype

CVS: cvs.openbsd.org: src

2012-08-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/09 13:16:26 Modified files: usr.sbin/smtpd : scheduler.c Log message: Envelopes scheduled as removed are already deleted from the scheduler. Do not delete them twice.

CVS: cvs.openbsd.org: src

2012-08-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/10 03:16:02 Modified files: usr.sbin/smtpd : control.c Log message: code cleanup ok gilles@

CVS: cvs.openbsd.org: src

2012-08-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/10 05:05:55 Modified files: usr.sbin/smtpd : mta_session.c smtp_session.c smtpd.h Log message: Move mta and smtp specific defines into their own files. Some formatting cleanups while there. ok

CVS: cvs.openbsd.org: src

2012-08-11 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/11 06:43:11 Modified files: usr.sbin/smtpd : util.c Log message: make sure generated id is never 0. ok gilles@

CVS: cvs.openbsd.org: src

2012-08-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/18 07:31:03 Modified files: lib/libc/asr : hostaddr_async.c Log message: Simplify error reporting in hostaddr_async(). Only use EAI_* error codes.

CVS: cvs.openbsd.org: src

2012-08-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/18 07:49:13 Modified files: lib/libc/asr : asr_resolver.c getrrsetbyname_async.c Log message: getrrsetyname() only uses ERRSET_* and is not supposed to set errno. make sure to save and restore

CVS: cvs.openbsd.org: src

2012-08-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/18 09:39:26 Modified files: usr.sbin/smtpd : bounce.c Log message: Limit the number of bounce sessions running at the same time. When committed, a bounce is put on a runnable list of bounces. This

CVS: cvs.openbsd.org: src

2012-08-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/18 09:45:12 Modified files: usr.sbin/smtpd : mta.c mta_session.c smtpd.h Log message: Major update of the mta internals. Add a mta_route structure which describes a route through which outgoing

CVS: cvs.openbsd.org: src

2012-08-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/18 10:48:18 Modified files: lib/libc/asr : asr.c asr_resolver.c async_resolver.3 Log message: ensure that async_run() and async_run_sync() always preserve errno.

CVS: cvs.openbsd.org: src

2012-08-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/18 14:52:36 Modified files: usr.sbin/smtpd : mta_session.c queue.c smtpd.h Log message: zap struct mta_batch. Only pass ids where needed. ok gilles@

CVS: cvs.openbsd.org: src

2012-08-19 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/19 04:28:28 Modified files: usr.sbin/smtpd : ioev.c Log message: Add warnings on io errors to help diagnosis. ok gilles@ chl@

CVS: cvs.openbsd.org: src

2012-08-19 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/19 04:33:35 Modified files: usr.sbin/smtpd : scheduler_ramqueue.c Log message: Let the scheduler return all schedulable envelopes for the same message as a single batch. The route for each envelope

CVS: cvs.openbsd.org: src

2012-08-19 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/19 06:56:59 Removed files: usr.sbin/smtpd : stats.c Log message: kill dead file that must die. ok chl@

CVS: cvs.openbsd.org: src

2012-08-19 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/19 10:17:40 Modified files: lib/libc/asr : asr.h asr_resolver.c async_resolver.3 gethostnamadr_async.c getnameinfo_async.c getnetnamadr_async.c

CVS: cvs.openbsd.org: src

2012-08-19 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/19 11:59:15 Modified files: lib/libc/asr : asr_resolver.c Log message: Build static netent and hostent structure in a nicer and hopefully not broken way. Make it almost trivial to implement

CVS: cvs.openbsd.org: src

2012-08-20 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/20 11:32:37 Modified files: usr.sbin/smtpd : stat_ramstat.c Log message: start iterating from min, not root. ok gilles@

CVS: cvs.openbsd.org: src

2012-08-20 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/20 12:18:16 Modified files: usr.sbin/smtpd : control.c stat_backend.c Log message: Do not send more bytes than necessary with IMSG_STAT_*. The INCREMENT and DECREMENT messages just contain the key

CVS: cvs.openbsd.org: src

2012-08-21 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/21 07:13:17 Modified files: usr.sbin/smtpd : mda.c mta.c mta_session.c queue.c scheduler.c smtpd.c smtpd.h Log message: Re-enable loop detection, but in mta and mda this

CVS: cvs.openbsd.org: src

2012-08-21 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/21 08:00:59 Modified files: usr.sbin/smtpd : dns.c Log message: dns sessions don't use lookup. no need to store them in a tree. ok gilles@

CVS: cvs.openbsd.org: src

2012-08-21 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/21 09:14:40 Modified files: usr.sbin/smtpd : dns.c Log message: Use TAILQ rather than array for mx list. ok gilles@

CVS: cvs.openbsd.org: src

2012-08-21 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/21 14:07:07 Modified files: usr.sbin/smtpd : mta_session.c Log message: Try to connect to the next host if an IO error occurs before the mta is ready to send a mail. ok gilles@

CVS: cvs.openbsd.org: src

2012-08-21 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2012/08/21 14:19:46 Modified files: usr.sbin/smtpd : dns.c envelope.c lka_session.c mta.c mta_session.c parse.y smtpd.conf.5 smtpd.h Log message: Allow smtpd to work as a backup

<    1   2   3   4   5   6   7   8   9   >