Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-14 | these are no longer used, remove | Gilles Chehade | |
2014-12-13 | Add DKIM signing example based on eric@'s asiabsdcon slides | Todd C. Miller | |
OK gilles@ jmc@ | |||
2014-12-08 | no need for arc4random_uniform() here, arc4random() does the job | Gilles Chehade | |
spotted by deraadt@, ok eric@ | |||
2014-11-23 | some third-party applications generate malformed headers which we can still | Gilles Chehade | |
parse correctly, do not reject message as malformed in this case | |||
2014-11-20 | Don't allow embedded nul characters in strings. | Jonathan Gray | |
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | |||
2014-11-19 | two obvious markup fixes; from frankgroeneveld dot nl | Ingo Schwarze | |
2014-11-16 | Convert the logic in yyerror(). Instead of creating a temporary | Alexander Bluhm | |
format string, create a temporary message. OK doug@ | |||
2014-11-14 | Add gcc printf format attributes to yyerror() in parse.y files. | Doug Hogan | |
No yyerror() calls needed to be changed. ok bluhm@ | |||
2014-11-12 | truncate dead.letter | Gilles Chehade | |
2014-11-06 | since domain appending is handled at the daemon level, don't try to do it | Gilles Chehade | |
in the enqueuer itself, it leads to broken headers | |||
2014-11-05 | stop prepending the user id in local enqueuing Received line | Gilles Chehade | |
2014-11-02 | increment s->datalen counter in append domain code to correctly account for | Gilles Chehade | |
the data we wrote | |||
2014-11-02 | rework domain append by locating either the brackets or the last component | Gilles Chehade | |
of an address and appending domain if not already there. this works better than trying to parse addresses and render them back, while allowing us to do the append "in place" and cope nicely with multi-line addresses. | |||
2014-10-26 | when using the local enqueuer, if the internal SMTP session fails, copy the | Gilles Chehade | |
original message to ~/dead.letter so it's not lost | |||
2014-10-25 | newaliases / makemap should parse multi-line aliases entries | Gilles Chehade | |
2014-10-16 | disable SSLv3 | Gilles Chehade | |
ok jsing@ | |||
2014-10-15 | - allow empty headers | Gilles Chehade | |
2014-10-15 | when From, To and Cc headers present users without domains, append the | Gilles Chehade | |
listener hostname to avoid smtpd relaying a header that will be rewritten by the destination MX. ok eric@ | |||
2014-10-15 | add a (high) limit to the number of header lines we're willing to keep in | Gilles Chehade | |
memory for rewriting purposes, this will prevent sessions from sending an insanely large number of continuations to a single header and starve us. | |||
2014-10-15 | fix memory leak in error path | Gilles Chehade | |
2014-10-12 | do not allow header to termine with pending flags | Gilles Chehade | |
2014-10-12 | to rewrite domain on incoming mails, we need to be able to extract | Gilles Chehade | |
rfc822 addresses from some headers and parse them into a structure that we can easily manipulate. this implementation will parse addresses in the following formats: user, user <addr>, "user" <addr>, "user name" <addr> | |||
2014-10-12 | simple message parser to be used in smtp incoming sessions, not plugged yet | Gilles Chehade | |
2014-10-12 | local host is not "localhost", local host is env->sc_hostname | Gilles Chehade | |
2014-10-08 | obvious reallocarray() use | Theo de Raadt | |
2014-10-08 | restrict address lookups to configured address families. | Eric Faurot | |
ok gilles@ | |||
2014-10-04 | some MUA will bypass the local enqueuer and send an empty BCC header in the | Gilles Chehade | |
DATA part of the SMTP transaction. force smtpd to strip these headers when it sees them. | |||
2014-10-04 | Use getlogin() to determine real user name where possible. | Todd C. Miller | |
OK guenther@ deraadt@ | |||
2014-10-02 | when no domain is specified in MAIL FROM or RCPT TO, assume local user | Gilles Chehade | |
2014-10-02 | no need to set the same field NULL twice ;-) | Gilles Chehade | |
ok reyk@ | |||
2014-10-02 | avoid a double free | Theo de Raadt | |
ok gilles | |||
2014-09-29 | lightly document mailq; ok gilles | Jason McIntyre | |
2014-09-29 | during a small refactor, we broke table_passwd. | Gilles Chehade | |
lookup function rely on a parsing function to have a struct passwd members point to the appropriate position in a buffer... but instead of passing the buffer, the parsing function uses its own internal buffer which will no longer be valid upon return. turns out to work by luck in my tests, not so much when Daniel Adolfsson tried to use it. spotted by Daniel Adolfsson <daniel@priv.nu> | |||
2014-09-16 | there is no editmap; | Jason McIntyre | |
2014-09-15 | install sendmail.8 from smtpd now that sendmail is gone. | Matthieu Herrb | |
2014-09-03 | if crypt(3) fails return an authentication error | Giovanni Bechis | |
ok gilles@ | |||
2014-09-01 | Close fd if fdopen fails | Doug Hogan | |
ok gilles@ | |||
2014-08-25 | Delete secret or secret-derived data with explicit_bzero. | Doug Hogan | |
concept ok deraadt@ diff looks ok tedu@ | |||
2014-08-11 | missing memset in table_api.c (currently only used by pluggable tables) | Gilles Chehade | |
diff from Martijn van Duren | |||
2014-07-28 | Last (known) msgbuf_write() vs EOF fix. | Kenneth R Westerback | |
ok gilles@ deraadt@ | |||
2014-07-20 | Make sure the correct errno is reported by warn* or err* and not | Philip Guenther | |
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) | |||
2014-07-11 | we wont ship this table in base anymore | Gilles Chehade | |
2014-07-11 | a failed socket is -1. from Doug Hogan | Ted Unangst | |
2014-07-10 | add additional includes required to build with -DOPENSSL_NO_DEPRECATED | Jonathan Gray | |
ok eric@ gilles@ | |||
2014-07-10 | make the control process broadcast verbose/profile admin requests directly, | Eric Faurot | |
rather than going through the parent process. simplify code in the meantime. | |||
2014-07-10 | Improve the scheduler, better and simpler. | Eric Faurot | |
- Get rid of the scheduler_batch structure. The scheduler can now return envelopes of different types in a single run, interlacing them to avoid batch effects. - Ask for an acknowledgement from the queue when removing or expiring an envelope to benefit from the inflight envelope limitation mechanism. This ensures that the scheduler always keeps sending envelopes at a rate that the queue can sustain in all cases. - Limit the number of envelopes in a holdq. When a holdq is full, new envelopes are put back in the pending queue instead, with a shorter retry time. - Plumbing for proc-ified schedulers. imsg version bump. smtpctl stop before updating. ok gilles@ | |||
2014-07-09 | add a "no-dsn" listener option to disable DSN extension. | Eric Faurot | |
2014-07-09 | config parser improvements: | Eric Faurot | |
- fail if the same option is specified multiple times on a listener - prompt for queue encryption key after config parsing, not during. - add ip addresses to localnames table - prepare for filters | |||
2014-07-09 | various fixes in experimental ldap backend and add support for mailaddr service. | Eric Faurot | |
2014-07-08 | update filter configuration parsing (not plugged yet) | Eric Faurot | |