#
0dcffd0d |
| 31-May-2023 |
op <op@openbsd.org> |
add missing include of time.h
spotted after a report on OpenSMTPD-portable. While here include sys/time.h in smtpd.h, as noted in event_init(3), since it includes event.h.
ok millert@
|
#
d3140113 |
| 14-Jun-2021 |
eric <eric@openbsd.org> |
add required headers for smtpd.h and remove unnecessary ones in other files.
ok jung@
|
#
ff01b044 |
| 26-May-2021 |
eric <eric@openbsd.org> |
replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.c for code that runs in the daemon.
ok florian@ millert@
|
#
38b53eb3 |
| 22-Apr-2020 |
eric <eric@openbsd.org> |
Check for the dispatcher name in the envelope validation function. Fixes a possible crash and caching issue when manually moving an envelope to the queue with smtpctl discover.
ok millert@
|
#
ef80df5c |
| 30-Dec-2018 |
guenther <guenther@openbsd.org> |
Delete unnecessary <libgen.h> #includes
ok deraadt@
|
#
118c16f3 |
| 31-May-2018 |
gilles <gilles@openbsd.org> |
remove 'where' parameter from all x*() functions in utils.c, it doesn't really help us with anything, propagate the change in codebase
ok millert@
|
#
ef15259e |
| 14-May-2018 |
gilles <gilles@openbsd.org> |
kill corrupt / uncorrupt queue mechanism as it has never been usable and it will be made irrelevant when the new config comes up soon
ok eric@
|
#
7119aab2 |
| 04-Feb-2016 |
eric <eric@openbsd.org> |
When deleting a message, remove associated envelopes from the cache, if any (it happens when a message transaction is cancelled).
ok gilles@ sunil@
|
#
e459d0ce |
| 28-Dec-2015 |
jung <jung@openbsd.org> |
remove spaces after '!'
no binary change
ok millert
|
#
c7e9e42d |
| 14-Dec-2015 |
jung <jung@openbsd.org> |
remove trailing whitespace
ok sunil gilles
|
#
d05af802 |
| 05-Nov-2015 |
sunil <sunil@openbsd.org> |
Implement smtpctl uncorrupt <msgid>
"uncorrupt" moves envelopes from corrupt bucket back to the queue for further discovery by the daemon.
After correcting the corrupt envelopes, admin could now...
Implement smtpctl uncorrupt <msgid>
"uncorrupt" moves envelopes from corrupt bucket back to the queue for further discovery by the daemon.
After correcting the corrupt envelopes, admin could now...
# smtpctl uncorrupt msgid # smtpctl discover msgid
to schedule the messages.
Ok gilles@
show more ...
|
#
e65271f7 |
| 05-Nov-2015 |
sunil <sunil@openbsd.org> |
Do not terminate message walk on a corrupt envelope.
Ok gilles@
|
#
a9835440 |
| 29-Oct-2015 |
sunil <sunil@openbsd.org> |
Implement smtpctl discover <evpid|msgid>.
discover subcommand schedules envelopes manually moved to the queue. It triggers a queue walk searching for envelopes with the given id, schedules them and
Implement smtpctl discover <evpid|msgid>.
discover subcommand schedules envelopes manually moved to the queue. It triggers a queue walk searching for envelopes with the given id, schedules them and informs the user number of envelopes scheduled. Admins no longer would need to restart the daemon to discover manually moved messages.
Ok gilles@
show more ...
|
#
8351d18b |
| 09-Oct-2015 |
gilles <gilles@openbsd.org> |
turn our local enqueuer setgid _smtpq and restrict access to offline queue, the enqueuer will revoke group and regain real gid right after mkstemp.
this would have prevented the symlink/hardlink att
turn our local enqueuer setgid _smtpq and restrict access to offline queue, the enqueuer will revoke group and regain real gid right after mkstemp.
this would have prevented the symlink/hardlink attacks against offline, and it will avoid having to deal with new ways users can mess with it.
ok eric@, ok millert@
show more ...
|
#
953aae25 |
| 20-Jan-2015 |
deraadt <deraadt@openbsd.org> |
use <limits.h> comprehensively. For now try to push <> includes to each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable shou
use <limits.h> comprehensively. For now try to push <> includes to each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
show more ...
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
show more ...
|
#
6351c710 |
| 08-Dec-2014 |
gilles <gilles@openbsd.org> |
no need for arc4random_uniform() here, arc4random() does the job
spotted by deraadt@, ok eric@
|
#
98f67d16 |
| 08-Jul-2014 |
eric <eric@openbsd.org> |
various queue improvements:
- add a "close" hook to the backend API. - improve the sync() pattern in queue_fs: only sync at commit time and not for every envelope creation - various fixes to the e
various queue improvements:
- add a "close" hook to the backend API. - improve the sync() pattern in queue_fs: only sync at commit time and not for every envelope creation - various fixes to the experimental external queue API.
show more ...
|
#
e267740e |
| 07-Jul-2014 |
eric <eric@openbsd.org> |
Allow to enable profiling at runtime and fix timings output.
ok gilles@
|
#
598a04a7 |
| 11-Apr-2014 |
jsg <jsg@openbsd.org> |
fix a use after free in an error path ok gilles@
|
#
21436130 |
| 14-Mar-2014 |
halex <halex@openbsd.org> |
print the correct user name if SMTPD_QUEUE_USER is missing
ok tedu@
|
#
8946d0ba |
| 13-Mar-2014 |
deraadt <deraadt@openbsd.org> |
When failing to find the required privsep user entry, it is not cool at all to fall back to a different user entry. It is decidedly unsafe. ok tedu.
|
#
d7bcae4d |
| 26-Oct-2013 |
eric <eric@openbsd.org> |
%i -> %d in format strings
|
#
3f70ecaf |
| 19-Jul-2013 |
eric <eric@openbsd.org> |
Assorted queue improvements: - cleanup the internal queue backend API and get rid of the QOP_* thing. - implement a queue_proc backend - rename queue_fsqueue.c to queue_fs - enable support for queue
Assorted queue improvements: - cleanup the internal queue backend API and get rid of the QOP_* thing. - implement a queue_proc backend - rename queue_fsqueue.c to queue_fs - enable support for queue encryption - add an envelope cache - better logging and error reporting
show more ...
|
#
11d04e02 |
| 19-Jul-2013 |
eric <eric@openbsd.org> |
Get rid of env->sc_pw and env->sc_pwqueue. Early queue initialization now happens in queue_init(), and backends take the queue passwd as parameter in their init function.
Remove useless SMTPD_FILTE
Get rid of env->sc_pw and env->sc_pwqueue. Early queue initialization now happens in queue_init(), and backends take the queue passwd as parameter in their init function.
Remove useless SMTPD_FILTER_USER while there.
show more ...
|