Up to [local] / src / usr.sbin / smtpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 15 21:52:20 2024 UTC (2 months, 2 weeks ago) by op
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)
set ORIGINAL_RECIPIENT in the environment of mda scripts mostly for compatibility with postfix since some mdas (like public-inbox) make use of it. diff from Philipp (philipp+openbsd [at] bureaucracy [dot] de) ok gilles@
Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 14 17:58:15 2021 UTC (2 years, 11 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.7: +1 -13 lines
Diff to previous 1.7 (colored)
add required headers for smtpd.h and remove unnecessary ones in other files. ok jung@
Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 1 05:21:30 2020 UTC (4 years ago) by chrisz
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)
Run lmtp deliveries as SMTPD_USER instead of the recipient user. ok millert@
Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 2 22:13:48 2020 UTC (4 years, 3 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.5: +8 -2 lines
Diff to previous 1.5 (colored)
add SENDER to mda environment and teach lmtp to use that instead of command line parameter. this allows simplifying lmtp command line and it would have prevented the unpriv command exec for LMTP in recent advisory. ok millert@ and jung@
Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 27 15:41:50 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.4: +3 -5 lines
Diff to previous 1.4 (colored)
extract subaddress from last resolved node, not from dest or rcpt address which was incorrect and can lead to ambiguous cases, this will affect the people who were using subaddresses within aliases themselves AND expected deliveries to a maildir subdir of the recipient user. ok eric@
Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 6 12:32:11 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)
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@
Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 2 11:34:21 2018 UTC (5 years, 6 months ago) by gilles
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)
err -> errx diff from Lauri Tirkkonen <lotheac@iki.fi>
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 4 15:57:46 2018 UTC (5 years, 11 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.1: +25 -4 lines
Diff to previous 1.1 (colored)
add support for mda wrappers allowing postmaster to define command wrappers that will be executed (with recipient privileges) before calling the users' mail delivery agent ok eric@
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jun 3 14:04:06 2018 UTC (6 years ago) by gilles
Branch: MAIN
split forkmda() in two: - forkmda() creates the process that will be used for the delivery and does the switching of privileges then calls mda_unpriv() - mda_unpriv() runs with privileges of the recipient, it expands variables, sets up environment and executes the mda ok millert@ and eric@