CVS: cvs.openbsd.org: src

2018-06-01 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/06/01 06:24:16 Modified files: usr.sbin/smtpd : mta.c parse.y smtpd.conf.5 smtpd.h Log message: Require a valid certificate by default when relaying through a smarthost. Add "tls no-verify" relay

CVS: cvs.openbsd.org: src

2018-06-05 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/06/05 05:34:21 Modified files: usr.sbin/smtpd : mta.c smtpd.h Log message: remove struct relayhost from struct envelope. ok gilles@

CVS: cvs.openbsd.org: src

2018-06-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/06/07 01:06:06 Modified files: usr.sbin/smtpd : mta.c Log message: simplify the codepath for backup relay setup ok gilles@

CVS: cvs.openbsd.org: src

2018-06-06 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/06/06 13:12:09 Modified files: usr.sbin/smtpd : mta.c Log message: code cleanup ok gilles@ semarie@

CVS: cvs.openbsd.org: src

2018-04-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/26 15:19:46 Modified files: usr.sbin/smtpd : smtp_client.c smtpc.c Log message: fix build for smtp(1) after log.h update

CVS: cvs.openbsd.org: src

2018-04-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/26 14:57:59 Modified files: usr.sbin/smtpd : log.h makemap.c smtpctl.c smtpd.c smtpd.h util.c Log message: sync log.h with other daemons ok gilles@

CVS: cvs.openbsd.org: src

2018-04-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/29 03:23:00 Modified files: usr.sbin/smtpd : smtp_session.c Log message: remove useless indirections

CVS: cvs.openbsd.org: src

2018-04-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/29 02:59:30 Modified files: usr.sbin/smtpd : smtp_session.c Log message: move "mail from" and "rcpt to" code into their own function. ok gilles@

CVS: cvs.openbsd.org: src

2018-01-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/01/26 01:00:54 Modified files: usr.sbin/smtpd : smtpctl.c spfwalk.c Log message: allow unpriviledged user to run "encrypt" and "spf walk" ok todd@, gilles@, sunil@

Re: CVS: cvs.openbsd.org: src

2018-01-26 Thread Eric Faurot
On Fri, Jan 26, 2018 at 01:00:54AM -0700, Eric Faurot wrote: > CVSROOT: /cvs > Module name: src > Changes by: e...@cvs.openbsd.org2018/01/26 01:00:54 > > Modified files: > usr.sbin/smtpd : smtpctl.c spfwalk.c > > Log message: > allow unprivi

CVS: cvs.openbsd.org: src

2018-01-15 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/01/15 01:48:40 Modified files: usr.sbin/smtpd : spfwalk.c Log message: fix parsing of RDATA for TXT records ok gilles@

CVS: cvs.openbsd.org: src

2018-01-30 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/01/30 05:44:55 Modified files: usr.sbin/smtpd : smtpctl.c util.c Log message: don't reject smtp responses containing non-printable chars as long as the status is valid. use strnvis() for displaying

CVS: cvs.openbsd.org: src

2018-02-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/02/09 02:29:03 Modified files: usr.sbin/smtpd : smtp_session.c Log message: isolate calls to the rfc2822 parser and handling of "." in smtp_dataline() ok gilles@

CVS: cvs.openbsd.org: src

2018-02-06 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/02/06 06:00:48 Modified files: lib/libc/asr : asr.c Log message: make sure that all error paths are correctly handled in asr_run_sync() and that the result is always properly set when the functions

CVS: cvs.openbsd.org: src

2018-02-16 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/02/16 13:57:30 Modified files: usr.sbin/smtpd : rfc2822.h smtp_session.c Log message: bump max line length to 16K for incoming mail. SMTP commands are still limited to LINE_MAX. ok gilles@

CVS: cvs.openbsd.org: src

2018-08-22 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/08/22 04:11:43 Modified files: usr.sbin/smtpd : mta.c Log message: Fix a crash when relaying with authentication but auth table is not set. found by and ok stsp@

CVS: cvs.openbsd.org: src

2018-08-23 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/08/23 04:07:06 Added files: usr.sbin/smtpd : rfc5322.h rfc5322.c Log message: import alternative message parser (not used yet).

CVS: cvs.openbsd.org: src

2018-07-25 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/07/25 10:00:48 Modified files: usr.sbin/smtpd : dns.c lka.c mta.c mta_session.c pony.c smtp.c smtp_session.c smtpd.c smtpd.h usr.sbin/smtpd/smtpd: Makefile Added

CVS: cvs.openbsd.org: src

2018-08-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/08/29 11:56:17 Modified files: usr.sbin/smtpd : resolver.c Log message: clean up the imsg structure for getnameinfo lookup results. fix a crash with ill-configured reverse address. found by jturner@

CVS: cvs.openbsd.org: src

2018-09-04 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/04 11:19:01 Modified files: usr.sbin/smtpd : mta_session.c Log message: remove useless session flag ok gilles@

CVS: cvs.openbsd.org: src

2018-09-05 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/05 11:32:56 Modified files: usr.sbin/lpd : engine.c frontend.c logmsg.c lpd.h resolver.c Log message: synchronize resolver code with smtpd

CVS: cvs.openbsd.org: src

2018-08-31 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/08/31 01:28:27 Modified files: usr.sbin/smtpd : smtp_session.c smtpd.h usr.sbin/smtpd/smtpd: Makefile Log message: switch to improved incoming message parser: - simpler interface not using

CVS: cvs.openbsd.org: src

2018-09-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/08 04:05:07 Modified files: usr.sbin/smtpd : mta.c mta_session.c smtpd.h to.c Log message: use symbolic integer values for the different tls options when relaying, rather than a confusing set of

CVS: cvs.openbsd.org: src

2018-09-05 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/05 04:15:41 Modified files: usr.sbin/smtpd : mta_session.c Log message: rename flag ok gilles@

CVS: cvs.openbsd.org: src

2018-03-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/03/14 15:16:31 Modified files: usr.sbin/smtpd : spfwalk.c Log message: skip spf mechanisms that have been processed already. prevent possible loops on badly configured spf records. ok gilles@

CVS: cvs.openbsd.org: src

2018-04-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/26 07:53:13 src/usr.sbin/smtpd/smtp Update of /cvs/src/usr.sbin/smtpd/smtp In directory cvs.openbsd.org:/tmp/cvs-serv59673/smtp Log Message: Directory /cvs/src/usr.sbin/smtpd/smtp added to the repository

CVS: cvs.openbsd.org: src

2018-04-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/26 07:57:13 Added files: usr.sbin/smtpd : smtp.1 smtp.h smtp_client.c smtpc.c usr.sbin/smtpd/smtp: Makefile Log message: add a simple SMTP client ok gilles@

CVS: cvs.openbsd.org: src

2018-04-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/04/26 08:40:09 Modified files: usr.sbin/smtpd : smtp.1 Log message: fix OpenBSD release

CVS: cvs.openbsd.org: www

2018-10-26 Thread Eric Faurot
CVSROOT:/cvs Module name:www Changes by: e...@cvs.openbsd.org2018/10/26 08:48:34 Modified files: opensmtpd : index.html Added files: opensmtpd/announces: release-6.4.0.txt Log message: OpenSMTPD 6.4.0 released. committing on behalf of gilles@

CVS: cvs.openbsd.org: src

2018-11-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/03 03:13:24 Modified files: lib/libc/asr : getaddrinfo_async.c Log message: For correctness, do not read struct servent if getservbyname_r() failed. Also simplify code.

CVS: cvs.openbsd.org: src

2018-11-11 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/11 07:00:51 Modified files: usr.sbin/smtpd : mproc.c Log message: accept NULL as a valid string in the proc message formating api. ok gilles@

CVS: cvs.openbsd.org: src

2018-11-11 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/11 07:56:05 Modified files: usr.sbin/smtpd : resolver.c Log message: Fix resolver_getaddrinfo(): use NULL strings in underlying messages where appropriate and add missing check before

CVS: cvs.openbsd.org: src

2018-11-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/12 05:31:49 Modified files: usr.sbin/smtpd : resolver.c Log message: simplify code for resolver_getnaimeinfo() ok gilles@

CVS: cvs.openbsd.org: src

2018-10-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/10/03 05:43:57 Modified files: usr.sbin/smtpd : spfwalk.c Log message: correctly handle "+a:..." entries from gilles@ ok otto@ gilles@

CVS: cvs.openbsd.org: src

2018-10-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/10/03 05:47:17 Removed files: usr.sbin/smtpd : rfc2822.c rfc2822.h Log message: remove unused files

CVS: cvs.openbsd.org: src

2018-08-30 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/08/30 05:58:01 Modified files: usr.sbin/smtpd : smtp_client.c Log message: fix use-after-free spotted by jsg@ input from jsg@ miko@

CVS: cvs.openbsd.org: src

2018-09-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/03 05:48:27 Modified files: usr.sbin/smtpd : mta_session.c Log message: use new smarthost syntax in log message

CVS: cvs.openbsd.org: www

2018-09-03 Thread Eric Faurot
CVSROOT:/cvs Module name:www Changes by: e...@cvs.openbsd.org2018/09/03 05:32:00 Modified files: faq: current.html Log message: describe smarthost syntax change in smtpd.conf

CVS: cvs.openbsd.org: src

2018-09-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/03 05:30:14 Modified files: usr.sbin/smtpd : to.c smtpd.conf.5 Log message: Update and document syntax for smarthost string in smtpd.conf: - the +auth specifier is removed: it is implied by the

CVS: cvs.openbsd.org: src

2018-09-04 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/04 04:08:22 Modified files: usr.sbin/smtpd : mta_session.c Log message: remove unused flags

CVS: cvs.openbsd.org: src

2018-09-24 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/24 10:14:34 Modified files: usr.sbin/smtpd : mta.c parse.y smtpd.conf.5 smtpd.h Log message: Allow to use the "tls" keyword on any relay action to force TLS, with strict certificate validation. The

CVS: cvs.openbsd.org: src

2018-09-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/26 10:28:34 Modified files: usr.sbin/smtpd : dns.c Log message: treat NOTIMP as NO_DATA in response to MX query: fallback to hostname lookup instead of bouncing the mail. ok gilles@

CVS: cvs.openbsd.org: src

2018-09-20 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/20 05:42:28 Modified files: usr.sbin/smtpd : smtp.h smtp_client.c smtpc.c Log message: properly handle credentials and fix auth in smtp(1) ok gilles@

CVS: cvs.openbsd.org: src

2018-09-20 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/20 04:22:14 Modified files: usr.sbin/smtpd : mta_session.c Log message: fix indentation

CVS: cvs.openbsd.org: src

2018-11-16 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/16 13:55:59 Modified files: usr.sbin/smtpd : smtpd.c Log message: add missing imsg names

CVS: cvs.openbsd.org: src

2018-11-16 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/16 13:55:23 Modified files: usr.sbin/smtpd : smtp_session.c Log message: when using smtps, tls initialisation must occur after FILTER_CONNECTED has been evaluated. ok gilles@

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 12:13:18 Removed files: usr.sbin/smtpd : table_api.c Log message: remove unused file

CVS: cvs.openbsd.org: src

2018-12-23 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/23 08:53:24 Modified files: usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c Log message: Simplify the table backend interface:

CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/26 04:53:02 Modified files: usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c Log message: move the table backend name in the backend

CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/26 07:15:13 Modified files: usr.sbin/smtpd : aliases.c lka.c lka_filter.c lka_session.c ruleset.c smtpd.h table.c table_db.c table_getpwnam.c

CVS: cvs.openbsd.org: src

2018-12-23 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/23 09:37:53 Modified files: usr.sbin/smtpd : lka.c mta.c mta_session.c pony.c smtp.c smtp_session.c smtpd.c smtpd.h Log message: remove dead code ok gilles@

CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/26 10:37:15 Modified files: usr.sbin/smtpd : ruleset.c Log message: simplify code ok gilles@

CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/26 13:13:43 Modified files: usr.sbin/smtpd : aliases.c lka.c lka_session.c smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c

CVS: cvs.openbsd.org: src

2018-12-26 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/26 08:55:09 Modified files: usr.sbin/smtpd : lka_filter.c ruleset.c smtpd.h table.c Log message: introduce a table_match() function to check for a key in a table ok gilles@

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 01:08:06 Modified files: usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c Log message: Make the backend open method return an int

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 01:57:03 Modified files: usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c Log message: change the close() method to take the

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 02:30:29 Modified files: usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c Log message: pass the table pointer to the

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 07:23:41 Modified files: usr.sbin/smtpd : smtpd.h table.c table_db.c table_getpwnam.c table_proc.c table_static.c Log message: introduce dump() and add() table methods,

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 07:41:46 Modified files: usr.sbin/smtpd : table_db.c Log message: move the iterator variable in the private handle. it is now correctly reset between updates. ok gilles@

CVS: cvs.openbsd.org: src

2018-12-27 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/27 08:04:59 Modified files: usr.sbin/smtpd : table.c table_db.c table_static.c Log message: table_fetch() always expect a valid dst pointer. ok gilles@

CVS: cvs.openbsd.org: src

2018-12-11 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/11 03:31:45 Modified files: usr.sbin/smtpd : smtp_session.c Log message: fix previous ok gilles@

CVS: cvs.openbsd.org: src

2018-12-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/11 00:25:57 Modified files: usr.sbin/smtpd : smtpd.h cert.c Log message: Improve the cert_*() interface. Use the return value to tell whether the request is pending (waiting for an async event) or

CVS: cvs.openbsd.org: src

2018-12-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/11 00:57:31 Modified files: usr.sbin/smtpd : smtp_session.c Log message: remove unnecessary calls to getsockname() ok gilles@

CVS: cvs.openbsd.org: src

2018-12-17 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/17 01:56:31 Modified files: usr.sbin/smtpd : mproc.c Log message: set the return pointer to NULL when receiving a 0-sized data. ok gilles

CVS: cvs.openbsd.org: src

2018-12-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/14 02:18:03 Modified files: usr.sbin/smtpd : smtp_session.c Log message: use new cert helpers for incoming smtp sessions ok gilles@

CVS: cvs.openbsd.org: src

2018-12-17 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/17 04:14:56 Modified files: usr.sbin/smtpd : mta_session.c Log message: use new cert helpers for mta sessions ok @gilles

CVS: cvs.openbsd.org: src

2018-12-15 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/15 08:16:12 Modified files: regress/lib/libc/asr/bin: common.c common.h getaddrinfo.c gethostnamadr.c getnameinfo.c getnetnamadr.c

CVS: cvs.openbsd.org: src

2018-11-29 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/11/29 01:30:27 Modified files: usr.sbin/smtpd : smtp_session.c Log message: simplify ok gilles@

CVS: cvs.openbsd.org: src

2018-12-03 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/03 14:19:10 Modified files: usr.sbin/smtpd : smtp_session.c Log message: Perform forward-confirmed reverse DNS verification on incoming connections. Only flag the session for now. input from and ok

CVS: cvs.openbsd.org: src

2018-12-07 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/07 01:05:59 Modified files: usr.sbin/smtpd : lka.c pony.c smtpd.c smtpd.h usr.sbin/smtpd/smtpd: Makefile Added files: usr.sbin/smtpd : cert.c Log message: Refactor certificate

CVS: cvs.openbsd.org: src

2019-01-09 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/01/10 00:40:52 Modified files: usr.sbin/smtpd : table.c Log message: report errno in debug logs and other minor cleanups. ok gilles@

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 05:47:28 Modified files: usr.sbin/smtpd : aliases.c Log message: zap unused code

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 03:42:18 Modified files: usr.sbin/smtpd : table_static.c Log message: use private data structure for managing static table content ok gilles@

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 04:13:58 Modified files: usr.sbin/smtpd : smtpd.h table.c Log message: remove unused members in struct table

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 06:47:54 Modified files: usr.sbin/smtpd : table.c Log message: simplify code ok gilles@

CVS: cvs.openbsd.org: src

2019-01-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/01/14 02:37:40 Modified files: usr.sbin/smtpd : smtpctl.c Log message: correctly retrieve envelope strings. fixes mailq output. ok gilles@

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 07:21:02 Modified files: usr.sbin/smtpd : config.c parse.y table_static.c Log message: type static tables on the fly when the first element is added ok gilles@

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 08:09:28 Modified files: usr.sbin/smtpd : smtpd.h table.c Log message: introduce table_dump() and tweak format ok gilles@

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 04:40:29 Modified files: usr.sbin/smtpd : aliases.c config.c lka.c lka_session.c makemap.c parse.y ruleset.c smtpd.h table.c Log message: remove the tag workaround for

CVS: cvs.openbsd.org: src

2018-12-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/12/28 04:11:36 Modified files: usr.sbin/smtpd : table_static.c Log message: fix logging of list entries

CVS: cvs.openbsd.org: src

2018-09-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/18 23:31:12 Modified files: usr.sbin/smtpd : mta.c smtpd.h Log message: rename the ill-named "flags" member to "as_host" in domain structure. remove yet another useless relay flag while there. ok

CVS: cvs.openbsd.org: src

2018-09-17 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2018/09/17 06:16:27 Modified files: usr.sbin/smtpd : mta.c mta_session.c smtpd.h Log message: simplify code path for backup relay and remove useless flag ok gilles@

CVS: cvs.openbsd.org: src

2019-04-04 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/04/04 13:25:46 Modified files: usr.sbin/lpd : engine_lpr.c frontend_lpr.c proc.c resolver.c Log message: accept the NULL string in the proc message formatting api and simplify code accordingly.

CVS: cvs.openbsd.org: src

2019-04-06 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/04/06 04:35:48 Modified files: usr.sbin/lpd : resolver.c Log message: do not call freeaddrinfo() on a NULL pointer.

CVS: cvs.openbsd.org: src

2019-04-08 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/04/08 02:22:32 Modified files: usr.sbin/smtpd : smtpd.h Log message: remove unused declarations ok gilles@

CVS: cvs.openbsd.org: src

2019-02-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/02/28 06:23:33 Modified files: usr.sbin/smtpd : smtpd.h Log message: bump smtpd version on behalf of gilles@

CVS: cvs.openbsd.org: src

2019-06-13 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/06/13 05:45:35 Modified files: usr.sbin/smtpd : lka.c pony.c resolver.c smtpd.c smtpd.h Log message: extend the resolver interface to delegate res_query() calls to the lka. ok gilles@ sunil@

CVS: cvs.openbsd.org: src

2019-06-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/06/14 13:55:25 Modified files: usr.sbin/smtpd : mta.c mta_session.c runq.c smtpd.h Log message: simplify the runq interface: - remove (unused) per-job callback - rename runq_schedule() to

CVS: cvs.openbsd.org: src

2019-06-12 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/06/12 11:42:53 Modified files: usr.sbin/smtpd : iobuf.c iobuf.h ioev.c ioev.h mta_session.c smtp_client.c smtp_session.c usr.sbin/smtpd/smtp: Makefile

CVS: cvs.openbsd.org: src

2019-05-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/05/14 23:02:43 Modified files: usr.sbin/smtpd : smtpc.c Log message: normalize newlines when reading the message spotted by martijn@ ok martijn@ gilles@

CVS: cvs.openbsd.org: src

2019-05-15 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/05/15 05:56:19 Modified files: usr.sbin/smtpd : smtp_session.c Log message: do not use CRLF when passing data lines to filters. ok gilles@

CVS: cvs.openbsd.org: src

2019-05-14 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/05/14 06:08:54 Modified files: usr.sbin/smtpd : smtp_client.c Log message: fix typos in log messages

CVS: cvs.openbsd.org: src

2019-08-19 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/08/19 09:42:24 Modified files: usr.sbin/smtpd : mta.c Log message: use a specific and more relevant status message for failed smarthost resolution. ok gilles@

CVS: cvs.openbsd.org: src

2019-08-23 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/08/23 01:09:52 Modified files: usr.sbin/smtpd : smtpd.h util.c Log message: res_hnok() is too lenient wrt to acceptable domain name in mail addresses. replace it with a valid_domainname() check that

CVS: cvs.openbsd.org: src

2019-08-23 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/08/23 06:09:41 Modified files: usr.sbin/smtpd : util.c Log message: martijn@ found a regression so revert to the old behavior for now

CVS: cvs.openbsd.org: src

2019-08-23 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/08/23 09:39:12 Modified files: usr.sbin/smtpd : spfwalk.c Log message: only process records of the expected type. fix an issue where CNAME records generate bogus results. ok gilles@

CVS: cvs.openbsd.org: src

2019-09-02 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/09/02 14:05:21 Modified files: usr.sbin/smtpd : smtp.h smtp_client.c smtpc.c Log message: Request a new SSL structure for each TLS session. Fix a crash reported by Ross L Richardson. ok gilles@

CVS: cvs.openbsd.org: src

2019-08-28 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/08/28 13:46:20 Modified files: usr.sbin/smtpd : util.c Log message: change valid_domainname() to accept a trailing dot. ok millert@

CVS: cvs.openbsd.org: src

2019-09-10 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/09/10 06:08:26 Modified files: usr.sbin/smtpd : smtp_client.c Log message: immediatly close the connection if the cert is not valid, rather than ending the smtp session. ok gilles@

CVS: cvs.openbsd.org: src

2019-09-18 Thread Eric Faurot
CVSROOT:/cvs Module name:src Changes by: e...@cvs.openbsd.org2019/09/18 05:26:30 Modified files: usr.sbin/smtpd : dns.c mta.c mta_session.c smtpc.c smtpd.h ssl.h usr.sbin/smtpd/smtp: Makefile usr.sbin/smtpd/smtpd: Makefile Added files:

<    3   4   5   6   7   8   9   >