summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
AgeCommit message (Expand)Author
2019-03-31Avoid calling dup2(oldd, newd) when oldd == newd. In that case theYASUOKA Masahiko
2019-01-30revert previous commit, i wasn't happy with it and it probably came from aGilles Chehade
2019-01-30don't be too strict with .forward permissions, it's ok to process it if theGilles Chehade
2018-12-23remove dead codeEric Faurot
2018-12-23revive filters tracing (-T filters) to make it easier understand what isGilles Chehade
2018-12-13do not use err() on fork_processor() exitGilles Chehade
2018-12-13we don't want to parse a filter command lineGilles Chehade
2018-12-11do some imsg renaming to make them more clearGilles Chehade
2018-12-11remove unused imsg namesGilles Chehade
2018-12-07Refactor certificate initialization and verification.Eric Faurot
2018-12-06bring the first bits of DATA filtering plumbing but bypass it for nowGilles Chehade
2018-11-25flock was needed by delivery_filename which was moved to the standalone MDAGilles Chehade
2018-11-16add missing imsg namesEric Faurot
2018-11-03remove log_debugGilles Chehade
2018-11-01allow smtpd to fork processes at startup and maintain a socketpair withGilles Chehade
2018-09-04upon mda failure, smtpd would assume tempfail and retry. this is at oddsGilles Chehade
2018-07-25Implement a generic interface to forward resolver queries to the lkaEric Faurot
2018-06-28Don't ignore -n; OK gilles@Tim van der Molen
2018-06-18simplify parse_config() further so it no longer has any side effect outsideGilles Chehade
2018-06-03split forkmda() in two:Gilles Chehade
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2018-05-29RECIPIENT should really be the dest address, post-expansion, not rcptGilles Chehade
2018-05-29provide mail user agents with the same environments as PostfixGilles Chehade
2018-05-24switch smtpd to new grammarGilles Chehade
2018-05-14kill corrupt / uncorrupt queue mechanism as it has never been usable and itGilles Chehade
2018-04-26sync log.h with other daemonsEric Faurot
2018-01-27Avoid passing NULL to vprintf() by assigning a name to client processes. Whileanton
2017-11-21no need to check the sending process in imsg handlers when there is noEric Faurot
2017-09-08remove more filter-related cruftEric Faurot
2017-05-12queue is not owned by _smtpd but _smtpq so a bug in lookup process does notGilles Chehade
2017-01-09smtpd joins the 7 other daemons that share the same log.c file.Reyk Floeter
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