Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-20 | When adding a missing "Date" header, use the same timestamp as the "Received" | Eric Faurot | |
header for consistency. ok gilles@ | |||
2017-10-19 | remove useless initialisation | Eric Faurot | |
2017-10-10 | Use clock_gettime(CLOCK_REALTIME) instead of gettimeofday+TIMEVAL_TO_TIMESPEC | Philip Guenther | |
ok jung@ | |||
2017-09-15 | move the envelope handling code to its own function to clarify the | Eric Faurot | |
imsg dispatch function. ok gilles@ | |||
2017-09-11 | remove dead code. | Eric Faurot | |
ok gilles@ | |||
2017-09-08 | remove more filter-related cruft | Eric Faurot | |
ok gilles@ | |||
2017-09-08 | use plain values for transaction error codes rather than a bitmask. | Eric Faurot | |
rename ill-named "msgflags" to "error" while there. ok gilles@ | |||
2017-09-01 | more code cleanup after filter removal | Eric Faurot | |
ok gilles@ | |||
2017-09-01 | the wait_filter_data session set is now pointless | Eric Faurot | |
2017-08-30 | unused file | Eric Faurot | |
2017-08-30 | rename smtp_filter_fd() to smtp_message_fd() and cleanup code. | Eric Faurot | |
ok gilles@ | |||
2017-08-30 | rename function | Eric Faurot | |
2017-08-30 | remove smtp_filter_*() indirections. | Eric Faurot | |
ok gilles@ | |||
2017-08-29 | Change the table parser logic. If the table is untyped, determine | Eric Faurot | |
its type by examining the first entry: if it contains a separator, type is "mapping", otherwise type is "list". All entries are then parsed according to the table type. The "list" type can also be forced by using the "@list" directive in a comment. This allows to define list of entries containing a separator. Also, log parse errors. ok gilles@ | |||
2017-08-28 | 65535 is a valid port to listen on. | Florian Obser | |
Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT gmail, thanks! chris@ pointed out that more than httpd(8) is effected. OK gilles@ | |||
2017-08-14 | remove useless indirection for reading the file content | Eric Faurot | |
ok gilles@ | |||
2017-08-13 | bypass the filter code for incoming smtp sessions. | Eric Faurot | |
experimental support for filters has been removed from the config parser already, and we want to get rid of the remaining code. ok gilles@ | |||
2017-08-09 | add mail.mda MDA in charge of running a third-party MDA, not linked yet | Gilles Chehade | |
2017-08-09 | at the exception of mail.local, smtpd never executes an MDA as root. | Gilles Chehade | |
the check is performed daemon-side before even forking the child process, but let's also check euid in the mda we ship in case someone executes them by hand and needs to see an explicit error message. | |||
2017-08-06 | a long time ago, we made a change to the format of envelopes and introduced | Gilles Chehade | |
a function to upgrade from v1 to v2 on the fly. this was meant to stay just for the transition in one release. 3 years and 8 months later, it's finally time we remove it ;-) ok eric@, sunil@ | |||
2017-08-04 | the PURGE_EVERYTHING flag used to purge config bits was inaccurate | Gilles Chehade | |
ok eric@ | |||
2017-07-31 | handle empty output correctly in mda_getlastline() | Gilles Chehade | |
diff from Casper Ti. Vector, ok eric@ | |||
2017-07-31 | cmd_dump() is unused | Gilles Chehade | |
spotted by deraadt | |||
2017-07-27 | smtpctl(8): Use an int to determine mode instead of __progname. | Sunil Nimmagadda | |
Ok millert@ gilles@ | |||
2017-07-11 | Remove "listen secure" syntax from smtpd.conf. It's broken since a couple of | Martin Natano | |
months and noone complained. Users should replace existing "listen secure" directives with two separate "tls" and "smtps" listeners. i.e. a line like listen on $iface tls pki $pki has to be replaced with listen on $iface tls pki $pki listen on $iface smtps pki $pki Relaying syntax is not affected by this change. suggested by eric ok gilles | |||
2017-07-03 | no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing | Marc Espie | |
instead of CLEANFILES += y.tab.h okay millert@ | |||
2017-06-19 | fix descriptor leak in the smtp congestion mechanism | Gilles Chehade | |
diff from Henri Kemppainen; ok gilles@ eric@ | |||
2017-06-07 | reword "listen on socket" somewhat; ok gilles | Jason McIntyre | |
2017-05-31 | typo; from Edgar Pettijohn | Theo de Raadt | |
2017-05-29 | rm xr mailaddr.7 | Ted Unangst | |
2017-05-28 | reinstate the description of "mask-source" to "listen on socket": my changes | Jason McIntyre | |
two revisions previous inadvertently removed it; ok gilles | |||
2017-05-28 | mark up "masquerade"; | Jason McIntyre | |
2017-05-28 | split the two "listen on" directives into two separate items; | Jason McIntyre | |
the markup that we were using wouldn;t have worked with groff anyway but, more worringly, it didn;t work with mandoc either; | |||
2017-05-26 | move variables expansion out of lka_session into their own file, this is a | Gilles Chehade | |
mechanical diff to simplify a bit the lka code and prepare for moving variables outside of the lookup process into the chrooted mda process. no functional change for now. ok eric@ | |||
2017-05-24 | Fix a possible fatal() when smtpd is configured to *force* relaying over | Gilles Chehade | |
SMTPS, that the connection succeeds, but that something causes a failure in the TLS code path afterwards. Session gets downgraded so it can use a plaintext connector but since it's not allowed to do so, it fatal()-s. This didn't impact STARTTLS, only SMTPS. Issue experienced a few times by stsp@ triggered by a suspend. ok eric@ | |||
2017-05-24 | document that "for local" is the default; while here, | Jason McIntyre | |
paste in the "table <aliases>" text; ok gilles | |||
2017-05-23 | "update table" is for tables of type file only; ok gilles | Jason McIntyre | |
2017-05-22 | - filters are currently broken, do not allow using them until we're done | Gilles Chehade | |
2017-05-22 | stub for the smtp filter protocol, currently always returns -1 | Gilles Chehade | |
2017-05-19 | - switch to recallocarray | Eric Faurot | |
- remove pre-allocation - use a better growth pattern ok gilles@ deraadt@ | |||
2017-05-17 | Introduce more use of freezero(). Also, remove ptr conditionals before | Theo de Raadt | |
many functions which are free(NULL)-compat ok gilles | |||
2017-05-12 | queue is not owned by _smtpd but _smtpq so a bug in lookup process does not | Gilles Chehade | |
allow read/write of envelopes and messages, unfortunately the purge_task() function which is in charge of garbage collecting left-overs from aborted transactions is still executed as _smtpd preventing it from working. issue reported by Philippe Meunier, fix from Edgar Pettijohn | |||
2017-05-01 | in function used for tracing, display unknown lookup types as "???" | Gilles Chehade | |
diff from Wolf480pl | |||
2017-04-29 | fix argument check, this should never trigger because it is a libexec called by | Joerg Jung | |
smtpd, but for the sake of correctness from Edgar Pettijohn ok gilles@ | |||
2017-04-04 | document comments in table files; help/ok gilles | Jason McIntyre | |
2017-03-30 | Disable client-initiated renegotiation. | Joel Sing | |
ok gilles@ eric@ deraadt@ | |||
2017-03-21 | From a syslog perspective it does not make sense to log fatal and | Alexander Bluhm | |
warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@ | |||
2017-03-17 | switch to recallocarray() and remove useless pre-allocation. | Eric Faurot | |
prodded by deraadt@ ok gilles@ | |||
2017-03-17 | realloc() -> recallocarray(). | Eric Faurot | |
use calloc() for initial allocation. prodded by deraadt@ ok gilles@ | |||
2017-02-14 | fix man page, diff from jmc@ | Gilles Chehade | |