History log of /openbsd/usr.sbin/smtpd/smtpd.h (Results 151 – 175 of 686)
Revision Date Author Comments
# 2dca66f6 08-Sep-2017 eric <eric@openbsd.org>

remove more filter-related cruft

ok gilles@


# 84639b21 13-Aug-2017 eric <eric@openbsd.org>

bypass the filter code for incoming smtp sessions.
experimental support for filters has been removed from the config
parser already, and we want to get rid of the remaining code.

ok gilles@


# 49bae22d 04-Aug-2017 gilles <gilles@openbsd.org>

the PURGE_EVERYTHING flag used to purge config bits was inaccurate

ok eric@


# 5ba55e18 27-Jul-2017 sunil <sunil@openbsd.org>

smtpctl(8): Use an int to determine mode instead of __progname.

Ok millert@ gilles@


# 1fa3e601 26-May-2017 gilles <gilles@openbsd.org>

move variables expansion out of lka_session into their own file, this is a
mechanical diff to simplify a bit the lka code and prepare for moving
variables outside of the lookup process into the chroo

move variables expansion out of lka_session into their own file, this is a
mechanical diff to simplify a bit the lka code and prepare for moving
variables outside of the lookup process into the chrooted mda process.
no functional change for now.

ok eric@

show more ...


# 040e076f 22-May-2017 gilles <gilles@openbsd.org>

- filters are currently broken, do not allow using them until we're done


# 5682134d 13-Feb-2017 gilles <gilles@openbsd.org>

allow negation of authenticated keyword:
accept ! authenticated [...]

ok sunil@, jung@


# 12e5c931 03-Feb-2017 guenther <guenther@openbsd.org>

Stop assuming that in_{addr,port}_t are typedefed in <sys/types.h> and
instead pull in <netinet/in.h> or <arpa/inet.h> when those are needed.

ok florian@ beck@ millert@


# f24248b7 09-Jan-2017 reyk <reyk@openbsd.org>

smtpd joins the 7 other daemons that share the same log.c file.

The only major difference was the "log_trace" concept that is only
used by smtpd - move it from log.c into util.c and make it a local

smtpd joins the 7 other daemons that share the same log.c file.

The only major difference was the "log_trace" concept that is only
used by smtpd - move it from log.c into util.c and make it a local
concept. This also needed to rename the global "verbose" variable to
"tracing" in a few places.

OK krw@ gilles@ eric@

show more ...


# 765a6154 30-Nov-2016 eric <eric@openbsd.org>

remove unused iobuf helpers


# 8d3f7f0d 30-Nov-2016 eric <eric@openbsd.org>

make struct io opaque:

- move struct io definition to ioev.c
- replace io_init/io_clear with io_new/io_free
- allocate an iobuf for each new io internally
- use struct io pointer in the rest of the

make struct io opaque:

- move struct io definition to ioev.c
- replace io_init/io_clear with io_new/io_free
- allocate an iobuf for each new io internally
- use struct io pointer in the rest of the code
- remove remaining uses of iobuf_*

ok gilles@ sunil@

show more ...


# 6229d8bf 25-Nov-2016 gilles <gilles@openbsd.org>

assign an id to each rule in the ruleset, first step towards an MTA layer
and scheduler simplification

ok eric@


# 66802da1 17-Nov-2016 eric <eric@openbsd.org>

Add io api functions for dealing with buffered data, as wrapper around
their iobuf counterparts.

ok gilles@ sunil@


# 4dcd8201 04-Sep-2016 eric <eric@openbsd.org>

Remove the "smtpctl stop" command.
The daemon is stopped with kill(1).

ok gilles@


# 81a33c5d 03-Sep-2016 eric <eric@openbsd.org>

get rid of the type-checking system on internal messages.
bump all imsg protocol versions since message format changed.

ok gilles@ sunil@


# c2798399 01-Sep-2016 eric <eric@openbsd.org>

remove noop function

ok sunil@


# 0582a492 01-Sep-2016 eric <eric@openbsd.org>

get rid of the imsg buffer usage profiling code.

ok gilles@ jung@ sunil@


# 2a6531f2 31-Aug-2016 eric <eric@openbsd.org>

Remove dead code. queue_flow_control() has never been used and is
probably a bad idea.

ok gilles@


# 7e744a4a 31-Aug-2016 gilles <gilles@openbsd.org>

introduce "authenticated" parameter so rules may apply to authenticated
sessions specifically

ok eric@, sunil@, jung@


# 37e5d029 31-Aug-2016 gilles <gilles@openbsd.org>

allow overriding the subaddressing delimiter with subaddressing-delimiter
keyword, the default is still +

ok eric@, sunil@


# 004723ab 24-Jul-2016 gilles <gilles@openbsd.org>

bump version

ok deraadt@


# b88ab68d 28-May-2016 eric <eric@openbsd.org>

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

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@

show more ...


# 907c4b99 25-Mar-2016 krw <krw@openbsd.org>

Nuke session_socket_blockmode() and session_socket_linger(). Use
the identical io_set_blocking() and io_set_linger().

Since both are always called to turn off blocking or lingering,
nuke the paramet

Nuke session_socket_blockmode() and session_socket_linger(). Use
the identical io_set_blocking() and io_set_linger().

Since both are always called to turn off blocking or lingering,
nuke the parameter and associated enum in favour of "just doing the
right thing".

While passing remove the unneeded last parameter to the remaining
fcntl(F_GETFL).

Finally, rename the functions to io_set_nonblocking() and
io_set_nolinger() for clarity.

No functional change.

Started with a sweep of fcntl() usage inspired by guenther@.

ok gilles@

show more ...


# a99179b3 21-Feb-2016 gilles <gilles@openbsd.org>

bump version


# e734350e 13-Feb-2016 gilles <gilles@openbsd.org>

handle enqueuer socket as a regular listener that can be configured with
"listen on socket". this simplifies a bit of code, removes some special
cases and will allow attaching filters & masking sourc

handle enqueuer socket as a regular listener that can be configured with
"listen on socket". this simplifies a bit of code, removes some special
cases and will allow attaching filters & masking source just as on lo0.

diff from Peter Bisroev <peter@int19h.net>
ok gilles@, jung@

show more ...


12345678910>>...28