History log of /openbsd/usr.sbin/smtpd/smtpd.h (Results 101 – 125 of 686)
Revision Date Author Comments
# 08135f13 11-Dec-2018 eric <eric@openbsd.org>

Improve the cert_*() interface. Use the return value to tell whether
the request is pending (waiting for an async event) or not. Success
or failure is always reported through the callback function.

Improve the cert_*() interface. Use the return value to tell whether
the request is pending (waiting for an async event) or not. Success
or failure is always reported through the callback function.

ok gilles@

show more ...


# 15c39be5 09-Dec-2018 gilles <gilles@openbsd.org>

add check-fcrdns builtin filter

ok eric@


# 71507431 09-Dec-2018 gilles <gilles@openbsd.org>

no longer pass rdns in all filtering requests, they can be retrieved from
the filter session.


# 486f188e 09-Dec-2018 gilles <gilles@openbsd.org>

add client and listener address, as well as client rDNS and FCrDNS lookup
result to the filter_session structure upon filter session allocation. it
will allow me to simplify all filter hooks.


# 5ed42fc8 08-Dec-2018 sunil <sunil@openbsd.org>

Use correct RFC 3464 specified values for Action field in a DSN.
error -> failed
success -> delivered

This fixes DSN parsing for Mailman. Issue reported by Cristiano
Costa on misc@opensmtpd.org.

Wh

Use correct RFC 3464 specified values for Action field in a DSN.
error -> failed
success -> delivered

This fixes DSN parsing for Mailman. Issue reported by Cristiano
Costa on misc@opensmtpd.org.

While here, rename enums to reflect the intent and properly handle
envelope ascii load/dump to understand change in the values.

Suggestions and ok gilles@

show more ...


# d35095c2 07-Dec-2018 eric <eric@openbsd.org>

Refactor certificate initialization and verification.
Factorize code duplicated in smtp_session.c and mta_session.c
Implement a simple callback interface, with proper request management
and simplifie

Refactor certificate initialization and verification.
Factorize code duplicated in smtp_session.c and mta_session.c
Implement a simple callback interface, with proper request management
and simplified imsg protocol.

Only add the necessary parts for now.
Exisiting code path will be adapted later.

input from gilles@ sunil@
ok gilles@

show more ...


# 7bbc0d03 06-Dec-2018 gilles <gilles@openbsd.org>

link-connect event report had an empty fcrdns field, but now that eric@ has
plugged fcrdns in the smtp_session we can fill the field with a value


# 7929fb13 06-Dec-2018 gilles <gilles@openbsd.org>

introduce tx-mail and tx-rcpt report events


# 4faa8b13 06-Dec-2018 gilles <gilles@openbsd.org>

allow passing data lines to proc filters

ok eric@


# f68f476f 06-Dec-2018 gilles <gilles@openbsd.org>

in mda variables expansions, do not consider empty strings as errors since
an empty %{sender} is really a mailer-daemon and not an error

reported and initial diff by Lauri Tirkkonen <lotheac@iki.fi>

in mda variables expansions, do not consider empty strings as errors since
an empty %{sender} is really a mailer-daemon and not an error

reported and initial diff by Lauri Tirkkonen <lotheac@iki.fi>
commit is a revised version of the diff based on a discussion with eric@

show more ...


# 590a6142 06-Dec-2018 gilles <gilles@openbsd.org>

bring the first bits of DATA filtering plumbing but bypass it for now

ok eric@


# b6b294a3 30-Nov-2018 gilles <gilles@openbsd.org>

prepare for smtp-out reporting and while at it, make a few changes to the
report format


# c8094670 29-Nov-2018 gilles <gilles@openbsd.org>

introduce FILTER_COMMIT which will allow taking a decision at DATA commit
time, unusable yet but necessary for the upcoming serie of diffs.

ok eric@


# 71b9078f 08-Nov-2018 gilles <gilles@openbsd.org>

when reporting tx events, report tx id
when reporting tx commit, report data size
report tx-envelope events


# 486285b1 03-Nov-2018 gilles <gilles@openbsd.org>

only apply filter rules to filtered interfaces


# a8ae7d4b 03-Nov-2018 gilles <gilles@openbsd.org>

check-rdns builtin filter, to be improved


# 522448a1 03-Nov-2018 gilles <gilles@openbsd.org>

bring plumbing for proc filters

ok millert@, eric@, jung@


# d7b0dc3b 03-Nov-2018 gilles <gilles@openbsd.org>

bring plumbing for builtin filters

ok millert@, eric@, jung@


# 2a5af9af 02-Nov-2018 gilles <gilles@openbsd.org>

report rDNS in link connect event


# b7d8690d 02-Nov-2018 gilles <gilles@openbsd.org>

pass struct sockaddr_storage instead of ss_to_text() in reporting


# ff05ba49 01-Nov-2018 gilles <gilles@openbsd.org>

teach smtp process how to report smtp events to lka and teach lka how to
report these events to a proc

ok millert@


# 81c7fb0a 01-Nov-2018 gilles <gilles@openbsd.org>

introduce K_REGEX table type and table_regex_match(), unused for now

ok eric@


# a93e09f5 01-Nov-2018 gilles <gilles@openbsd.org>

allow smtpd to fork processes at startup and maintain a socketpair with
them.

ok jung@, eric@


# 7ebec07b 31-Oct-2018 gilles <gilles@openbsd.org>

add helper valid_smtp_response() to be used in upcoming commits


# 1aa03b06 24-Sep-2018 eric <eric@openbsd.org>

Allow to use the "tls" keyword on any relay action to force TLS, with
strict certificate validation. The "no-verify" becomes optional.

ok gilles@ millert@ semarie@


12345678910>>...28