summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
AgeCommit message (Expand)Author
2016-10-19add -F to usage() too;Jason McIntyre
2016-09-08Streamline the daemon shutdown sequence.Eric Faurot
2016-09-06use closefrom() before reexec to make sure the new process only getsEric Faurot
2016-09-04The smtpd processes are not expected to ever leave their event loop.Eric Faurot
2016-09-04Remove the "smtpctl stop" command.Eric Faurot
2016-09-01remove noop functionEric Faurot
2016-09-01get rid of the imsg buffer usage profiling code.Eric Faurot
2016-08-19make smtpd less verbose at startupEric Faurot
2016-06-20with new fork+reexec, in case of failure in init of any child processGilles Chehade
2016-06-07use io_set_nonblocking() instead of SOCK_NONBLOCKING to reduce delta withGilles Chehade
2016-05-28Implement the fork+exec pattern in smtpd.Eric Faurot
2016-04-21Use automatic DH parameters, instead of fixed ones. Also disable DHE byJoel Sing
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
2016-02-05use SMTPD_NAME defineJoerg Jung
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
2016-01-27Check imsg data length before use.Sunil Nimmagadda
2016-01-18Load pki keys before daemon(3). Keys with passphrase require accessSunil Nimmagadda
2016-01-04switch to /usr/local/libexec when looking for -extras and drop loop iteratingJoerg Jung
2015-12-28remove spaces after '!'Joerg Jung
2015-12-20remove redundant logGilles Chehade
2015-12-14remove trailing whitespaceJoerg Jung
2015-12-12remove CA from pki and no longer allow specifying a CA with 'pki' keyword.Gilles Chehade
2015-12-12Implement senders map.Sunil Nimmagadda
2015-12-12prepare load_pki_tree() for pki/ca splitGilles Chehade
2015-12-12In the configuration test mode (smtpd -n) setup queue crypto iff aSunil Nimmagadda
2015-12-11New '-F' option to let smtpd run in foreground while logging toSunil Nimmagadda
2015-12-10free sc_queue_key only when it points to something other than "stdin"Sunil Nimmagadda
2015-12-10Do not fatal when a log_warn suffices.Sunil Nimmagadda
2015-12-08Let smtpd shutdown gracefully with a zero exit code when the privSunil Nimmagadda
2015-12-05Remove a few NULL-checks before free().mmcc
2015-12-01whitespaceGilles Chehade
2015-11-30when looking up tables, start in /usr/local/libexec before /usr/libexec, soGilles Chehade
2015-11-30mechanical rename of some IMSG constantsGilles Chehade
2015-11-05Implement smtpctl uncorrupt <msgid>Sunil Nimmagadda
2015-10-29Implement smtpctl discover <evpid|msgid>.Sunil Nimmagadda
2015-10-26remove unneeded pidfile() from smtpdJoerg Jung
2015-10-22delivery to maildir needs pledge fattrGilles Chehade
2015-10-17LMTP delivery requires "inet unix".Sunil Nimmagadda
2015-10-17smtpd starts rather robustly with a gigantic pledge request group (keepTheo de Raadt
2015-10-16add flock to pledge request, needed by delivery_filenameGilles Chehade
2015-10-14pledge() privileged processGilles Chehade
2015-10-14Convert fgetln to getline.Sunil Nimmagadda
2015-10-13offline queue is no longer user-writable, do not attempt resetting fchflagsGilles Chehade
2015-10-12do not umask() [with the wrong umask] around mkstemp() calls, no matterTheo de Raadt
2015-10-09upon smtpd restart, when scanning the offline queue, unlink 0-sized offlineGilles Chehade
2015-10-06we don't need this temporary buffer since we're going to strdup() it rightGilles Chehade
2015-10-06fix values passed to umask(), they should be octal.Gilles Chehade
2015-10-02prevent users from playing hardlink/symlink/mkfifo games with their offlineGilles Chehade
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt