| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | reset the io event when data is queued. | 2016-11-24 | 3 | -33/+17 | |
| | | | | | | | remove all calls to io_reload() which are now unnecessary. ok gilles@ sunil@ | ||||
| * | Normalize the io input buffer internally when reinstalling the io event, so | 2016-11-22 | 5 | -19/+11 | |
| | | | | | | | the caller doesn't have to bother with this. ok gilles@ sunil@ | ||||
| * | replace calls to iobuf_*() functions with the corresponding io_*() wrappers. | 2016-11-21 | 5 | -77/+67 | |
| | | | | | ok sunil@ gilles@ | ||||
| * | add dedicated functions to set fd and callback on a struct io. | 2016-11-20 | 7 | -27/+47 | |
| | | | | | | | simplify io_init() prototype. ok sunil@ gilles@ | ||||
| * | fix regression introduced in previous commit | 2016-11-18 | 2 | -41/+58 | |
| | | | | | | | spotted by Heiko Zimmermann ok gilles@ | ||||
| * | Add io api functions for dealing with buffered data, as wrapper around | 2016-11-17 | 4 | -10/+133 | |
| | | | | | | | their iobuf counterparts. ok gilles@ sunil@ | ||||
| * | remove IO_TLSVERIFIED which is not a io event, and inline necessary code | 2016-11-17 | 4 | -49/+42 | |
| | | | | | | | where the callback functions are called for this event. ok gilles@ | ||||
| * | pass the user pointer as parameter to the io callback instead of having | 2016-11-16 | 7 | -31/+32 | |
| | | | | | | | the user dereference the io structure. ok millert@ gilles@ | ||||
| * | add -F to usage() too; | 2016-10-19 | 1 | -2/+2 | |
| | | |||||
| * | document -F which somehow escaped documentation | 2016-10-19 | 1 | -3/+9 | |
| | | |||||
| * | Remove the "phase" state variable from the smtp session. Simply check | 2016-10-16 | 1 | -26/+9 | |
| | | | | | | | | "helo[0]" to see if an HELO/EHLO command was received (reset after starttls), and "tx" to know if we are in a transaction. ok gilles@ millert@ | ||||
| * | A logic issue in smtpd's header parsing can cause SMTP sessions to hang. | 2016-10-13 | 2 | -2/+9 | |
| | | | | | diff by eric@, ok me | ||||
| * | fix smtp session logic bug that can lead to a server crash. | 2016-10-03 | 1 | -1/+3 | |
| | | |||||
| * | remove useless #ifndef | 2016-09-14 | 1 | -5/+1 | |
| | | | | | ok sunil@ | ||||
| * | listener configuration cleanup: | 2016-09-12 | 1 | -64/+53 | |
| | | | | | | | | | | | | | - have all listener creation functions take listen_opts as param, and call config_listener() when done, which adds the listener(s) to the current config list of listeners. - make the fallback chain between interface(), host_v4() host_v6() and host_dns() obvious when creating an if_listener. - fix a bug where the specified family was ignored if the listener is given as a hostname. ok gilles@ sunil@ | ||||
| * | remove documentation for filters, we'll document when it's ready | 2016-09-11 | 1 | -24/+2 | |
| | | |||||
| * | Streamline the daemon shutdown sequence. | 2016-09-08 | 8 | -154/+72 | |
| | | | | | | | | | | Only the parent process handles SIGTERM and SIGINT. Upon receiving one of those, it closes all imsg sockets and waitpid() for the children. It fatal()s if one of the sockets is closed unexpectedly. Other processes exit() "normally" when one of the imsg sockets is closed. ok gilles@ sunil@ | ||||
| * | use closefrom() before reexec to make sure the new process only gets | 2016-09-06 | 1 | -3/+4 | |
| | | | | | | | the imsg socket. ok gilles@ sunil@ | ||||
| * | The smtpd processes are not expected to ever leave their event loop. | 2016-09-04 | 7 | -27/+21 | |
| | | | | | | | | So stop pretending that the *_shutdown() functions could ever be called in this context, and just fatal() if event_dispatch() returns. ok gilles@ sunil@ giovanni@ | ||||
| * | Remove the "smtpctl stop" command. | 2016-09-04 | 5 | -41/+9 | |
| | | | | | | | The daemon is stopped with kill(1). ok gilles@ | ||||
| * | log IP/hostname for all SMTP operations. | 2016-09-03 | 2 | -36/+49 | |
| | | | | | | patch from Pavel Korovin, thanks ok gilles@ | ||||
| * | remove dead code | 2016-09-03 | 1 | -25/+1 | |
| | | |||||
| * | get rid of the type-checking system on internal messages. | 2016-09-03 | 4 | -118/+74 | |
| | | | | | | | bump all imsg protocol versions since message format changed. ok gilles@ sunil@ | ||||
| * | in lka specifically, use initgroups() so that users may share files between | 2016-09-03 | 1 | -2/+2 | |
| | | | | | | | smtpd and another daemon by adding supplementary groups ok eric@ | ||||
| * | switch from EVP_{En,De}cryptInit & EVP_{En,De}cryptFinal to their _ex | 2016-09-03 | 1 | -11/+9 | |
| | | | | | | | counterparts, as suggested by bcook ok bcook@, sunil@, eric@ | ||||
| * | use imsg_read_nofd() implementation from bgpd. | 2016-09-02 | 1 | -9/+6 | |
| | | | | | | | let the caller handle EAGAIN. ok gilles@ | ||||
| * | turn server preference for ciphers on by default | 2016-09-02 | 1 | -1/+2 | |
| | | | | | ok jsing@ | ||||
| * | zap dead code | 2016-09-01 | 2 | -15/+2 | |
| | | | | | ok gilles@ sunil@ | ||||
| * | Get rid of the custom msgbuf_write2() function adapted from libutil. | 2016-09-01 | 1 | -71/+2 | |
| | | | | | | | It is not necessary now that the profiling code is gone. ok gilles@ sunil@ | ||||
| * | remove noop function | 2016-09-01 | 9 | -22/+9 | |
| | | | | | ok sunil@ | ||||
| * | get rid of the imsg buffer usage profiling code. | 2016-09-01 | 4 | -94/+4 | |
| | | | | | ok gilles@ jung@ sunil@ | ||||
| * | Remove dead code. queue_flow_control() has never been used and is | 2016-08-31 | 3 | -64/+3 | |
| | | | | | | | probably a bad idea. ok gilles@ | ||||
| * | no need for Xo/Xc here, plus minor tweak; | 2016-08-31 | 1 | -5/+3 | |
| | | |||||
| * | introduce "authenticated" parameter so rules may apply to authenticated | 2016-08-31 | 4 | -6/+27 | |
| | | | | | | | sessions specifically ok eric@, sunil@, jung@ | ||||
| * | word fix; | 2016-08-31 | 1 | -2/+2 | |
| | | |||||
| * | allow overriding the subaddressing delimiter with subaddressing-delimiter | 2016-08-31 | 8 | -21/+54 | |
| | | | | | | | keyword, the default is still + ok eric@, sunil@ | ||||
| * | when configuring the daemon, assign values to the structure being conf-ed, | 2016-08-30 | 1 | -2/+2 | |
| | | | | | | | not the global structure. this worked by accident. ok eric@ | ||||
| * | Properly initialize the message parser. fix a regression where the | 2016-08-20 | 1 | -1/+2 | |
| | | | | | | | message headers would not be altered as expected. ok gilles@ | ||||
| * | make smtpd less verbose at startup | 2016-08-19 | 1 | -5/+5 | |
| | | | | | ok gilles@ sunil@ jung@ millert@ | ||||
| * | log ip addresses as well in authentication phase | 2016-07-29 | 1 | -7/+10 | |
| | | | | | ok gilles@ | ||||
| * | bump version | 2016-07-24 | 1 | -2/+2 | |
| | | | | | ok deraadt@ | ||||
| * | Create a smtp transaction context on a session only for the duration of | 2016-07-22 | 1 | -99/+79 | |
| | | | | | | | that transaction. ok gilles@ | ||||
| * | add -r option to enqueuer as compat interface for mailx | 2016-07-03 | 1 | -2/+5 | |
| | | | | | diff by Richard <richard@aaazen.com> | ||||
| * | remove misleading comment. it's not true anymore. | 2016-07-02 | 1 | -5/+1 | |
| | | | | | ok gilles@ | ||||
| * | datain counter is part of the transaction state | 2016-07-02 | 1 | -7/+5 | |
| | | | | | ok gilles@ | ||||
| * | set the msgid on the transaction | 2016-07-02 | 1 | -9/+12 | |
| | | | | | ok gilles@ jung@ | ||||
| * | always refer to the helo string stored on the session | 2016-07-01 | 1 | -3/+3 | |
| | | | | | ok gilles@ | ||||
| * | flag the local socket listener as local. | 2016-07-01 | 2 | -3/+4 | |
| | | | | | | | clarify check for local listeners. ok gilles@ millert@ | ||||
| * | update aliases documentation to reflect reality | 2016-06-30 | 1 | -3/+4 | |
| | | |||||
| * | Explicitely enclose SMTP transactions between BEGIN and COMMIT/ROLLBACK | 2016-06-29 | 3 | -21/+44 | |
| | | | | | | | filter events. Bump filter API version. ok gilles@ jung@ | ||||
