Displaying 1 50 of 6,749 commits (0.045s)

OpenBSD — usr.sbin/smtpd smtp_session.c

log ip addresses as well in authentication phase
ok gilles@
Delta File
+10 -7 usr.sbin/smtpd/smtp_session.c
+10 -7 1 file

OpenBSD — usr.sbin/smtpd smtpd.h

bump version

ok deraadt@
Delta File
+2 -2 usr.sbin/smtpd/smtpd.h
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

Create a smtp transaction context on a session only for the duration of
that transaction.

ok gilles@
Delta File
+79 -99 usr.sbin/smtpd/smtp_session.c
+79 -99 1 file

OpenBSD — usr.sbin/smtpd enqueue.c

add -r option to enqueuer as compat interface for mailx

diff by Richard <richard at aaazen.com>
Delta File
+5 -2 usr.sbin/smtpd/enqueue.c
+5 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

remove misleading comment. it's not true anymore.

ok gilles@
Delta File
+1 -5 usr.sbin/smtpd/smtp_session.c
+1 -5 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

datain counter is part of the transaction state

ok gilles@
Delta File
+5 -7 usr.sbin/smtpd/smtp_session.c
+5 -7 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

set the msgid on the transaction

ok gilles@ jung@
Delta File
+12 -9 usr.sbin/smtpd/smtp_session.c
+12 -9 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

always refer to the helo string stored on the session

ok gilles@
Delta File
+3 -3 usr.sbin/smtpd/smtp_session.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c parse.y

flag the local socket listener as local.
clarify check for local listeners.

ok gilles@ millert@

OpenBSD — usr.sbin/smtpd aliases.5

update aliases documentation to reflect reality
Delta File
+4 -3 usr.sbin/smtpd/aliases.5
+4 -3 1 file

pkgsrc — . pkglocate Makefile, archivers Makefile

Welcome to the pkgsrc-2016Q2 branch!

NetBSD — external/ibm-public/postfix/libexec/smtpd Makefile

Makefile.inc needs -I${DIST} to be the source dir of the program we are
compiling, make it so.

NetBSD — external/ibm-public/postfix/libexec/smtpd Makefile

Makefile.inc needs -I${DIST} to be the source dir of the program we are
compiling, make it so.
Delta File
+116 -1,140 external/ibm-public/postfix/libexec/smtpd/Makefile
+116 -1,140 1 file

NetBSD — external/ibm-public/postfix/libexec/smtpd Makefile

Fix MKCRYPTO=no

NetBSD — external/ibm-public/postfix/libexec/smtpd Makefile

Fix MKCRYPTO=no

OpenBSD — usr.sbin/smtpd smtp_session.c smtpd-api.h

Explicitely enclose SMTP transactions between BEGIN and COMMIT/ROLLBACK
filter events. Bump filter API version.

ok gilles@ jung@

FreeBSD Ports — head/mail/postfix-current distinfo Makefile

- update to 2.3.20160625

20160618
       Bugfix(introduced: 20091121): with the introduction of
       sender_dependent_default_transport_maps, the SMTP daemon
       was not updated. This resulted in false rejects with
       sender-dependent "error" transports. Based on a fix by
       Russell Yanofsky.  Files: global/resolve_clnt.c,
       global/resolve_clnt.h, smtpd/smtpd_check.c, smtpd/smtpd_check.h,
       smtpd/smtpd_milter.c, smtpd/smtpd_resolve.c, smtpd/smtpd_resolve.h.

20160619
       Refinements to the 20160618 fix. For more consistent results
       with sender address validation, use the recipient address
       (if available) as the sender-dependent address resolver
       context.  For better caching, pass sender context with all
       attempts to resolve an email address.  File: smtpd/smtpd.c,
       smtpd/smtpd_check.c, smtpd/smtpd_milter.c.

20160625
       Cleanup: the Postfix SMTP server now passes network address
       and port information to the Cyrus SASL library. Build with
       ``make makefiles "CCARGS=$CCARGS -DNO_IP_CYRUS_SASL_AUTH"''
       for backwards compatibility. Files: makedefs,
       smtpd/smtpd_sasl_glue.c, xsasl/xsasl.h, xsasl/xsasl_cyrus_server.c,

    [2 lines not shown]

OpenBSD — usr.sbin/smtpd smtp_session.c

move transaction-specific states from struct smtp_session to struct smtp_tx

ok gilles@
Delta File
+191 -150 usr.sbin/smtpd/smtp_session.c
+191 -150 1 file

OpenBSD — sbin/iked parse.y, sbin/ipsecctl parse.y

do not allow whitespace in macro names, i.e. "this is" = "a variable".
change this in all config parsers in our tree that support macros.
problem reported by sven falempin.

feedback from henning@, stsp@, deraadt@
ok florian@ mikeb@
Delta File
+9 -1 usr.sbin/ypldap/parse.y
+9 -1 sbin/ipsecctl/parse.y
+9 -1 sbin/pfctl/parse.y
+9 -1 usr.sbin/bgpd/parse.y
+9 -1 usr.sbin/dvmrpd/parse.y
+9 -1 usr.sbin/eigrpd/parse.y
+126 -14 14 files not shown
+180 -20 20 files

OpenBSD — usr.sbin/smtpd smtpd.c

with new fork+reexec, in case of failure in init of any child process
causing it to exit, we could end up with a NULL deref in parent.

free commit offered by eric@, ok gilles@
Delta File
+4 -1 usr.sbin/smtpd/smtpd.c
+4 -1 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

Also add missing date or message-id when listening on the submit port
ok gilles@
Delta File
+2 -2 usr.sbin/smtpd/smtp_session.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

properly reset the transaction when a filter rejects a message.

ok gilles@
Delta File
+4 -1 usr.sbin/smtpd/smtp_session.c
+4 -1 1 file

OpenBSD — usr.sbin/smtpd limit.c

increase number of connections a local address is allowed to establish
decrease the delay between transactions in the same session

ok eric@
Delta File
+3 -3 usr.sbin/smtpd/limit.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

'Received' header violates RFC when receiving a TLS session, rework format

reported by vstakhov
Delta File
+2 -2 usr.sbin/smtpd/smtp_session.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtpctl.8

Fix typo; OK jung@
Delta File
+3 -3 usr.sbin/smtpd/smtpctl.8
+3 -3 1 file

FreeBSD Ports — head/mail/postfix-current distinfo Makefile, head/mail/postfix-current/files patch-src_tls_tls.h patch-src__util__sys_defs.h

- update to 3.2-20160612
- fix build with LibreSSL [1]

20160601
        Cleanup: moved parsing of '!' operators from cidr_match.c
        to dict_cidr.c. Files: util/cidr_match.[hc], util/dict_cidr.c,
        util/match_ops.c.

20160604
        Cleanup: made parsing of '!' operators in regexp and pcre
        tables consistent with cidr tables. Files: util/dict_regexp.c,
        util/dict_pcre.c.

20160605
        Cleanup: integer wrap-around detection in the MySQL and
        PostgreSQL clients. This is totally non-critical because
        Postfix strings are size-limited by design. Files:
        global/dict_mysqql.c, global/dict_pgsql.c.

20160607
        Documentation: dnsblog.

20160609
        Documentation: postsuper(1) manpage text for multiple -[dhH]
        options.  File: postsuper/postsuper.c.

    [19 lines not shown]

OpenBSD — usr.sbin/smtpd smtp_session.c

quote space-containing values in smtpd logs or they become hard to parse

diff by Pavel Korovin <p at tristero.se>, ok giovanni@
Delta File
+6 -6 usr.sbin/smtpd/smtp_session.c
+6 -6 1 file

OpenBSD — usr.sbin/smtpd smtpd.c

use io_set_nonblocking() instead of SOCK_NONBLOCKING to reduce delta with
-portable
Delta File
+9 -3 usr.sbin/smtpd/smtpd.c
+9 -3 1 file

OpenBSD — usr.sbin/smtpd mproc.c

do not return on EAGAIN otherwise the event is never reloaded.

ok gilles@
Delta File
+2 -2 usr.sbin/smtpd/mproc.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd delivery_lmtp.c

LMTP banner is handled by a getline() call so it cannot handle multiline
banners, introduce lmtp_banner() which takes care of this.

ok sunil@
Delta File
+39 -6 usr.sbin/smtpd/delivery_lmtp.c
+39 -6 1 file

OpenBSD — usr.sbin/smtpd delivery_lmtp.c

delivery_lmtp does not know how to deal with LMTP servers returning
continuation lines, fix this.

reported and initial diff by parchd-1 @ github, ok sunil@
Delta File
+29 -9 usr.sbin/smtpd/delivery_lmtp.c
+29 -9 1 file

OpenBSD — usr.sbin/smtpd smtpctl.8

transfer is not a smtpctl command, but mta is

ok gilles
Delta File
+3 -3 usr.sbin/smtpd/smtpctl.8
+3 -3 1 file

OpenBSD — usr.sbin/smtpd to.c

Simplify address parsing code by only using inet_net_pton(3).

There's no need to have a separate case for non-CIDR addresses using
inet_pton(3) as inet_net_pton(3) handles them as well.

This simplification is valid for all our daemons parsing addresses,
it is a common patern.

ok gilles@, millert@
Delta File
+15 -37 usr.sbin/smtpd/to.c
+15 -37 1 file

OpenBSD — usr.sbin/smtpd smtpd.c config.c

Implement the fork+exec pattern in smtpd.

The parent process forks child processes and re-exec each of them with
an additional "-x <proc>" argument.  During the early setup phase, the
parent process sends ipc socket pairs to interconnect the child
processes as needed, and it passes the queue encryption key to the
queue if necessary. When this is done, all processes have their
environment set as in the fork-only case, and they can start doing
their work as before.

ok gilles@ jung@
Delta File
+410 -92 usr.sbin/smtpd/smtpd.c
+10 -46 usr.sbin/smtpd/config.c
+11 -9 usr.sbin/smtpd/smtpd.h
+2 -13 usr.sbin/smtpd/ca.c
+2 -13 usr.sbin/smtpd/queue.c
+2 -13 usr.sbin/smtpd/scheduler.c
+6 -39 3 files not shown
+443 -225 9 files

OpenBSD — usr.sbin/smtpd smtp_session.c mta_session.c

start work on improving the log format, this is work in progress but it'll
be better worked in tree

ok eric@, beck@

OpenBSD — usr.sbin/smtpd to.c

use temporary variables to store some struct tm values, no functional
change but reduces the changeset with portable version
Delta File
+10 -5 usr.sbin/smtpd/to.c
+10 -5 1 file

OpenBSD — usr.sbin/smtpd aliases.c

replace hardcoded '+' with TAG_CHAR define

diff from obadz <github at obadz.com>
Delta File
+4 -4 usr.sbin/smtpd/aliases.c
+4 -4 1 file

OpenBSD — usr.sbin/smtpd smtpd.conf.5

table formats are described in table(5) not makemap(8)
Delta File
+4 -4 usr.sbin/smtpd/smtpd.conf.5
+4 -4 1 file

OpenBSD — usr.sbin/smtpd ioev.c

No need to store the return value of fcntl(fd, F_SETFL, flags).
OK jung@
Delta File
+2 -2 usr.sbin/smtpd/ioev.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c filter.c

fix logic in error code path of smtp state machine that can lead to an
invalid state ending in fatal(), while at it plug a file pointer leak.

ok eric@, millert@

OpenBSD — usr.sbin/smtpd util.c

replace hardcoded + with TAG_CHAR
Delta File
+3 -3 usr.sbin/smtpd/util.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtpd.conf.5

mention ca option in listen directive

same spelling fix from jmc and gilles

ok gilles
Delta File
+6 -2 usr.sbin/smtpd/smtpd.conf.5
+6 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

The "loop detected" message should not print the errno string.
OK gilles@
Delta File
+2 -2 usr.sbin/smtpd/smtp_session.c
+2 -2 1 file

OpenBSD — etc/mail smtpd.conf, usr.sbin/smtpd smtpd.conf.5

listen directive may use a table for authentication, to make this work the
table has to be defined BEFORE
consequently move all tables in the examples to the beginning and before the
listen directive to avoid tables not being found

no functional change

ran into this myself earlier, also reported by cjones via irc

ok gilles
Delta File
+12 -10 usr.sbin/smtpd/smtpd.conf.5
+3 -3 etc/mail/smtpd.conf
+15 -13 2 files

OpenBSD — usr.sbin/smtpd smtpctl.c queue.c

fix "smtpctl show queue" reporting "invalid" envelope state.
runtime state is not serialized with the envelope, so add it to the imsg.

ok gilles@
Delta File
+55 -10 usr.sbin/smtpd/smtpctl.c
+8 -12 usr.sbin/smtpd/queue.c
+63 -22 2 files

OpenBSD — usr.sbin/smtpd ssl.c smtpd.conf.5

Use automatic DH parameters, instead of fixed ones. Also disable DHE by
default since it is computationally expensive and a potential DoS vector.

ok gilles@

OpenBSD — usr.sbin/smtpd smtpd.8

add -T to SYNOPSIS;
Delta File
+2 -1 usr.sbin/smtpd/smtpd.8
+2 -1 1 file

OpenBSD — usr.sbin/smtpd smtpd.8

document the -T flag

original diff from Bernard Spil

ok millert
Delta File
+37 -2 usr.sbin/smtpd/smtpd.8
+37 -2 1 file

OpenBSD — usr.sbin/smtpd smtpctl.8

fix typo, it is supposed to be smtpctl trace "filters" not "filter"

from Boudewijn Dijkstra
Delta File
+3 -3 usr.sbin/smtpd/smtpctl.8
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtpd.conf.5

arguments to "chain" are space separated, not comma; verified by jung
diff from david+bsd

i also removed Op, since ... is enough/
Delta File
+3 -3 usr.sbin/smtpd/smtpd.conf.5
+3 -3 1 file